pageauc / speed-camera

A Unix, Windows, Raspberry Pi Object Speed Camera using python, opencv, video streaming, motion tracking. Includes a Standalone Web Server Interface, Image Search using opencv template match and a whiptail Admin Menu Interface Includes picam and webcam Plugins for motion track security camera configuration including rclone sync script. watch-app allows remotely controller camera configuration from a remote storage service name. Uses sqlite3 and gnuplot for reporting. Recently added openalpr license plate reader support.
Apache License 2.0
983 stars 172 forks source link

Struggled to get this working #25

Closed james-powis closed 6 years ago

james-powis commented 6 years ago

On a raspberry pi 3 b+ 240p configuration with Pi Cam v2 placed 80' from edge of road with a 145x30 crop window, was having issues with cv2 exceeding x_diff_max=45 with speeds exceeding 30Mph.

After following this tutorial I am seeing substantially better performance: https://www.pyimagesearch.com/2017/10/09/optimizing-opencv-on-the-raspberry-pi/

BTW raspberry pi 0w really was a dog... Might want to mention it is a real non starter...

I still need to do some tuning but will provide more details once I get it fine tuned.