team-convex-optimization / tco-pland

A pipeline to read and segment images for path planning
GNU General Public License v3.0
1 stars 0 forks source link

Brightness and Whitebalance issue #7

Open Edward2k opened 2 years ago

Edward2k commented 2 years ago

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 commented 2 years ago

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 :

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

Edward2k commented 2 years ago

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