Native C++ code for android camera
Hie, can someone help me with the code for initializing the camera on an android device through C++ OpenCV native code ?
There is Native Activity example in OpenCV4Android SDK since version 2.4.5. I recommend you to start from it.
Basically this topic show you the difference between the native C++ and the android Java interface:
http://answers.opencv.org/question/5524/access-mobile-camera-from-native-c-vs-android/
It means that for native C++ you need to use the VideoCapture class which enables you to read out camera frames based on there index number. Look at the examples given there.
Asked: 2013-04-13 01:38:12 -0600
Seen: 2,316 times
Last updated: Apr 13 '13