Python OpenCV
Captures an area of the desktop and motion detects it.
detects cars as the drive by. displays speed.
Calculate the time the object was on the screen and divide by feet
something like Speed = Distance / Time
-
pip install cv2 numpy mss Pillow keyboard time
-
set the distance of your street
(basically the amount of street visible in your camera)
-
set the capture area
-
use getpng to generate a comparison image
-
then once running you can hit f1 to set the comparison image