pageauc / pi-timolo

Raspberry PI-TIMOLO ( PI-TImelapse, MOtion, LOwLight ) uses RPI picamera and OpenCV for Remote Headless Security Monitoring using Motion Tracking, Rclone Auto Sync files with remote storage services. Auto Twilight Transitions and Low Light Camera Settings. Panoramic images using PanTiltHat and More. This project is featured on GitHub Awesome software.
MIT License
552 stars 102 forks source link

numbering scheme for images/motion #40

Closed ozett closed 7 years ago

ozett commented 7 years ago

hi, as i look up the folder with the saved motion-video and image files daily (i am trying to use pi-timolo) as some kind of surveillance-cam), the files are numbered from 1000 upwards. at the moment i try this with directory browse (for some other reasons), and not with your webserver...

on my small mobile display i see the file-name and get no clue at wich time the video/image was shot.

do you think it could be an option to have a choice of single-counting the images/video upwards or get a counting-number in the scheme of YEARMONTHDAYTIME (201701110525). or maybe even more human readable like 2017-01-11-0525 ❔

screenshot_20170110-124949

what do you think? :thought_balloon:

pageauc commented 7 years ago

Change pi-timolo config.py variable motionNumOn=False. This will output files with a date time stamp. that way you can see creation date of videos. Also I have added video join to convid.sh Type convid.sh with not parameters to see help. I don't have the wiki updated yet. makevideo.sh also has a minor update You can update these

wget -O convid.sh https://raw.github.com/pageauc/pi-timolo/master/source/convid.sh wget -O makevideo.sh https://raw.github.com/pageauc/pi-timolo/master/source/makevideo.sh

Doing a convid.sh join will slow a quadcore RPI but I can still run pi-timolo.py and the h264 video conversion can happen in parallel but just a little slower.

Let me know you comments Claude ...

pageauc commented 7 years ago

I have added start DateTime text annotation on the video recording. Use the image config.py settings for text to turn on and control text size. Default colors are black text on white background

Use these settings for the text annotation on the video recordings.

showDateOnImage = True     # Set to False for No display of date/time on image default= True
showTextFontSize = 18      # Size of image Font in pixel height

To download update you can rerun install or do a wget from the console cd ~/pi-timolo wget -O pi-timolo.py https://raw.github.com/pageauc/pi-timolo/master/source/pi-timolo.py

Stop and restart pi-timolo to have the changes take effect