Open TheChatty opened 1 week ago
@Slider0007 or @SybexX Does one of you know where the issue lies? I guess it is a regression since we extended the CAM control.
@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
In 15.7.0 (and below) LED intensity had no effect.
This sentence from @TheChatty I do not understand at all...
In 15.7.0 (and below) LED intensity had no effect.
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).
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