jomjol / AI-on-the-edge-device

Easy to use device for connecting "old" measuring units (water, power, gas, ...) to the digital world
https://jomjol.github.io/AI-on-the-edge-device-docs/
5.27k stars 580 forks source link

Parameters in "Reference Image and Camera Settings" do not apply immediately #2974

Open FajnB opened 3 months ago

FajnB commented 3 months ago

The Problem

As title says, when I try to change for example LED intensity and then click on update reference image, the brightness is still the same. The same goes for every other setting which requires updating reference image. *!! For some reason option "Negative" is processed immediately so there should not be ")" next to it !!**

I found out that if I go to settings and change the brightness there and after that I reboot the ESP it now has the correct brightness set. I also tested this with "Grayscale" and "Saturation" as well and they also got changed after reboot so I assume that this is probably true for all the other settings in the in the "Reference Image and Camera Settings" tab.

Version

v15.7.0 (Commit: 0d0b018+)

Logfile

There is nothing in the log related to creating reference image / changing camera settings in "Alignment > Reference Image and Camera Settings" settings.

Expected Behavior

The settings should be applied per "Update Reference Image" button click. i.e. If I choose options that are marked as "*)" the resulting updated image should have all the settings applied.

If memory serves me right this wasn't an issue... coughs... back in December 2022. (Yes I have not touched this thing in over a year :D)

Screenshots

No response

Additional Context

No response

FajnB commented 3 months ago

UPDATE №1 After saving an image and reboot, somehow it started to apply the setting dynamically per "Update Reference Image". I really do not know how, but somehow it now works.


UPDATE №2 It now stopped working again and is somewhat random if it applies the changes or not.


UPDATE №3 Downgraded to 15.4.0 and the problem vanished.

krikk commented 3 months ago

also see this with v15.7 ...you need to reboot after changing camera paramters

SybexX commented 3 months ago

https://github.com/jomjol/AI-on-the-edge-device/discussions/2926