【问题标题】:How to avoid Blur image capture in firebase ML Kit’s Face Detection API如何避免在 firebase ML Kit 的人脸检测 API 中捕获模糊图像
【发布时间】:2020-07-07 02:16:24
【问题描述】:

我正在使用 firebase ML Kit 的人脸检测 API。如图所示,我正在使用它来使用设备的前置摄像头检测人脸。 align your face with the outline

因此,只要任何人脸进入人脸叠加层,它就会在成功进行人脸检测时捕获图像。在成功进行面部检测后,我会将捕获的图像发送到我自己的 API 以进行进一步处理。但有时它会捕获我不想要的模糊图像。为此,我需要在成功的面部检测中捕获最好的 3 张图像。那么我该如何实现呢?

【问题讨论】:

    标签: firebase face-detection face-recognition firebase-mlkit vision


    【解决方案1】:

    您使用的是哪种相机 API?如果您使用的是 camera2 API,CameraCaptureSession.CaptureCallback 通过 CaptureResult 返回焦点和曝光状态

    【讨论】:

      猜你喜欢
      • 2020-05-23
      • 2019-08-01
      • 2019-12-03
      • 1970-01-01
      • 1970-01-01
      • 2023-03-07
      • 2022-01-13
      • 2021-01-12
      • 2020-12-16
      相关资源
      最近更新 更多