Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to save preview frames into a buffer

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?