Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera takes time after changing setting/config before stable picture #21

Open
brigei opened this issue May 21, 2023 · 1 comment
Open

Comments

@brigei
Copy link

brigei commented May 21, 2023

Hi,

i'm currently working on an similar projekt. There i have the problem, that after a change of settings/config from for example grayscale to jpg (but the other way around as well), the camera takes up to a few seconds before i gets a stable picture/frame. Before that the picture changes because of adjusting the white balance etc. I kind of fixed the problem with waiting a few moments before taking the picture but thats not what i want. Of course i wanne be fast with the motion detetction. In particular i wanna be fast with changing config/settings because after detection a motion i wanna take a picture and instantly change back to motion detection and so on. There (motion detection) i have the same problem. The camera takes a few seconds before the picture gets stable enough again for motion detection. I wonder if you evade the problem with averaging the pixel in your boxes, but i hardly believe that because the first few frames after changing settings look aweful at my esp.

Didn't you have similar issues? In your code i didn't find a significant "delay" after changing config/settings.

Thanks in advance.
Manuel

@alanesq
Copy link
Owner

alanesq commented Oct 13, 2023

The problem is that the only way I have found to switch modes is to basically completely restart the camera which, the documentation claims you can just switch modes but I have never managed to get this to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants