face-detection

Crop Image with face detection in android

不羁岁月 提交于 2019-11-27 12:11:11
I needed a demo where any image can be cropped with the face detection function. FIXED But after few surfing hours I didn't come to a single demo, so I prepared a single demo with conjunction of few demos that I found online. I have prepared a demo to crop the image. My demo crops the image rectangle, and circular as well. Also it detects the face and crops the image according to the face detection. I am using the following image to crop it. And the screenshot of the crop result is : The xml for the example is : <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns

Need Haar Casscades for Nose, Eyes & Lips(Mouth)

别说谁变了你拦得住时间么 提交于 2019-11-27 10:49:18
问题 I need Haar Cascades xml files for Mouth, Eyes & Nose. Do provide me useful links. Any kind of help would be highly appreciated. 回答1: Look at this page: http://alereimondo.no-ip.org/OpenCV/34 There are haar cascades for eyes, nose and mouth :) 回答2: I believe they are in the EmguCV package when you download it. Can't remember exact directory but do a search for *.xml. Edit Found the location. Get the emgucv zip file then they're in... .\opencv\data I imagine you can get these straight from

How to align face images c++ opencv

不羁的心 提交于 2019-11-27 10:34:57
问题 I am developing a C++ application for face authentication. First, I have to detect the face and pre-process the image. For face detection I have used the HaarCascadeClassifier. The problem is that the this tool or this algorithm gives me a facial region detected by a little bit large rectangle that englobes hair and some of the background. Is there a solution to change the dimension of this rectangle? I used "frontalfacecascaadclassifier.xml". For face pre-processing i want to do face

Face gender detection library [closed]

倖福魔咒の 提交于 2019-11-27 09:35:41
问题 I'm looking for an SDK or library that can detect faces in a webcam stream, and detect gender. Free or paid, C++ or C# under Windows. Any suggestions? 回答1: I did an experiment on gender classification with the Fisherfaces method in my blog at: http://bytefish.de/blog/gender_classification and got a 98% recognition rate for geometrically normalized images. I am providing an implementation of the Fisherfaces method for GNU Octave/MATLAB, Python and C++. libfacerec, a modern face recognition

Viola-Jones' face detection claims 180k features

主宰稳场 提交于 2019-11-27 04:56:51
问题 I've been implementing an adaptation of Viola-Jones' face detection algorithm. The technique relies upon placing a subframe of 24x24 pixels within an image, and subsequently placing rectangular features inside it in every position with every size possible. These features can consist of two, three or four rectangles. The following example is presented. They claim the exhaustive set is more than 180k (section 2): Given that the base resolution of the detector is 24x24, the exhaustive set of

Proper usage of CIDetectorTracking

余生长醉 提交于 2019-11-27 01:37:10
问题 Apple recently added a new constant to the CIDetector class called CIDetectorTracking which appears to be able to track faces between frames in a video. This would be very beneficial for me if I could manage to figure out how it works.. I've tried adding this key to the detectors options dictionary using every object I can think of that is remotely relevant including, my AVCaptureStillImageOutput instance, the UIImage I'm working on, YES, 1, etc. NSDictionary *detectorOptions = [[NSDictionary

How can I update the Android Gallery after a photo?

孤者浪人 提交于 2019-11-26 16:56:20
问题 For the university i've to develop an application on android with the face detections. For this i've to save various photo on my gallery. The problem is that after saving the photo, the gallery do not update. More precisely, if I delete the directory where I'm going to save the image, I open the application and shoot the photo, then going into the gallery and after an "update" I see the photo. But once I have the directory, if I take a new picture, this did not overwrite the old one. Online i