-
Notifications
You must be signed in to change notification settings - Fork 665
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
LED intensity only used for reference image / always 100% for recognition and live stream #3338
Comments
@Slider0007 or @SybexX Does one of you know where the issue lies? |
@caco3 maybe at this point: The LEDIntensity is only set when starting the ESP (read config.ini / in ClassFlowTakeImage.cpp) and when you change it on the web UI (in MainFlowControl.cpp), so I suspect it's a timing problem. I think I read somewhere that with "LEDC_AUTO_CLK" the stability of the PWM-frequency is not guaranteed and problems may arise. |
LED intensity is controlled by adapting the duty cycle and not clock config. The clock source was not changed at all the last versions and is the same in 15.7 and 16.0. I assume it's related to the recent cam config changes --> @SybexX
This sentence from @TheChatty I do not understand at all... |
In versions up to 15.7 changing the intensity had no effect. In version 16.0.0-RC4 changing the intensity has an effect during reference image creation only. |
I went back to /edit_reference.html and lowered LED intensity even more to 5%, saved settings and new reference image. And now it is working as expected. New images look "exactly" like the reference image. Recognition is working. When I now try to create a new reference image at 20% intensity... it is again much to bright. So it looks like my 3-days-old image was taken at a lower intensity but in settings I saved it to 20%? I guess we can only close this issue. |
@TheChatty In version 15.7.0 CamGainceiling was set to x4, since many complained about the image being too dark, in version 16.0.0 it was increased to x8 (the higher CamGainceiling is set, the brighter the image becomes). |
@TheChatty Does this resolve your issue? Can this issue be closed? |
16.0.0-RC4 is working smooth right now. Thank you. |
The Problem
In 15.7.0 (and below) LED intensity had no effect.
In 16.0.0-RC4 it has the desired effect for taking the reference image. At 20% it looks perfect. At 100% you can hardly recognize anything. After reboot all images for recognizing the reading are taken at 100%. Also live stream is using 100% which is way to much.
Version
16.0.0-RC4
Logfile
Expected Behavior
Use configured LED intensity in all places (= reference / recognition / live stream).
Screenshots
Additional Context
No response
The text was updated successfully, but these errors were encountered: