Recording Live OpenCV Processing on Android

后端 未结 4 1381
栀梦
栀梦 2020-12-05 08:00

My goal is to do a couple things:

  1. Use OpenCV and the JavaCameraView to process frames from the phone\'s camera feed
  2. Enable recording of that processed
4条回答
  •  失恋的感觉
    2020-12-05 08:59

    Another option that works only on Lollipop and Marshmallow is to use the new MediaProjectionManager to capture and record what's happening on your device's screen. A great example is here:

    http://www.mattsnider.com/video-recording-with-mediaprojectionmanager/

    It's totally independent of your device's camera and doesn't need any access to it or whatever you're doing with OpenCV. It's just recording whatever you have displayed on your screen.

提交回复
热议问题