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

Datestamp on Timelapse images missing if motion set to video #104

Closed koila91 closed 5 years ago

koila91 commented 5 years ago

Hi, Thanks for the great software.

I noticed that the timestamps on the timelapse images disappeared after I switched the motion to video.

The following combination works as expected, each image gets "stamped" with date/time : showDateOnImage = True motionVideoOn = False

But the following combination removes the datestamp from timelapse images: showDateOnImage = True motionVideoOn = True --> the date is shown on motion video but not in timelapse images

pageauc commented 5 years ago

Thanks.

I will look at the logic, See why this is happening, Fix and release update

Will let you know Claude ...

On Fri, Jul 19, 2019 at 3:54 PM koila91 notifications@github.com wrote:

Hi, Thanks for the great sogtware.

I noticed that the timestamps on the timelapse images disappeared after I switched the motion to video.

The following combination works as expected, each image gets "stamped" with date/time : showDateOnImage = True motionVideoOn = False

But the following combination removes the datestamp from timelapse images: showDateOnImage = True motionVideoOn = True --> the date is shown on motion video but not in timelapse images

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pageauc/pi-timolo/issues/104?email_source=notifications&email_token=ABNPKZEPKVNVZ6GCQQXRXE3QAILXXA5CNFSM4IFLLNIKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HALO46Q, or mute the thread https://github.com/notifications/unsubscribe-auth/ABNPKZERMXOCQ6XDV6OQMD3QAILXXANCNFSM4IFLLNIA .

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp

pageauc commented 5 years ago

I have updated pi-timolo.py to Release 13.1 that should fix date on image issue. I have tested and seems OK but would appreciate your testing results

To update run menubox.sh UPGRADE menu pick. Your existing config.py will not be changed.

Your feedback is greatly appreciated. Claude ...

On Fri, Jul 19, 2019 at 4:06 PM Claude Pageau pageauc@gmail.com wrote:

Thanks.

I will look at the logic, See why this is happening, Fix and release update

Will let you know Claude ...

On Fri, Jul 19, 2019 at 3:54 PM koila91 notifications@github.com wrote:

Hi, Thanks for the great sogtware.

I noticed that the timestamps on the timelapse images disappeared after I switched the motion to video.

The following combination works as expected, each image gets "stamped" with date/time : showDateOnImage = True motionVideoOn = False

But the following combination removes the datestamp from timelapse images: showDateOnImage = True motionVideoOn = True --> the date is shown on motion video but not in timelapse images

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pageauc/pi-timolo/issues/104?email_source=notifications&email_token=ABNPKZEPKVNVZ6GCQQXRXE3QAILXXA5CNFSM4IFLLNIKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HALO46Q, or mute the thread https://github.com/notifications/unsubscribe-auth/ABNPKZERMXOCQ6XDV6OQMD3QAILXXANCNFSM4IFLLNIA .

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp

pageauc commented 5 years ago

Still not working. Will let you know when I figure it out

On Fri, Jul 19, 2019 at 6:53 PM Claude Pageau pageauc@gmail.com wrote:

I have updated pi-timolo.py to Release 13.1 that should fix date on image issue. I have tested and seems OK but would appreciate your testing results

To update run menubox.sh UPGRADE menu pick. Your existing config.py will not be changed.

Your feedback is greatly appreciated. Claude ...

On Fri, Jul 19, 2019 at 4:06 PM Claude Pageau pageauc@gmail.com wrote:

Thanks.

I will look at the logic, See why this is happening, Fix and release update

Will let you know Claude ...

On Fri, Jul 19, 2019 at 3:54 PM koila91 notifications@github.com wrote:

Hi, Thanks for the great sogtware.

I noticed that the timestamps on the timelapse images disappeared after I switched the motion to video.

The following combination works as expected, each image gets "stamped" with date/time : showDateOnImage = True motionVideoOn = False

But the following combination removes the datestamp from timelapse images: showDateOnImage = True motionVideoOn = True --> the date is shown on motion video but not in timelapse images

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pageauc/pi-timolo/issues/104?email_source=notifications&email_token=ABNPKZEPKVNVZ6GCQQXRXE3QAILXXA5CNFSM4IFLLNIKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HALO46Q, or mute the thread https://github.com/notifications/unsubscribe-auth/ABNPKZERMXOCQ6XDV6OQMD3QAILXXANCNFSM4IFLLNIA .

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp

pageauc commented 5 years ago

OK Release 11.32 seems to be working. I had to add try: except when writing data on images and the file was a video file Originally this is why I excluded writing data on images if motion video was on since post processing could also try to write data onto a video file and would fail Now I just trap the error and pass. That way timelapse and motion video will work correctly together.

Anyway give this version a try and let me know if you have any problems Claude ....

On Fri, Jul 19, 2019 at 7:19 PM Claude Pageau pageauc@gmail.com wrote:

Still not working. Will let you know when I figure it out

On Fri, Jul 19, 2019 at 6:53 PM Claude Pageau pageauc@gmail.com wrote:

I have updated pi-timolo.py to Release 13.1 that should fix date on image issue. I have tested and seems OK but would appreciate your testing results

To update run menubox.sh UPGRADE menu pick. Your existing config.py will not be changed.

Your feedback is greatly appreciated. Claude ...

On Fri, Jul 19, 2019 at 4:06 PM Claude Pageau pageauc@gmail.com wrote:

Thanks.

I will look at the logic, See why this is happening, Fix and release update

Will let you know Claude ...

On Fri, Jul 19, 2019 at 3:54 PM koila91 notifications@github.com wrote:

