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

How do I manually trigger the camera? #160

Closed a113speederbot closed 5 months ago

a113speederbot commented 5 months ago

This is just a fantastic piece of work! Thank you so much to @pageauc for putting this awesome program together.

I know this is probably a very basic question but I can't find an answer to it: how do I trigger the camera manually, please?

Thanks!

pageauc commented 5 months ago

There is a setting to align the camera. Not really manual like pressing a button but allows taking images at a selected frequency without motion tracking. Image can be found in recent and is updated every specified seconds so use webserver refresh button to update image. Default is False (Off) so you will need to edit config.py to enable.

    ALIGN_CAM_ON = True      # Default=False  True Saves alignment image to help with camera pointing
    ALIGN_DELAY_SEC = 3       # Default=3 seconds delay between each alignment image in recent folder

Claude ...

a113speederbot commented 5 months ago

There is a setting to align the camera. Not really manual like pressing a button but allows taking images at a selected frequency without motion tracking. Image can be found in recent and is updated every specified seconds so use webserver refresh button to update image. Default is False (Off) so you will need to edit config.py to enable.

    ALIGN_CAM_ON = True      # Default=False  True Saves alignment image to help with camera pointing
    ALIGN_DELAY_SEC = 3       # Default=3 seconds delay between each alignment image in recent folder

Claude ...

Excellent, many thanks, Claude. One more thing (I hope), when changing settings in config.py, how do make them take effect? Stopping and starting speed_cam.py doesn't seem to do the trick. Should I be doing something else?

Thank you.

EDIT: Hang on, I think it's working now.

pageauc commented 5 months ago

yes stop and restart speed-cam.py. config.py settings updates will be used

On Sat, Feb 24, 2024 at 8:56 AM a113speederbot @.***> wrote:

There is a setting to align the camera. Not really manual like pressing a button but allows taking images at a selected frequency without motion tracking. Image can be found in recent and is updated every specified seconds so use webserver refresh button to update image. Default is False (Off) so you will need to edit config.py to enable.

ALIGN_CAM_ON = True      # Default=False  True Saves alignment image to help with camera pointing
ALIGN_DELAY_SEC = 3       # Default=3 seconds delay between each alignment image in recent folder

Claude ...

Excellent, many thanks, Claude. One more thing (I hope), when changing settings in config.py, how do make them take effect? Stopping and starting speed_cam.py doesn't seem to do the trick. Should I be doing something else?

Thank you.

— Reply to this email directly, view it on GitHub https://github.com/pageauc/speed-camera/issues/160#issuecomment-1962394030, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNPKZG7S5MT6VMUCIFAYJTYVH5RPAVCNFSM6AAAAABDX5LJN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRSGM4TIMBTGA . You are receiving this because you were mentioned.Message ID: @.***>

-- YouTube Channel at https://www.youtube.com/user/pageaucp http://www.youtube.com/user/pageaucp GitHub Repository at https://github.com/pageauc

a113speederbot commented 5 months ago

Thank you, Claude - good to have that verified. Thank you for helping and being so friendly to somebody who's new at this. Probably I'll bother you some more but we can close this one. All the best to you - this is awesome!