How to save preview frames into a buffer

asked 2013-05-28 08:12:47 -0500

sp_mic88 gravatar image

I have created a simple Android application that uses OpenCV4Android to open a video stream and capture frames from it. I have extended the class org.opencv.android.JavaCameraView and, in order to capture frames, this object offers the method onCameraFrame(CvCameraViewFrame inputFrame). If I want to save these frames into a buffer, so with a separate process I can process some of them, how can I do? Which objects should I use to create this buffer?

edit retag flag offensive close merge delete

Comments

in JavaCameraView camera is initialized with some parameters. What should I do if I want to change the parameters while i have processed a frame?

Ankit gravatar imageAnkit ( 2013-05-30 07:06:54 -0500 )edit