Ask Your Question

Revision history [back]

how to draw a detection line

hi to all , im from spain and im working on my final project in the university. im tryng to code a people detector or car detector. i have coded and i have things working in python using rpi3 and picam , i ve been searching at google but i dont know how to draw a line in the image ( region of interest ) and when the object of interest cross the line it detect and counts. i know how to draw a line but its not useless for this case i think.

so i dont know what cv2. or what instruction i have to use.

thank you!

click to hide/show revision 2
retagged

updated 2016-05-25 13:10:07 -0500

berak gravatar image

how to draw a detection line

hi to all , im from spain and im working on my final project in the university. im tryng to code a people detector or car detector. i have coded and i have things working in python using rpi3 and picam , i ve been searching at google but i dont know how to draw a line in the image ( region of interest ) and when the object of interest cross the line it detect and counts. i know how to draw a line but its not useless for this case i think.

so i dont know what cv2. or what instruction i have to use.

thank you!