face-detection

Facial Feature Points Detection using OpenCV

≡放荡痞女 提交于 2019-12-03 06:04:54
问题 I want to detect the points on a face as shown in the picture I am using OpenCV CascadeClassifier::detectMultiScale. I am using the haarcascade_frontalface_alt, haarcascade_eye, haarcascade_mcs_mouth xml files. I am satisfied with the face detection but not with the facial feature points detection. I want the feature points detection to work for the images upto a distance of 8 feet . I am looking for more accuracy and robustness wrt pose(15 degrees) and opening of mouth, without compromising

Why create your own Haar-classifier cascades?

隐身守侯 提交于 2019-12-03 05:10:57
问题 I found this tutorial on creating your own haar-classifier cascades. This raised the question with me: what are the advantages, if any, of running HaarTraining, and creating your own classifier (as opposed to using the cascades provided by OpenCv)? 回答1: Haar or LBP cascades classifiers are common technique used for detection or rigid objects. So here are two major points for training your own cascade: Cascades coming with OpenCV do not cover all possible object types. So you can use one of

crop and Save ROI as new image in OpenCV 2.4.2 using cv::Mat

拈花ヽ惹草 提交于 2019-12-03 04:38:30
问题 Working on Face Detection and Recognition, and after successfully detecting a face, I just want to crop the face and save it somewhere in the drive to give it for the recognition code. I am having hard time doing the saving the Region of Interest as a new image. I have got some codes online but it is written in the previous version of OpenCV that uses IplImage* . I am using OpenCV 2.4.2 that uses cv::Mat . Heeeelp!!! I will post my codes(Face detection and Recognition per se) if you guys want

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

不羁岁月 提交于 2019-12-03 04:35:08
问题 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

Face Detection with OpenCV for non frontal images

眉间皱痕 提交于 2019-12-03 04:30:49
问题 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 回答1: Now you have in OpenCV the

Face detection and comparison

霸气de小男生 提交于 2019-12-03 04:04:33
问题 I'm running a small research on face detection and comparison for my article. Currently, I'm using rapid face detection based on haar like features based on OpenCV cascade (I'll implement learning later). The next step is making face comparison. Are there any well know algorithms? It'll be great, if there are some C# codes, explaining them or some dll's that implements them. 回答1: Eigenfaces To generate a set of eigenfaces, a large set of digitized images of human faces, taken under the same

Core Image face detection broken on 64 bit iOS?

*爱你&永不变心* 提交于 2019-12-03 02:48:25
问题 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

Facial Recognition in Java/Processing

限于喜欢 提交于 2019-12-03 01:34:04
问题 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. 回答1: I am working on the Face Detection/ Face Recognition topic as well. I can recommend the following

How can I detect faces using Ruby?

自闭症网瘾萝莉.ら 提交于 2019-12-03 00:07:27
Can anyone tell me how to detect faces in a static picture using Ruby or Javascript? If you are going to try and write something from scratch, there is a great explanation of the process on the Carnegie Mellon Website - neat graphics too. However, your best bet is probably trying to hook into the Opensource Computer Vision project. Here is a good tutorial on using OpenCV for facial recognition . Since the other answers to that interesting question are mostly outdated now, here the 2012 solution: Using jQuery with jquery.objectdetect : $("#faces").objectdetect("all", {classifier: objectdetect

crop and Save ROI as new image in OpenCV 2.4.2 using cv::Mat

拜拜、爱过 提交于 2019-12-02 18:53:57
Working on Face Detection and Recognition, and after successfully detecting a face, I just want to crop the face and save it somewhere in the drive to give it for the recognition code. I am having hard time doing the saving the Region of Interest as a new image. I have got some codes online but it is written in the previous version of OpenCV that uses IplImage* . I am using OpenCV 2.4.2 that uses cv::Mat . Heeeelp!!! I will post my codes(Face detection and Recognition per se) if you guys want it. #include <cv.h> #include <highgui.h> #include <math.h> // alphablend <imageA> <image B> <x> <y>