face-detection

Face Detection Algorithms with minimal training time [closed]

不想你离开。 提交于 2019-11-29 02:02:51
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 6 years ago . Wanted to ask if there was any kind of face detection scheme suitable for video that would require minimal training time ideally about a few days rather than weeks like the Viola-Jones. I have read about LBP but it requires a huge set of training samples too but not sure how long

Android camera2 face recognition

和自甴很熟 提交于 2019-11-29 01:19:54
There is not enough info about camera2 face recognition mechanism. I used Camera2 sample from Google: android-Camera2Basic I set face recognition mode to FULL. mPreviewRequestBuilder.set(CaptureRequest.STATISTICS_FACE_DETECT_MODE, CameraMetadata.STATISTICS_FACE_DETECT_MODE_FULL); Also I checked STATISTICS_INFO_MAX_FACE_COUNT and STATISTICS_INFO_AVAILABLE_FACE_DETECT_MODES : int max_count = characteristics.get( CameraCharacteristics.STATISTICS_INFO_MAX_FACE_COUNT); int modes [] = characteristics.get( CameraCharacteristics.STATISTICS_INFO_AVAILABLE_FACE_DETECT_MODES); Output : maxCount : 5 ,

Android Face Detection [duplicate]

时光总嘲笑我的痴心妄想 提交于 2019-11-29 00:21:21
This question already has an answer here: Face Detection in Android? 3 answers I am trying to do face detection on android, and I am following the guide http://www.richardnichols.net/2011/01/java-facial-recognition-haar-cascade-with-jjil-guide/ but on android instead. When i do Gray8DetectHaarMultiScale detectHaar = new Gray8DetectHaarMultiScale(is, minScale, maxScale); RgbAvgGray toGray = new RgbAvgGray(); toGray.push(RgbImage); detectHaar.pushAndReturn(toGray.getFront()); It seems that pushAndReturn is only returning one face from the image on Android although the exact code returns 2 faces

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

大城市里の小女人 提交于 2019-11-28 17:35:25
I need Haar Cascades xml files for Mouth, Eyes & Nose. Do provide me useful links. Any kind of help would be highly appreciated. Look at this page: http://alereimondo.no-ip.org/OpenCV/34 There are haar cascades for eyes, nose and mouth :) 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 their SVN as well Saad Bilal This will help. Contains all haar cascade for eye, face and nose: https://github.com

How to align face images c++ opencv

我是研究僧i 提交于 2019-11-28 17:18:01
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 alignment exactly like this technique . How would I go about accomplishing this? Martin Beckett Can't you then

Add 2D or 3D Face Filters like MSQRD/SnapChat Using Google Vision API for iOS

狂风中的少年 提交于 2019-11-28 17:14:40
问题 Here's some research I have done so far: - I have used Google Vision API to detect various face landmarks. Here's the reference: https://developers.google.com/vision/introduction Here's the link to Sample Code to get the facial landmarks. It uses the same Google Vision API. Here's the reference link: https://github.com/googlesamples/ios-vision I have gone through the various blogs on internet which says MSQRD based on the Google's cloud vision. Here's the link to it: https://medium.com/

Face Detection with Camera

柔情痞子 提交于 2019-11-28 15:50:03
问题 How can I do face detection in realtime just as "Camera" does? I noticed that AVCaptureStillImageOutput is deprecated after 10.0, so I use AVCapturePhotoOutput instead. However, I found that the image I saved for facial detection is not so satisfied? Any ideas? UPDATE After giving a try of @Shravya Boggarapu mentioned. Currently, I use AVCaptureMetadataOutput to detect the face without CIFaceDetector . It works as expected. However, when I'm trying to draw bounds of the face, it seems

Android & OpenCV - App crashes on UI change

天涯浪子 提交于 2019-11-28 10:51:34
问题 I'm making an app using OpenCV face detection. I want to make some changes to the UI when a face is detected in the camera image. The layout is split in two parts, on the left some text and camera image on the right. I want to change the text color when a face is detected. I detect the faces in the onCameraFrame() method with no problems, but if I try to change the UI elements from this method the app crashes. Here's how it all looks. /* Not real code, just example */ public class MyClass

Python OpenCV face detection code sometimes raises `'tuple' object has no attribute 'shape'`

断了今生、忘了曾经 提交于 2019-11-28 10:21:49
问题 I am trying to build a face detection application in python using opencv. Please see below for my code snippets: # Loading the Haar Cascade Classifier cascadePath = "/home/work/haarcascade_frontalface_default.xml" faceCascade = cv2.CascadeClassifier(cascadePath) # Dictionary to store image name & number of face detected in it num_faces_dict = {} # Iterate over image directory. # Read the image, convert it in grayscale, detect faces using HaarCascade Classifier # Draw a rectangle on the image

Proper usage of CIDetectorTracking

一笑奈何 提交于 2019-11-28 06:56:25
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 alloc] initWithObjectsAndKeys:CIDetectorAccuracyHigh, CIDetectorAccuracy,myAVCaptureStillImageOutput