-
Notifications
You must be signed in to change notification settings - Fork 670
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
Poor image quality (rolling 2024-02-12) #2901
Comments
This is really odd! Left side: v15.6.0, right side: 141aea7 |
The default sharpness value that we use may cause the blurry image because sharpness is not documented on the ov2640 datasheet. Other than that, the other parameters should have their defaults set correctly. |
@FrankCGN01 and @warnmat |
Try playing with the "auto exposure control 2" as well. The old code does not set a known value, so it is left to the ov2640 default. |
Thanks for the clarification. Could it be that it depends on the camera? You mentioned that you only checked the datasheet for the ov2640. @Slider0007 I think it would be useful if we could report the camera info (type), but I couldn't find yet a way to get this information.
|
https://jomjol.github.io/AI-on-the-edge-device-docs/Hardware-Compatibility also just mentions the OV2640, so there is a high chance that we all just use that one. |
Oh, this reminds me, in the old code, there was a a workaround that writes to undocumented registers in the ov2640. It doesn't care which camera is attached. I changed the behaviour to only do the undocumented workaround if ov2640 is attached. This workaround is for brightness control. |
I do still have the one installed called: Sorry to say but I have very less experience with Github at all. How can I get the version you call 141aea7? I do click on the link and get the code displayed but how do I get something downloadable to install it on my device. Sorry for this maybe stupid question but this github stuff is a bit overwelming for me atm. |
Thanks for helping me out. |
You first have to click on "Create new reference"!
What does this mean? |
After the change to the new version the picture quality was back to 15.6 image quality before the change to the first DEV version to fix the inadequate count was done. |
If your ISP cannot reach the NTP Server look in your Firewall if you block the access, or if your router provides a NTP functionality then insert your Gateway IP. You hae to enable Expert View to see that field right at the bottom. |
@caco3 After I selected "Auto-exposure Control 2" in the expert parameters, I got an image with the same quality as in version 15.6. Together with the sharpness even a little better than before. |
I had the camera parameters output to me before they were changed through config.ini: I (4137) ov2640: Set PLL: clk_2x: 0, clk_div: 0, pclk_auto: 0, pclk_div: 8
I (4137) cam_hal: cam config ok
I (4217) MAIN: Camera scale: 0
I (4227) MAIN: Camera binning: 0
I (4227) MAIN: Camera quality: 12
I (4237) MAIN: Camera brightness: 0
I (4247) MAIN: Camera contrast: 0
I (4257) MAIN: Camera saturation: 0
I (4257) MAIN: Camera sharpness: 0
I (4267) MAIN: Camera denoise: 0
I (4277) MAIN: Camera special_effect: 0
I (4277) MAIN: Camera wb_mode: 0
I (4287) MAIN: Camera awb: 1
I (4297) MAIN: Camera awb_gain: 1
I (4477) MAIN: Camera aec: 1
I (4537) MAIN: Camera aec2: 0
I (4547) MAIN: Camera ae_level: 0
I (4557) MAIN: Camera aec_value: 168
I (4567) MAIN: Camera agc: 1
I (4567) MAIN: Camera agc_gain: 0
I (4577) MAIN: Camera gainceiling: 0
I (4587) MAIN: Camera bpc: 0
I (4597) MAIN: Camera wpc: 1
I (4597) MAIN: Camera raw_gma: 1
I (4607) MAIN: Camera lenc: 1
I (4617) MAIN: Camera hmirror: 0
I (4627) MAIN: Camera vflip: 0
I (4627) MAIN: Camera dcw: 1
I (4637) MAIN: Camera colorbar: 0
I (6647) MAIN: Camera info: PID: 0x26, VER: 0x42, MIDL: 0x7f, MIDH: 0xa2 this corresponds to these settings: |
Had the same error on 15.7. Never bekamen rallye sharp and with good saturation. Went back to 15.4 and problem solved. On New 15.7 Image is dark and very unsharp |
Did you also play with the expert parameters? You could try to enable the auto exposure algorithm and also adjust the exposure parameters. |
There was not much happening regarding this issue. Also, if it would be a real regression, more people would have complained. |
@caco3 At the beginning the camera's default settings weren't set quite right, but now they should be fine in the current rolling and you can close it. |
I agree |
The Problem
User are reporting poor image quality (too dark, blurry) since rolling of 2024-02-12.
#2857 (comment)
#2857 (comment)
I assume it's related to #2885
Version
Rolling Commit: 141aea7
Logfile
Expected Behavior
No response
Screenshots
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: