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

RpiHQ auto white balance #328

Closed
paolobar54 opened this issue Feb 24, 2021 · 4 comments
Closed

RpiHQ auto white balance #328

paolobar54 opened this issue Feb 24, 2021 · 4 comments

Comments

@paolobar54
Copy link

Trying to obtaining the maximum quality from my RPiHQ camera and a cheap fisheye, I noted that the setting for AutoAWB is not doing anything in the RPiHQ implementation.
Checking the code I noted that the line for the AWB parameter parsing #633 to #639 of capture_RPiHQ.cpp are commented out and that the test for implementing the parameter at line #265 is on the asiAutoGain instead of the asiAutoAWB param.
Also what is the correlation to put the parameters for color component in the AWB code and only when the AutoGain is off?(lines 266 to 293)

I try and during the day the AWB is working well;
I'm not an expert of the use of raspistill, there is some adverse effect that is not readily apparent?

Thanks
Paolo

@Empire4191
Copy link

Hello,
I have the same problem with the white balance. Unfortunately, the AWB button has no function.
In contrast, the auto gain controls the white balance. However, the images are then much too dark at night and you can no longer set the gain up by hand.
Regards,
Daniel

@scorot
Copy link

scorot commented May 11, 2021

Hi,

attached is a patch that fixes the bug related to the AWB and Gain control with the RPiHQ camera. With this fix, I am now able to control autogain and auto white balance separatly.
It would be nice if Thomas could include it in a future revision.

Sebastien
capture_RPiHQ-awb-fix-patch.txt

@thomasjacquin
Copy link
Collaborator

Sorry, I just noticed that thread.
I have applied the patch and pushed to the master branch. It adds auto white balance to the RPiHQ camera.
Thanks @scorot for the patch.

@EricClaeys
Copy link
Collaborator

Closing - issue resolved.

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

5 participants