how to draw a detection line

asked 2016-05-25 12:58:40 -0500

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

berak gravatar image

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!

edit retag flag offensive close merge delete