android camera2 handle zoom

后端 未结 4 1720
遥遥无期
遥遥无期 2020-12-28 20:44

I\'m new in Android Camera2 API. I just move my all project to the new Camera2 API. I have used the Camera2Basic example as a starting point.

I\'m now trying handle

4条回答
  •  自闭症患者
    2020-12-28 21:22

    Need to add captureBuilder.set(CaptureRequest.SCALER_CROP_REGION, zoom); to the captureStillPicture() method.

提交回复
热议问题