jgaard
Posts: 9
Joined: Tue Jun 10, 2014 4:48 am

Looping camera for dashcam

Sat Nov 24, 2018 8:28 pm

Hi.

I have an idea to a home made dashcam, but I need some help.
I have a PI 3 that I want to use for it.
I can connect and use a IP cam or a USB cam.

The camera stream should loop in memory, i'm thinking 90 seconds (maybe using: PiCameraCircularIO)
A connected button should, when pressed, save the past 90 seconds and the future 300 seconds.

Can any one help me how I make this work, and start up with the PI.

Kind regards J;-)

gordon77
Posts: 3736
Joined: Sun Aug 05, 2012 3:12 pm

Re: Looping camera for dashcam

Sat Nov 24, 2018 8:39 pm

You could experiment with the code here...

viewtopic.php?t=225862
Or
viewtopic.php?t=226481

DirkS
Posts: 9732
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Looping camera for dashcam

Sat Nov 24, 2018 9:24 pm

gordon77 wrote:
Sat Nov 24, 2018 8:39 pm
viewtopic.php?t=225862
Or
viewtopic.php?t=226481
No links. Try again...


alextovey
Posts: 25
Joined: Wed Oct 17, 2018 8:43 am

Re: Looping camera for dashcam

Thu Jan 10, 2019 9:55 am

Try my github :) it works and uses the Pi camera but you can edit the script and add usb cameras if needed.

gordon77
Posts: 3736
Joined: Sun Aug 05, 2012 3:12 pm

Re: Looping camera for dashcam

Thu Jan 10, 2019 3:43 pm

alextovey wrote:
Thu Jan 10, 2019 9:55 am
Try my github :) it works and uses the Pi camera but you can edit the script and add usb cameras if needed.

A link to it might be useful :D

HermannSW
Posts: 1017
Joined: Fri Jul 22, 2016 9:09 pm

Re: Looping camera for dashcam

Fri Jan 11, 2019 1:02 am

Github has search function:
https://github.com/alextovey
bookmark list: https://stamm-wilbrandt.de/en/Raspberry_camera.html

https://github.com/Hermann-SW/fork-raspiraw      https://github.com/Hermann-SW/userland
https://github.com/Hermann-SW/wireless-control-Eachine-E52-drone      https://twitter.com/HermannSW

Return to “Camera board”