Questions tagged [face-detection]

Face detection is a computer technology that determines the locations and sizes of human faces in arbitrary (digital) images. It detects facial features and ignores anything else, such as buildings, trees and bodies.

Face detection is a computer technology that determines the locations and sizes of human faces in arbitrary (digital) images. It detects facial features and ignores anything else, such as buildings, trees and bodies.

NIST provides the Mugshot Identification Database (MID). The database contains approximately 3250 variable size images and can be used for developing, training and testing automated systems.

Face detection page on Wikipedia

1726 questions
9
votes
5 answers

Is there a way to get a measurement of confidence level when using haar face detection using OpenCV?

I developed an application for face detection using OpenCVs HAAR cascade face detection. The algorithm works fine, however every once in a while It finds patterns on the wall or ather things that are not faces. I want to run additional checks on…
Itay k
  • 4,163
  • 4
  • 31
  • 39
8
votes
3 answers

UIImage face detection

I am trying to write a routine that takes a UIImage and returns a new UIImage that contains just the face. This would seem to be very straightforward, but my brain is having problems getting around the CoreImage vs. UIImage spaces. Here's the…
Tim Sullivan
  • 16,808
  • 11
  • 74
  • 120
8
votes
3 answers

C# - Detect face and crop image

I'm writing a HttpHandler in C# which serves resized images and blah blah blah... No troubles, we have millions of handlers to use as reference. The problem is that I have pictures of my users taken with "traditional" sizes, as 4:3 and 16:9. But…
Erick Petrucelli
  • 14,386
  • 8
  • 64
  • 84
8
votes
1 answer

No acceptable module found. Local version is 0 and remote version is 0 in FaceDetector.Builder

The application throws this error Error Loading module com.google.android.gms.dynamite.DynamiteModule$LoadingException: No acceptable module found. Local version is 0 and remote version is 0 when trying to configure the Google-vision FaceDetector,…
Orelvis15
  • 306
  • 4
  • 11
8
votes
4 answers

how to save/crop detected faces in dlib python

i want to save the detected face in dlib by cropping the rectangle do anyone have any idea how can i crop it. i am using dlib first time and having so many problems. i also want to run the fisherface algorithm on the detected faces but it is giving…
Irum Zahra Awan
  • 276
  • 1
  • 5
  • 16
8
votes
6 answers

Slow face detection on OpenCV?

I compiled and installed OpenCV (last version from the SVN) on Mac Os X (this is maybe the source of the problem). The sample works, but the face detection algorithm seems slow to me. The detection time for a face is around 400ms (I just used the…
Matthieu Napoli
  • 48,448
  • 45
  • 173
  • 261
8
votes
9 answers

Face detection throws error: !empty() in function cv::CascadeClassifier::detectMultiScale

I am using the inbuilt cascade classifier for the face detection. This is how the code is (OpenCV Python Tutorials): import numpy as np import cv2 face_cascade = cv2.CascadeClassifier('haarcascade_frontalface_default.xml') eye_cascade =…
praddy26
  • 97
  • 1
  • 1
  • 5
8
votes
1 answer

Blending using GPUImagePoissonBlendFilter

Im trying to use GPUImagePoissonBlendFilter of the GPUImage framework to blend two faces in my face blending application. Here is my code. - (void)applyPoissonBlendToImage:(UIImage *) rearFace withImage:(UIImage *) frontFace { …
QCG
  • 2,569
  • 3
  • 20
  • 25
8
votes
3 answers

Face Detection in Android without user interaction

I want to detect the numbers of faces in the front camera frame. I can detect the face once I get the image using this :http://www.developer.com/ws/android/programming/face-detection-with-android-apis.html. But I don't know how to capture an image…
Vinay Gaba
  • 1,156
  • 3
  • 12
  • 26
8
votes
3 answers

measure distance from android phone screen to user face

Is it possible to measure the distance between your android phone screen and user face? I want to change the zoom ratio zoom of your android app screen base on the distance between your face and your phone screen. Please help me. Thanks.
Thelinh Truong
  • 564
  • 1
  • 8
  • 19
8
votes
1 answer

How to normalize an image color?

In their paper describing Viola-Jones object detection framework (Robust Real-Time Face Detection by Viola and Jones), it is said: All example sub-windows used for training were variance normalized to minimize the effect of different lighting…
8
votes
0 answers

Haar-detector: what are rejectLevels and levelWeights used for?

I have tried to find the usage of rejectLevels and levelWeights in the documentation but those are non-documented. Why can detectMultiScale() return them? Are they not constant properties of the cascades?
Barney Szabolcs
  • 11,846
  • 12
  • 66
  • 91
8
votes
4 answers

face alignment algorithm on images

How can I do a basic face alignment on a 2-dimensional image with the assumption that I have the position/coordinates of the mouth and eyes. Is there any algorithm that I could implement to correct the face alignment on images?
Rory Lester
  • 2,858
  • 11
  • 49
  • 66
7
votes
1 answer

ActionScript Face Detection

I'm looking to get the edges of user's head when the user is in front of a web-cam. I tried googling but to no avail. Can someone point me to some ActionScript examples for the same ? Peace \m/
7
votes
0 answers

Reshape Face Coordinate in Swift

I want to reshape the face coordinate like showing in the video: https://www.dropbox.com/s/vsttylwgt25szha/IMG_6590.TRIM.MOV?dl=0 (Sorry, unfortunetly the video is about 11 MB in size). I've just capture the face coordinate using iOS Vision API: //…
SandeepM
  • 2,601
  • 1
  • 22
  • 32