I use face_detection of opencv 2.4.5 with Android 4.2.2 on my samsung tablet of Android 4.0.4. The application could use the front camera to calibrate my face. However, when I u
I had this problem early today. Please, make sure you have placed the camera permissions on your AndroidManifest.xml.
<uses-permission android:name="android.permission.CAMERA"/>
I have solved this problem. I added a library to the face_detection codes, and something wrong in "OpenCV Library - 2.4.5/src/org.opencv.android/JavaCameraView.java" The line 127 "mCamera.setParameters(params);" failed to run, so i annotated it, and the warn disappeared.
Just enable camera permission on the device settings. Works for Tango Device Phab2 (23API)
Setting -> Apps -> Your App -> Enable Camera Permission.