I have an image of a sticky note on a background (say a wall, or a laptop) and I want to detect the edges of the sticky note (rough detection also works fine) so that i can run a crop on it. I plan on using ImageMagick for the actual cropping, but am stuck on detecting the edges. Ideally, my output should give me 4 coordinates for the 4 border points so I can run my crop on it. How should I proceed with this? Continue reading...