Android video frame processing

后端 未结 4 1161
[愿得一人]
[愿得一人] 2021-01-31 20:28

I am working on application that does some real time image processing on camera frames. For that, I use preview callback\'s method onPreviewFrame.
This works fi

4条回答
  •  梦谈多话
    2021-01-31 21:04

    Salam. You can use this library:

    https://github.com/natario1/CameraView

    This library has addFrameProcessor listener that in process function has Frame parameter.

    If you need to record video while frame processing, you need to use from takeVideoSnapshot function of CameraView. takeVideo stop frame processing until complete video recording in latest version I tested 2.6.4.

提交回复
热议问题