Playing with C++ OpenCV
Aim: Find squares in an image
To compile and run
> cmake .
> make
> ./squares
Sample input and output images in /imgs Β Β Β
Β Β Β
References - To improve results
- http://stackoverflow.com/questions/8667818/opencv-c-obj-c-detecting-a-sheet-of-paper-square-detection
- http://stackoverflow.com/questions/10533233/opencv-c-obj-c-advanced-square-detection
- http://stackoverflow.com/questions/14221591/detection-square-opencv-and-c
- http://stackoverflow.com/questions/7755647/opencv-extract-area-of-an-image-from-a-vector-of-squares/7756000#7756000
- http://stackoverflow.com/questions/13523837/find-corner-of-papers/13532779#13532779
- Automatic perspective correction for quadrilateral objects - Code on github
- Detecting simple shapes in an image - Code on github