Ask Your Question

How to pass a camera frame to native method from a class that implements CvCameraViewListener2

asked 2014-03-17 03:38:08 -0500

Aiden gravatar image

updated 2014-03-17 03:51:08 -0500

berak gravatar image


I am trying to develop an Android app that measures the instantaneous speed of vehicle using a smartphone's camera. I want to perform the image processing using a native method written in C++. However, I do not know how to pass the frames from the override method onCameraFrame(). Help please

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-03-17 04:53:11 -0500

Moster gravatar image

Check out the sample applications in the android opencv SDK. For example, the face detection and mixed processing sample show how to do that.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2014-03-17 03:38:08 -0500

Seen: 144 times

Last updated: Mar 17 '14