Record video from camera parallel to OpenCV processing

asked 2014-04-04 05:43:23 -0600

jenia gravatar image

Some other question, dealing with android and OpenCV. Ok, as I now understand, it is not that easy to record a video, processed by OpenCV on android. But is there any possibility to do it parallel: - to record video from camera, using standard android tools (MediaRecorder) and - to process video with OpenCV (mOpenCvCameraView) without saving it?

Thank you once again!

edit retag flag offensive close merge delete

Comments

you mean, like keeping a sequence of recorded image in memory?

List<Mat> seq = new ArrayList<Mat>();

seq.add(frame.clone());

berak gravatar imageberak ( 2014-04-04 05:53:22 -0600 )edit

I actually just want to record normal video from camera, using standard android methods (MediaRecorder?). But I want to know if it is possible to do this when I use OpenCV methods in the same activity. (I do not need to record processed video, just the source from camera).

jenia gravatar imagejenia ( 2014-04-04 05:57:40 -0600 )edit