AIRLegend / aitrack

6DoF Head tracking software
MIT License
1.03k stars 102 forks source link

Enable autogain and auto white balance when custom brightness is not selected #174

Open searching46dof opened 1 year ago

searching46dof commented 1 year ago

Describe the bug A clear and concise description of what the bug is. when custom brighness is not selected, it is selecting a fixed gain (1) and fixed exposure (140) setting instead of autogain and auto whitebalance for PS3Eyecam. This explains why I always needed to manually set them for varying lighting conditions. Custom gain and custom exposure settings are currently not used in OCVCamera so they are probably defaulting to auto.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error For PS3Eyecam, unselect custom brightness and attempt to track in both dim and bright lighting conditions.

Expected behavior A clear and concise description of what you expected to happen. When not selecting a custom manual brightness selection, I would expect it to be auto

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Additional context Add any other context about the problem here.