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
14
votes
1 answer

How do I create my own haar cascade and apply it?

I am interested in creating my own haar cascade xml file, for use with python, to detect a certain logo (let's say it's the apple logo). I have tried following the instructions at http://docs.opencv.org/trunk/doc/user_guide/ug_traincascade.html and…
eran
  • 14,496
  • 34
  • 98
  • 144
13
votes
3 answers

Face Detection with OpenCV for non frontal images

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…
Hani
  • 1,517
  • 5
  • 20
  • 28
13
votes
3 answers

Head pose estimation with Opencv

I am using OpenCV Haar Algorithm to track the Head and overlay an image over the Head. What I am doing is saving frames generated by camera and overlaying image over each frames. And time is not a constraint as I am not doing it Real-Time. My code…
Wazy
  • 8,822
  • 10
  • 53
  • 98
13
votes
2 answers

Why create your own Haar-classifier cascades?

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)?
wen
  • 3,782
  • 9
  • 34
  • 54
13
votes
4 answers

Convert Vision boundingBox from VNFaceObservation to rect to draw on image

I am trying to use VNDetectFaceRectanglesRequest from the new Vision API to detect faces on images. Then, I draw a red rectangle on each detected face. But I'm having an issue converting the boundingBox from VNFaceObservation into a CGRect. It…
Marie Dm
  • 2,637
  • 3
  • 24
  • 43
13
votes
6 answers

Access denied due to invalid subscription key (Face API)

I am having trouble using Microsoft Face API. Below is my sample request: curl -v -X POST "https://westus.api.cognitive.microsoft.com/face/v1.0/detect?returnFaceId=true&returnFaceLandmarks=false&returnFaceAttributes=age,gender" -H "Content-Type:…
Ahmad Farhan
  • 158
  • 1
  • 1
  • 6
13
votes
2 answers

How to find out detected face is real or fake

I am developing one security related project, there is need to check any face is detected or not, if face is detected then do some action, if face is not detected then close app. Everything is perfect working, i am using SurfaceView which is…
Yogesh Rathi
  • 6,331
  • 4
  • 51
  • 81
13
votes
1 answer

Faces detected on simulator but not on iphone using CoreImage framework

I'm using CoreImage to detect faces on pictures. It works great on the simulator, but on my iphone 5, it almost never works with pictures taken with the iphone's camera ( it works with pictures picked on the web ). The following code shows how I…
Randy
  • 4,335
  • 3
  • 30
  • 64
12
votes
2 answers

How does MTCNN perform vs DLIB for face detection?

I saw MTCNN being recommended but haven't seen a direct comparison of DLIB and MTCNN. I assume since MTCNN uses a neural networks it might work better for more use cases, but also have some surprisingly horrible edge cases? Has anyone done an…
12
votes
2 answers

why is shape-indexed-feature so effective on face alignment?

I am implementing some face alignment algorithm recently. I have read the following papers: Supervised descent method and its applications to face alignment Face alignment by explicit shape regression Face alignment at 3000 fps via regressing local…
tidy
  • 4,747
  • 9
  • 49
  • 89
12
votes
5 answers

Face Recognition for classifying digital photos?

I like to mess around with AI and wanted to try my hand at face recognition the first step is to find the faces in the photographs. How is this usually done? Do you use convolution of a sample image/images or statistics based methods? How do you…
Jeremy E
  • 3,704
  • 2
  • 28
  • 46
12
votes
1 answer

Facial Feature Points Detection using OpenCV

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…
2vision2
  • 4,933
  • 16
  • 83
  • 164
11
votes
1 answer

Google CustomSearch ignores imgType?

It would seem that using the google CSE api always ignores my imgType attribute, even through their official API test page. My request is: { "q": "Maimi Yajima", "cx": "014585077406021600032:tu4nwhtmr5q", "searchType": "image", …
iTayb
  • 12,373
  • 24
  • 81
  • 135
11
votes
3 answers

How is it possible to use Android Camera APIs in non-Camera applications?

I would like to use some Android 4 APIs in a non-Camera application. The API includes some very nice Face Detection classes, including the Camera.Face class available since API 14. I would like to apply the same Face Detection classes in order to…
Lisa Anne
  • 4,482
  • 17
  • 83
  • 157
10
votes
4 answers

iOS Face Detection Issue

I am trying to use CoreImage's face detection in iOS 5 but it is not detecting anything. I am trying to detect faces in an image that was just captured by the camera using this code: - (void)imagePickerController:(UIImagePickerController *)picker…
Vic320
  • 1,105
  • 2
  • 10
  • 22