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

Release 4.70 with improved takeNightImage with better low light. Should resolve most greenish image problems #58

Closed pageauc closed 7 years ago

pageauc commented 7 years ago

This version must have the revised config.py file. pi-timolo.py release 4.50 has improved night low light and should resolve most green images issues. I have done testing with an indoors and outside facing camera. There is still room for tuning. There are lighting bumps between day and night transitions. I thought I would release this version so others can work with it and let me know any issues.
minimal upgrade is (from logged in ssh or terminal session)

cd ~/pi-timolo
cp config.py config.py.old
wget -O config.py https://raw.github.com/pageauc/pi-timolo/master/source/config.py
wget -O pi-timolo.py https://raw.github.com/pageauc/pi-timolo/master/source/pi-timolo.py

It is recommended that you have the latest raspbian firmware. Older firmware may work but I have not tested this. I have only tested on up-to-date raspbian and firmware.

sudo rpi-update

Let me know how this update is working for you.

Thanks for your support Claude ....

1kane commented 7 years ago

Hay, i am interessted in taking night-day day-night timelapse with the PI and im still looking for a working programm that can capture the transition. can you upload a example video of ur twilight captures? or can u tell how nice/or not it is working?

pageauc commented 7 years ago

pi-timolo release 4.5 Twilight transitions are a little bumpy due to recent changes to I believe pi-camera firmware and/or pi-camera python library. After an update pi-timolo started to experience low light greenish or badly colored night shots. After a lot of testing and trying different things I believe night images are better but the algorithm and settings need to be tweaked more to avoid over dark or light images during twilight transitions. I am working on this when there is time. At any rate it is not working as well as it used to before the update but is better than it was. I have some YouTube videos that were taken before the problem arose.

https://youtu.be/pFkt0ZOrPzg

https://youtu.be/x06MUtLAhcU

See my post on release 4.60 that has much improved day/night transitions.

Claude ...

On Thu, Apr 27, 2017 at 7:18 AM, 1kane notifications@github.com wrote:

Hay, i am interessted in taking night-day day-night timelapse with the PI and im still looking for a working programm that can capture the transition. can you upload a example video of ur twilight captures? or can u tell how nice/or not it is working?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pageauc/pi-timolo/issues/58#issuecomment-297685765, or mute the thread https://github.com/notifications/unsubscribe-auth/AFr1ZM_NxKE9Zd4zlvAPHTjDXegZ5Fwkks5r0Hl4gaJpZM4NDv6t .

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

pageauc commented 7 years ago

Release 4.70 pi-timolo.py and config.py (updated takeNightImage)

I have updated pi-timolo.py and config.py to release 4.70. The takeNightImage function has been modified with better low light logic. There may still be a bit of a light bump mostly at the nightDarkThreshold transition. This may need tuning.

There are now several config.py light thresholds triggered on the dayPixAverage.

I have tested this indoors and outdoors. I have not experienced greenish images although you will get very dark or very white images if you change lighting quickly when a long exposure is in progress. This is normal and to be expected. The next image should be OK if lighting level is stable with no sudden changes during long exposure.
Minimal upgrade from logged in ssh or terminal session

cd ~/pi-timolo
cp config.py config.py.old
wget -O config.py https://raw.github.com/pageauc/pi-timolo/master/source/config.py
wget -O pi-timolo.py https://raw.github.com/pageauc/pi-timolo/master/source/pi-timolo.py

Please let me know how this is working for you. good or bad Thanks Claude ....