speed-camera icon indicating copy to clipboard operation
speed-camera copied to clipboard

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

Open spinko101 opened this issue 1 year ago • 1 comments

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 avatar May 28 '24 07:05 spinko101


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

spinko101 avatar May 28 '24 07:05 spinko101

I suggest you start with a fresh install of speed camera. You can rename your current speed-camera version per stop speed cam and webserver

cd ~
mv speed-camera speed-camera-prev

Install latest version from github curl command. Follow instructions at end of install script.

The new speed-camera runs under a new method of running supervisorctl. menubox.sh also runs under speed-cam.sh and speed-web.sh Claude ...

Claude

pageauc avatar Mar 02 '25 20:03 pageauc