How To Take Multiple Photos Without Preview Using Camera2 Api In Android?
I need to capture multiple photos using Camera2 API after particular interval, say 5 seconds. I need to do it without preview. I am able to capture a single photo without preview,
Solution 1:
You'll need to configure a repeating request on the CameraCaptureSession
object. Documentation for that is here: https://developer.android.com/reference/android/hardware/camera2/CameraCaptureSession.html#setRepeatingRequest(android.hardware.camera2.CaptureRequest,%20android.hardware.camera2.CameraCaptureSession.CaptureCallback,%20android.os.Handler)
Post a Comment for "How To Take Multiple Photos Without Preview Using Camera2 Api In Android?"