Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to Extract track information with OpenCV?

image description image description Hi,I just need your help. We're preparing for Robocon 2016. according to the rules,our automatic robot need to move down the white line(It is about 3cm in width) We have thresholded the image. Next ,I want to extract the "middle line" to control our robot. So,How to extract it? Some people scan image row by row,find the left edge and right edge.add and divide them by 2. However,It isn't wise when the line is horizontal. How should I do ?Is there some good functions to extract "middle line" and save it in array or other container?