UVCCamera icon indicating copy to clipboard operation
UVCCamera copied to clipboard

Capture Still Image

Open akshayah3 opened this issue 5 years ago • 2 comments

I would like to capture a still image as a background service. But i am unable to capture a picture without a surface(preview). Is there any way to do this? Basically i don't want any preview or UI. Just want capture the picture periodically as a service.

akshayah3 avatar Aug 31 '19 16:08 akshayah3

mUvcCamera.startPreview(new Surface(new SurfaceTexture(0)));

gxshao avatar Sep 09 '19 07:09 gxshao

mUvcCamera.startPreview(new Surface(new SurfaceTexture(0)));

Hi, so how can we take the image after that?

xuannt88 avatar May 10 '23 09:05 xuannt88