More Opencv

Canny finds edges. Edges are basically places of very large derivative in the image. Then the canny algorithm cleans it up a little.

FindContours seems to be a clutch dude

http://dsynflo.blogspot.com/2014/10/opencv-qr-code-detection-and-extraction.html

This guy uses it to

The dilation reduces the number of contours to something more reasonable

Each contour is of the format [[[x y]], [[x y]], [[x y]]]

I had a problem with draw contours until I found out I needed to write onto a color image with it.

 

The good features to track

The 25 is number of corners, 0.01 is a quality cutoff (1% of best corner quality found), 10 is minimum distance between corners

 

Leave a Reply

Your email address will not be published. Required fields are marked *