Closed pageauc closed 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?
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.
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
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.
nightTwilightThreshold= 80 Transition between day mode and twilight using framerate_range
nightDarkThreshold= 43 Transition between twilight and dark. Uses variable shutter exposure times
nightBlackThreshold= 3 Transition to very low light and uses maximum low light settings.
nightDarkAdjustRatio= 3 is a setting to adjust the light level for the variable cam sutter speed between nightDarkThreshold and nightBlackThreshold settings.
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 ....
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)
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.
Let me know how this update is working for you.
Thanks for your support Claude ....