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

Brightness and Whitebalance issue #7

Open
Edward2k opened this issue Apr 7, 2022 · 2 comments
Open

Brightness and Whitebalance issue #7

Edward2k opened this issue Apr 7, 2022 · 2 comments
Assignees

Comments

@Edward2k
Copy link
Contributor

Edward2k commented Apr 7, 2022

There is a clear issue when the camera sees rapid brightness changes. The AutoWhiteBalance (awb) and AutoExposureControl (aec) gets too far off an acceptable value that the segmentation, in its current form, fails.

@Edward2k
Copy link
Contributor Author

Edward2k commented Apr 7, 2022

I am the bearer of bad news and good news. I propose the following :

  1. Use the detached VSYNC signal from the ov5645 sensor to flash a (set of) bright LED's.
  2. This VSYNC signal can be handle by gstreamer to issue a callback. We must define a simple callback to turn on/off the LED's.

This solves the high power issue of constant LED lighting. It does, however, require fine soldering for the Coral Camera... Should be fine. Also, if the LED's are bright enough, there should be no need to set awb or aec to manual values as they do a good job at minimal variation.

To complete this we must :

  • Find LED's that can run off our 7.4V LiPo.
  • Find what color the ov5645 is most sensitive too for better efficiency
  • Connect the VSYNC signal to the CSI bus
  • Attach a callback for start_of_frame and end_of_frame in gstreamer to turn on/off the LED's. NB these are pseudo values.
  • Build and wire the LED's and their respective mounts

I propose that solutions to any of the above are marked as complete and explanations are added as comments to this thread.

@Edward2k Edward2k self-assigned this Apr 20, 2022
@Edward2k
Copy link
Contributor Author

This is closely related to #8. Fixing that may prevent AWB from kicking in.

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

1 participant