Improve focus preview and camera gain control#501
Conversation
|
@hjoungjoo Thank you again for a great bit of code here! We've changed a few things about the preview display, but I like the idea of checking for especially bright frames and displaying the raw image instead. Would you be able to put up a new PR based on the existing preview.py module, or would you mind if I re-implemented your idea? Regarding the gain control, is there some situation where it would be expected that the user should adjust this? The general project philosophy is that less-settings, and more sane defaults, provides a better UX. Is there specific value for the user in having the gain be adjustable? |
I’m currently focusing on other areas, so it’s perfectly fine if you reimplement this part. The reason I added gain control is that in bright environments or during the daytime, shutter speed alone is not enough. To adjust focus properly in bright conditions, gain adjustment is necessary. After setting it, it should be returned to the default value again at night. Also, since the Moon is very bright, gain adjustment can be helpful in that case as well. |
Summary
This draft PR is a focused split from my Raspberry Pi 4/CM5 compatibility branch.
It contains only camera focus/gain behavior:
Out of scope for this PR:
Tested