Skip to content

Android OpenCV Sample Code to detect Faces and Eyes within Faces.It uses devices front camera. This has been tested on Android ver 4.x

Notifications You must be signed in to change notification settings

crankdaworld/Android-OpenCV-FaceDetectionwithEyes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Android-OpenCV-FaceDetectionwithEyes

Android OpenCV Sample Code to detect Faces and Eyes within Faces.It uses devices front camera. This has been tested on Android ver 4.x

  1. To Change Camera View : Change SampleCvViewBase.java 0penCamera() method.

mCamera = new VideoCapture(Highgui.CV_CAP_ANDROID);//Default Camera mCamera = new VideoCapture(Highgui.CV_CAP_ANDROID+1);//Front Camera

  1. This will detect eyes, only whithin found face. Check FdView.java for more details.

  2. I have tested this in my handset Sony Neo V , Android SDK 4.0

More information on the source code login can be found at http://imranakthar.com/android-opencv-detecting-face-and-eye/

imran [AT] imranakthar [DOT] com www.imranakthar.com

About

Android OpenCV Sample Code to detect Faces and Eyes within Faces.It uses devices front camera. This has been tested on Android ver 4.x

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published