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
976 stars 171 forks source link

RPI 5, Bookworm - speed_cam.py process starts, then stops #173

Open spinko101 opened 4 months ago

spinko101 commented 4 months ago

Hi,

I'm trying to get speed-camera to work on a RPI with Bookworm on a RPI 5. I'm using an rtsp ip camera and all is setup in the config.py file. When using ./menubox.sh the speed-cam.py process starts for a couple of seconds and then stops.

Any guidance greatly appreciated.

spinko101 commented 4 months ago

speed-cam.py 13.2 written by Claude Pageau Motion Track Largest Moving Object and Calculate Speed per Calibration.

2024-05-28 08:29:21 INFO strmcam Imported Required Camera Stream Settings from config.py 2024-05-28 08:29:21 INFO is_pi_legacy_cam Check for Legacy Pi Camera Module with command - vcgencmd get_camera 2024-05-28 08:29:21 WARNING is_pi_legacy_cam Command 'vcgencmd get_camera' returned non-zero exit status 255. 2024-05-28 08:29:21 ERROR create_cam_thread import Failed. from strmpilibcam import PiLibCamStream

pi@raspberrypi:~/speed-camera $ ./run.sh start ./run.sh ver 2.0 written by Claude Pageau Control speed-cam.py webserver.py

sudo supervisorctl start speed-cam speed-web No config updates to processes speed-cam: ERROR (no such process) speed-web: ERROR (no such process) Wait 10 seconds for supervisor services to start speed-cam.py webserver.py

To Access RUNNING speed-camera websever interface Type or copy/paste url link below into web browser url window. Normally near top of browser app.

Example: http://192.168.1.67:8080