How do I optimize camera performance in dark environments?
  • 07 Feb 2024
  • 1 Minute to read
  • Contributors
  • Dark
    Light

How do I optimize camera performance in dark environments?

  • Dark
    Light

Article summary

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?