OpenCV Sample face-detection change camera
Where do I change camera to front camera in android face detection sample?
Where do I change camera to front camera in android face detection sample?
private CameraBridgeViewBase mOpenCvCameraView;
in onManagerConnected of BaseLoaderCallback just set the index
mOpenCvCameraView.setCameraIndex(1);
Hint,its ok for debug, but for release, check number of cameras available, not every device has front face camera.
Asked: 2013-10-25 08:13:52 -0600
Seen: 733 times
Last updated: Jan 05 '14
How to get good matches from the ORB feature detection algorithm?
How to decrease the number of processed frames from a live video camera?
Unresolved inclusion in OpenCV+Android tutorial
build problems for android_binary_package - Eclipse Indigo, Ubuntu 12.04
Which values for window size and number of pyramids are reasonable for calcOpticalFlowPyrLK?
Errors running builder 'CDT Builder' when trying to build OpenCV for android samples
ndk-build deletes native OpenCV library
Installing Sample App / OpenCV Manager