How do I optimize camera performance in dark environments?
- 07 Feb 2024
- 1 Minute to read
- Contributors
- Print
- DarkLight
How do I optimize camera performance in dark environments?
- Updated on 07 Feb 2024
- 1 Minute to read
- Contributors
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
When using the Camera1 API:
For the best experience, avoid calling the method setRecordingHint(true). Passing the value true to this method will shorten the exposure time in the shutter, resulting in a higher frame rate, but less brightness.
When using the Camera2 API:
Use CameraDevice.TEMPLATE_PREVIEW over CameraDevice.TEMPLATE_RECORD for increased brightness in low-light environments.
Was this article helpful?