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
548 stars 101 forks source link

Update to Picamera2 for Raspbian Bullseye? #126

Open thjkral opened 2 years ago

thjkral commented 2 years ago

Do you plan to update the library for users that use the new Bullseye OS? Unfortunately, the integration of the camera with Python was not part of the release and makes a lot of projects incompatible. When Picamera2 is released, will there be a version of PI-TIMOLO that uses this new library?

Switching back to the previous Buster version of Raspbian is not a long term solution for me and the other modules I run on my RasPi, I'm afraid.

pageauc commented 2 years ago

Waiting for the full release of PiCamera2 that is not syntactically compatible with the original PiCamera python library. Will need a rewrite of camera portions of Pi-Timolo. I have discussed issues with PiCamera2 developers and was not pleased about using a whole new syntax so not sure if I will create a new version or integrate with existing. Still on the fence at this time. Claude ...

On Tue, Mar 15, 2022 at 7:17 AM Tom Kral @.***> wrote:

Do you plan to update the library for users that use the new Bullseye OS? Unfortunately, the integration of the camera with Python was not part of the release and makes a lot of projects incompatible. When Picamera2 is released, will there be a version of PI-TIMOLO that uses this new library?

Switching back to the previous Buster version of Raspbian is not a long term solution for me and the other modules I run on my RasPi, I'm afraid.

— Reply to this email directly, view it on GitHub https://github.com/pageauc/pi-timolo/issues/126, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNPKZFW37XJS2HJ2RMRWW3VAB5VHANCNFSM5QYPWCYQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

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

thjkral commented 2 years ago

Thank you for the quick response. So Pi-Timolo will be available, in some shape or form, for the new OS in the future?

pageauc commented 2 years ago

Yes Picamera2 python lib is not released for production yet. Just review so far

On Thu, Mar 17, 2022, 10:34 AM Tom Kral @.***> wrote:

Thank you for the quick response. So Pi-Timolo will be available, in some shape or form, for the new OS in the future?

— Reply to this email directly, view it on GitHub https://github.com/pageauc/pi-timolo/issues/126#issuecomment-1070987429, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNPKZADFNI77EVFXUISNNLVANGJ5ANCNFSM5QYPWCYQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

PeterIP4 commented 1 year ago

Hi. First I’d like to say what a wonderful idea. I am trying to get this up and running but have had little success. It seems as if it Doesn’t yet work with later Raspian release, is that correct and if so which is the version I should use? Regards Peter

pageauc commented 1 year ago

It will run under Bullseye and anything earlier. Not 64bit.. Just enable Legacy picamera setting using sudo raspi-config under interfaces or if on desktop select the menu pick for configuration settings.

Let me know how it goes. Claude ...

On Fri, Nov 25, 2022 at 5:50 AM PeterIP4 @.***> wrote:

Hi. First I’d like to say what a wonderful idea. I am trying to get this up and running but have had little success. It seems as if it Doesn’t yet work with later Raspian release, is that correct and if so which is the version I should use? Regards Peter

— Reply to this email directly, view it on GitHub https://github.com/pageauc/pi-timolo/issues/126#issuecomment-1327380696, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABNPKZFSVRRI4B23Y6HCGGLWKCRXZANCNFSM5QYPWCYQ . You are receiving this because you commented.Message ID: @.***>

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

PeterIP4 commented 1 year ago

Hi.

Some progress has been made by building from scratch with new copy of Bullseye and the test works.

I still have a lot to do to work out how it all works and to decide if I need py3exif2 and plug ins but it’s looking good.

Thanks for your help.

Regards Peter

On Fri, 25 Nov 2022 at 19:58, Claude Pageau @.***> wrote:

It will run under Bullseye and anything earlier. Not 64bit.. Just enable Legacy picamera setting using sudo raspi-config under interfaces or if on desktop select the menu pick for configuration settings.

Let me know how it goes. Claude ...

On Fri, Nov 25, 2022 at 5:50 AM PeterIP4 @.***> wrote:

Hi. First I’d like to say what a wonderful idea. I am trying to get this up and running but have had little success. It seems as if it Doesn’t yet work with later Raspian release, is that correct and if so which is the version I should use? Regards Peter

— Reply to this email directly, view it on GitHub <https://github.com/pageauc/pi-timolo/issues/126#issuecomment-1327380696 , or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABNPKZFSVRRI4B23Y6HCGGLWKCRXZANCNFSM5QYPWCYQ

. You are receiving this because you commented.Message ID: @.***>

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

— Reply to this email directly, view it on GitHub https://github.com/pageauc/pi-timolo/issues/126#issuecomment-1327844120, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2P2JP5PXCYUCWJBGQOWAWTWKEK7DANCNFSM5QYPWCYQ . You are receiving this because you commented.Message ID: @.***>

pageauc commented 1 year ago

I started working on a test motion tracking program that uses picamera2 threaded streaming. Works OK. My sample code auto detects picamera and picamera2 configs as well as being able to access webcam and RTSP streams. Everything works on this sample code. Have not posted to Github. This was mostly for updating speed camera but Timolo uses motion tracking as well. I do plan at some time to rewrite new version for picamera2. The existing one will be OK for backward compatibility. exif routine is used to save and restore exif metadata that is lost when adding text to images.

Just to be clear are you just running existing timolo in Bullseye using the raspi-config, Interfaces menu pick that enables Legacy PiCamera.? or coding something. Claude ...