Hi, Thanks for the great sogtware.

I noticed that the timestamps on the timelapse images disappeared after I switched the motion to video.

The following combination works as expected, each image gets "stamped" with date/time : showDateOnImage = True motionVideoOn = False

But the following combination removes the datestamp from timelapse images: showDateOnImage = True motionVideoOn = True --> the date is shown on motion video but not in timelapse images

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pageauc/pi-timolo/issues/104?email_source=notifications&email_token=ABNPKZEPKVNVZ6GCQQXRXE3QAILXXA5CNFSM4IFLLNIKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HALO46Q, or mute the thread https://github.com/notifications/unsubscribe-auth/ABNPKZERMXOCQ6XDV6OQMD3QAILXXANCNFSM4IFLLNIA .

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp

koila91 commented 5 years ago

Hi, thanks for the update - now it seems to work properly.

Now the timelapse video I make daily has the timestamps on each frame.

Thanks!

pageauc commented 5 years ago

Did review of code and improved logging messages for config.py variable checks. Also added save recent to motionTrackQuickPic Have not found any problems with update changes. Regards Claude ...

On Fri, Jul 19, 2019 at 8:05 PM Claude Pageau pageauc@gmail.com wrote:

OK Release 11.32 seems to be working. I had to add try: except when writing data on images and the file was a video file Originally this is why I excluded writing data on images if motion video was on since post processing could also try to write data onto a video file and would fail Now I just trap the error and pass. That way timelapse and motion video will work correctly together.

Anyway give this version a try and let me know if you have any problems Claude ....

On Fri, Jul 19, 2019 at 7:19 PM Claude Pageau pageauc@gmail.com wrote:

Still not working. Will let you know when I figure it out

On Fri, Jul 19, 2019 at 6:53 PM Claude Pageau pageauc@gmail.com wrote:

I have updated pi-timolo.py to Release 13.1 that should fix date on image issue. I have tested and seems OK but would appreciate your testing results

To update run menubox.sh UPGRADE menu pick. Your existing config.py will not be changed.

Your feedback is greatly appreciated. Claude ...

On Fri, Jul 19, 2019 at 4:06 PM Claude Pageau pageauc@gmail.com wrote:

Thanks.

I will look at the logic, See why this is happening, Fix and release update

Will let you know Claude ...

On Fri, Jul 19, 2019 at 3:54 PM koila91 notifications@github.com wrote:

Hi, Thanks for the great sogtware.

I noticed that the timestamps on the timelapse images disappeared after I switched the motion to video.

The following combination works as expected, each image gets "stamped" with date/time : showDateOnImage = True motionVideoOn = False

But the following combination removes the datestamp from timelapse images: showDateOnImage = True motionVideoOn = True --> the date is shown on motion video but not in timelapse images

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pageauc/pi-timolo/issues/104?email_source=notifications&email_token=ABNPKZEPKVNVZ6GCQQXRXE3QAILXXA5CNFSM4IFLLNIKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HALO46Q, or mute the thread https://github.com/notifications/unsubscribe-auth/ABNPKZERMXOCQ6XDV6OQMD3QAILXXANCNFSM4IFLLNIA .

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp

pageauc commented 5 years ago

Current version is 11.4

On Sat, Jul 20, 2019 at 10:42 AM Claude Pageau pageauc@gmail.com wrote:

Did review of code and improved logging messages for config.py variable checks. Also added save recent to motionTrackQuickPic Have not found any problems with update changes. Regards Claude ...

On Fri, Jul 19, 2019 at 8:05 PM Claude Pageau pageauc@gmail.com wrote:

OK Release 11.32 seems to be working. I had to add try: except when writing data on images and the file was a video file Originally this is why I excluded writing data on images if motion video was on since post processing could also try to write data onto a video file and would fail Now I just trap the error and pass. That way timelapse and motion video will work correctly together.

Anyway give this version a try and let me know if you have any problems Claude ....

On Fri, Jul 19, 2019 at 7:19 PM Claude Pageau pageauc@gmail.com wrote:

Still not working. Will let you know when I figure it out

On Fri, Jul 19, 2019 at 6:53 PM Claude Pageau pageauc@gmail.com wrote:

I have updated pi-timolo.py to Release 13.1 that should fix date on image issue. I have tested and seems OK but would appreciate your testing results

To update run menubox.sh UPGRADE menu pick. Your existing config.py will not be changed.

Your feedback is greatly appreciated. Claude ...

On Fri, Jul 19, 2019 at 4:06 PM Claude Pageau pageauc@gmail.com wrote:

Thanks.

I will look at the logic, See why this is happening, Fix and release update

Will let you know Claude ...

On Fri, Jul 19, 2019 at 3:54 PM koila91 notifications@github.com wrote:

Hi, Thanks for the great sogtware.

I noticed that the timestamps on the timelapse images disappeared after I switched the motion to video.

The following combination works as expected, each image gets "stamped" with date/time : showDateOnImage = True motionVideoOn = False

But the following combination removes the datestamp from timelapse images: showDateOnImage = True motionVideoOn = True --> the date is shown on motion video but not in timelapse images

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pageauc/pi-timolo/issues/104?email_source=notifications&email_token=ABNPKZEPKVNVZ6GCQQXRXE3QAILXXA5CNFSM4IFLLNIKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HALO46Q, or mute the thread https://github.com/notifications/unsubscribe-auth/ABNPKZERMXOCQ6XDV6OQMD3QAILXXANCNFSM4IFLLNIA .

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp

-- See my YouTube Channel at http://www.youtube.com/user/pageaucp