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
960 stars 169 forks source link

Capture video #169

Open SamDecrock opened 4 months ago

SamDecrock commented 4 months ago

Is it possible to capture video at the same time?

The reason is that I want to review the speed measurements afterwards.

The only solution I can come up for this, is to turn my pi camera into a streaming camera, exposing it as an rtsp camera so I can both use it in speed-camera aswel as record it.

aafuni commented 4 months ago

I would also be interested if this is possible, to save the frames during the detection.

UnderpantsGnome commented 4 months ago

I think you should be able to do this by populating the userMotionCode method, I have not tried this, but I was looking for a way to push data to an external API, but as the comment in there states Note all functions and variables will be imported., I wasn't able to access any of the values being written to the DB or CSV.