Get and process Camera Frames in Android

asked 2015-06-08 08:47:36 -0500

Sodapop gravatar image

Hi guys,

I've already developed a desktop application in c++ and now I'm trying to make an app out of it. I have trouble getting access to the camera stream. All i want to do is to get the camera frames and hand it to the JNI. My first approach was to get the Preview Frames and send those to the Jni, but that was very inconsistent. Is there a way to do this with the OpenCV Android library?

I found:, but couldn't get it to work at all.

Again on a desktop computer it is rather easy with VideoCapture. Can someone tell me how to implement a simple frame grabber in Android? What would be the best way to grab a frame and send it to the JNI?

Thank you, Soda

edit retag flag offensive close merge delete