face-detection

Facial recognition/detection PHP or software for photo and video galleries

夙愿已清 提交于 2019-11-29 18:43:55
I have a very large photo gallery with thousands of similar people, objects, locations, things. The majority of the people in the photos have their own user accounts and avatar photos to match. There are also logical short lists of people potentially in the photo based on additional data available for each photo. I allow users to tag photos with their friends and people they know but an automated process would be better. I've used photo tagger/finder from face.com integrating with Facebook photos and the Google Picasa photo tagger for personal albums also does the same thing and is exactly

Android FaceDetector.Face Euler angles are 0 all the time

折月煮酒 提交于 2019-11-29 16:50:38
问题 I'm trying to get a the Euler angle of a Face that is detected by FaceDetector. Here is what I use to output to Logcat: Log.v("debug", " X: " + face.pose(Face.EULER_X) + " Y: " + face.pose(Face.EULER_Y) + " Z: " + face.pose(Face.EULER_Z) ); But it always returns 0.0 for all three, no matter what angle the face is at. Any ideas why? 回答1: Yeah the FaceDetector from API 1 never returns a pose angle. You can look at the source code to verify. The newer FaceDetectionListener from API 14 will

UIImagePickerController disable iPhone 4S face detection (iOS 5.1)

心已入冬 提交于 2019-11-29 15:31:39
I am currently developing an iPhone app that makes use of a UIImagePickerController with a custom overlay to take photos. Unfortunately I do not have direct access to an iPhone 4S but several testers have reported that the camera picker is drawing a green border around faces exactly like this: http://cdn.iphonehacks.com/wp-content/uploads/2012/03/camera_faces.jpg Due to the nature of this app this is not desirable. A thorough search of the UIImagePickerController docs didn't turn up anything and similarly everything I could find on here relating to face detection was providing instructions in

OpenCv assertion failed

孤者浪人 提交于 2019-11-29 12:39:35
I am working on application for finding face in 2D image and later inside same image I want to find mouth, but I have some problem right now. This is my code so far: for (int i = 0; i < faces.size(); i++) { Point pt1(faces[i].x, faces[i].y); Point pt2((faces[i].x + faces[i].height), (faces[i].y + faces[i].width)); rectangle(frame, pt1, pt2, Scalar(255,0 , 0), 2, 8, 0); //I WANT ROI(FOR MOUTH DETECTION) TO BE ONLY HALF OF THE RECTANGLE WITH FACE Rect mouthROI; mouthROI.x = (faces[i].x); mouthROI.y = faces[i].y*(1.5); mouthROI.width = (faces[i].x + faces[i].height); mouthROI.height = (faces[i].y

Face detection & draw circle using Android Camera2 API

不羁岁月 提交于 2019-11-29 12:04:08
问题 Currently I am trying to convert Camera2.Face to actual view's rect in order to draw circle over the face detected by the Camera2 API. I am able to get number of faces and its data into Callback by below code: private CameraCaptureSession.CaptureCallback mCaptureCallback = new CameraCaptureSession.CaptureCallback() { private void process(CaptureResult result) { Integer mode = result.get(CaptureResult.STATISTICS_FACE_DETECT_MODE); Face [] faces = result.get(CaptureResult.STATISTICS_FACES); if

OpenCV (CvHaarClassifierCascade*) cvLoad doesn't load , unable to load xml file

自古美人都是妖i 提交于 2019-11-29 08:58:17
I'm trying face detection using OpenCv 2.3 . My trying to load "haarcascade_frontalface_alt_tree.xml" on my project , I'm constantly unable to load the xml file. CvHaarClassifierCascade * pCascade = 0; // the face detector const char* file ="C:\OpenCV2.3\opencv\data\haarcascades\haarcascade_frontalface_alt_tree.xml" ; pCascade = (CvHaarClassifierCascade*) cvLoad(file , NULL, NULL, NULL); if (!pCascade) { exit(-1); // unable to load xml } I believe that I'm expeiancing the same problem as this problem I have tried to load an image before the cvLoad command , but it didn't help. I'm using OpenCV

Face Detection issue using CIDetector

荒凉一梦 提交于 2019-11-29 04:33:27
I'm working on an app in which i have to detect left eye, right eye, and mouth position. I have an imageView on my self.view and imageView contains a face image, now I want to get both eyes and mouth coordinates. I have seen 2-3 sample codes for this but all are approximately same in all codes we have to invert my view for matching the coordinates which I don't want because my view have some other controls. And one more thing they all are using UIImageView *imageView = [[UIImageView alloc]initWithImage:[UIImage imageNamed:@"image.png"]]; but my imageView has frame and i cant init it with image

Understanding OpenCV LBP implementation

∥☆過路亽.° 提交于 2019-11-29 03:28:00
问题 I need some help on LBP based face detection and that is why I am writing this. I have the following questions related to face detection implemented on OpenCV: In lbpCascade_frontal_face.xml (this is from opencv): what is internalNodes, leafValues, tree,features etc? I know they are used in the algorithm . But I do not understand the meaning of each one of them. For example, why we take a particular feature and not the other for a particular stage? how we are deciding which feature/ node to

How to detect the skin color of face from the source image in ios 5?

青春壹個敷衍的年華 提交于 2019-11-29 02:46:01
I need to color the skin of the face... How do i find the skin color? now i get the skin color by RGB pixel value ... Still i am facing the problem i was matching the color coordinates to match the skin by certain color range... but still some area of the face not fall in my range of colors then it is not color that area.. other than the face area may fall that region, that area also colored... Any idea about my issue... Thanks in advance.... MY code: -(void)colorImageBySliderValue:(float)value WithImage:(UIImage*)needToModified { CGContextRef ctx; CGImageRef imageRef = needToModified.CGImage;

CIDetector and UIImagePickerController

半世苍凉 提交于 2019-11-29 02:31:33
I'm trying to implement the built-in iOS 5 face detection API. I'm using an instance of UIImagePickerController to allow the user to take a photo and then I'm trying to use CIDetector to detect facial features. Unfortunately, featuresInImage always returns an array of size 0. Here's the code: - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info { UIImage* picture = [info objectForKey:UIImagePickerControllerOriginalImage]; NSNumber *orientation = [NSNumber numberWithInt: [picture imageOrientation]]; NSDictionary *imageOptions =