face-detection

How to train a Support Vector Machine(svm) classifier with openCV with facial features?

懵懂的女人 提交于 2019-12-02 18:53:30
I want to use the svm classifier for facial expression detection. I know opencv has a svm api, but I have no clue what should be the input to train the classifier. I have read many papers till now, all of them says after facial feature detection train the classifier. so far what I did, Face detection, 16 facial points calculation in every frame. below is an output of facial feature detection![enter image description A vector which holds the features points pixel address Note: I know how I can train the SVM only with positive and negative images, I saw this code here , But I don't know how I

Facial Recognition with Kinect

只愿长相守 提交于 2019-12-02 18:32:09
Lately I have been working on trying facial recognition with the Kinect, using the new Developer Toolkit (v1.5.1). The API for the FaceTracking tools can be found here: http://msdn.microsoft.com/en-us/library/jj130970.aspx . Basically what I have tried to do so far is attain a "facial signature" unique to each person. To do this, I referenced these facial points the Kinect tracks: ( ) . Then I tracked my face (plus a couple friends) and calculated the distance between points 39 and 8 using basic algebra. I also attained the values for the current depth of the head. Heres a sample of the data I

Face Detection with OpenCV for non frontal images

倾然丶 夕夏残阳落幕 提交于 2019-12-02 17:43:32
I am trying to use opencv to detect faces. Faces are not frontal, the camera captured the faces from side so only one eye and part of the mouth is viewed. I tried HaarDetectObjects with multiple configurations without getting benefit. I changed the cascade and I tested: haarcascade_frontalface_default.xml, haarcascade_frontalface_alt.xml,haarcascade_profileface.xml with very bad results. Are there any other better cascades? Are there other suggestions? Thanks Now you have in OpenCV the new LBP cascade for profile faces, created by Vadim Pisarevsky: https://github.com/Itseez/opencv/blob/master

Core Image face detection broken on 64 bit iOS?

给你一囗甜甜゛ 提交于 2019-12-02 16:21:39
So, I have an app that uses the face detection feature of Core Image ( https://itunes.apple.com/us/app/ace-freakyface-cartoon-mask/id454513332?mt=8 ) and I just got the new iPhone 5s and the app no longer detects a face. I'm also receiving an error in the console while debugging: /System/Library/PrivateFrameworks/FaceCore.framework/fcl-fc-3.dat: mach-o, but wrong architecture 2013-09-25 20:17:22.861 faceMaker[474:a16b] Face detection finding face error: Error Domain=FCRFaceDetectorErrorDomain Code=2 "dlopen(/System/Library/PrivateFrameworks/FaceCore.framework/fcl-fc-3.dat, 2): no suitable

Facial Recognition in Java/Processing

…衆ロ難τιáo~ 提交于 2019-12-02 14:58:01
I am doing a project that requires some facial recognition. I am attempting to find a Java implementation of this. I am not looking for facial detection. We are trying to do facial recognition through a live camera feed. Is there any way to implement this in Java or Processing? At the moment the only ones I have been able to find are in some type of C, which is not going to work for me. cesmarch I am working on the Face Detection/ Face Recognition topic as well. I can recommend the following links for Face Recognition: Direct Java Implementations: JavaFaces: A Java Implementation of Face

Detect face then autocrop pictures

纵然是瞬间 提交于 2019-12-02 13:50:31
I am trying to find an app that can detect faces in my pictures, make the detected face centered and crop 720 x 720 pixels of the picture. It is rather very time consuming & meticulous to edit around hundreds of pictures I plan to do that. I have tried doing this using python opencv mentioned here but I think it is outdated. I've also tried using this but it's also giving me an error in my system. Also tried using face detection plugin for GIMP but it is designed for GIMP 2.6 but I am using 2.8 on a regular basis. I also tried doing what was posted at ultrahigh blog but it is very outdated

mobile vision API takes too long to detect face

丶灬走出姿态 提交于 2019-12-02 10:16:09
问题 I am using mobile vision API to detect face in android app. I have used SparseArray of Face to store the references to faces, but the detector.detect(frame) method takes too long (15 seconds) to detect face. Note: I am passing the bitmap of the image taken by camera to detectFaces method. My code is below void detectFaces(Context context, Bitmap picture){ com.google.android.gms.vision.face.FaceDetector detector = new com.google.android.gms.vision.face.FaceDetector.Builder(context)

mobile vision API takes too long to detect face

别说谁变了你拦得住时间么 提交于 2019-12-02 07:20:47
I am using mobile vision API to detect face in android app. I have used SparseArray of Face to store the references to faces, but the detector.detect(frame) method takes too long (15 seconds) to detect face. Note: I am passing the bitmap of the image taken by camera to detectFaces method. My code is below void detectFaces(Context context, Bitmap picture){ com.google.android.gms.vision.face.FaceDetector detector = new com.google.android.gms.vision.face.FaceDetector.Builder(context) .setTrackingEnabled(false) .setClassificationType(com.google.android.gms.vision.face.FaceDetector.ALL

Android decodeYUV420SP results in green images?

此生再无相见时 提交于 2019-12-02 02:51:37
Ok so my question is pretty much identical to this: Converting preview frame to bitmap However his answer is no good, and trying to use it doesn't solve my problem. So what I'm trying to do at the moment is to send each frame as a bitmap to a method to detect if there are any faces, but first I need to create a bitmap which means I have to use the decodeYUV420sp method, which doesn't seem to be working properly and all my images just come out as a green and yellow tie dye looking image. Here is my code: This is from onPreviewFrame: Parameters parameters = cam.getParameters(); Integer width =

Android decodeYUV420SP results in green images?

徘徊边缘 提交于 2019-12-02 01:46:01
问题 Ok so my question is pretty much identical to this: Converting preview frame to bitmap However his answer is no good, and trying to use it doesn't solve my problem. So what I'm trying to do at the moment is to send each frame as a bitmap to a method to detect if there are any faces, but first I need to create a bitmap which means I have to use the decodeYUV420sp method, which doesn't seem to be working properly and all my images just come out as a green and yellow tie dye looking image. Here