Questions tagged [face-recognition]

Face recognition is the process of matching faces to determine if the person shown in one image is the same as the person shown in another image. This is distinct from face detection which only determines where an image exists a face. Face recognition has broad use in security technology, social networking, cameras, etc.

Face recognition is the process of matching faces to determine if the person shown in one image is the same as the person shown in another image. This is distinct from face detection which only determines where in an image exists a face. Face recognition is part of a larger class of biometric technologies.

There are two main modes of face recognition, one to one (where two faces are compared to each other) and one to many (where one face is matched against many faces). There are a number of free and open source and commercial face recognition tools and libraries. Face recognition is built into cameras, social networking sites (like Facebook), photo sharing sites (like PicasaWeb), and smart phones (like modern iPhone and Android phones).

1818 questions
11
votes
6 answers

Opencv3 and Python 2.7 on Virtual Environment - AttributeError: 'module' object has no attribute 'createLBPHFaceRecognizer'

I have a python function with opencv 3. it works without virtual environment.Also I installed opencv on venv from:pyimagesearch. i am trying to run that python function on venv, then it gives an error : AttributeError: 'module' object has no…
Gkan
  • 385
  • 1
  • 5
  • 20
11
votes
1 answer

opencv face recognition returns same name from DB for unknown users

I've done the detection part. But when it comes to recognition, When another unknown person comes in front of the camera it should display "unknown person," but it is displaying the database person's name instead. Means for all other users it is…
hacker
  • 8,919
  • 12
  • 62
  • 108
10
votes
1 answer

Face unlock code in Android open source project?

Does anyone know the location of the face unlock code in the android source tree? I'm looking to include some face recognition in my app and would love to use the code that google has already created. I've already looked at the alternatives such…
Brian Griffey
  • 4,751
  • 1
  • 25
  • 26
10
votes
4 answers

Face comparison (Not recognition or detection) using OpenCV and Keras?

First of all here is my github link for the question. And here is my question: I would like to do a face comparison function using Python. And I can successfully(?) recognize faces using OpenCV. Now, how do I do the comparison thing? What I…
Ellery Leung
  • 617
  • 3
  • 10
  • 23
10
votes
3 answers

ios Vision VNImageRequestHandler orientation issue

I am trying to detect faces via camera using VNImageRequestHandler (iOS Vision). When I point on the photo by the camera in landscape mode it detects faces but with opposite orientation mode. let detectFaceRequestHandler =…
Svitlana
  • 2,938
  • 1
  • 29
  • 38
10
votes
7 answers

Automatic face detection using Picasa API to extract individual images

(A similar question has been asked on superuser for answers related to applications. The question is posted here to gather programmable solutions for the same) At my work place, passport sized photographs are scanned together, then cut up into…
abel
  • 2,377
  • 9
  • 39
  • 62
10
votes
4 answers

Opencv - Haar cascade - Face tracking is very slow

I have developed a project to tracking face through camera using OpenCV library. I used haar cascade with haarcascade_frontalface_alt.xml to detect face. My problem is if image capture from webcame doesn't contain any faces, process to detect faces…
Nick Viatick
  • 265
  • 1
  • 4
  • 19
10
votes
3 answers

How to use openCV and HAAR Cascades to blur faces?

I would like to know is there is a way to blur the faces that have been automatically identify by the haarcascade face classifier. using the code below, I'm able to detect the faces, crop the image around this face or draw a rectangle on it. image =…
10
votes
3 answers

Face detection and comparison

I'm running a small research on face detection and comparison for my article. Currently, I'm using rapid face detection based on haar like features based on OpenCV cascade (I'll implement learning later). The next step is making face comparison.…
flufferok
10
votes
4 answers

Face detection not working for Front Camera

So basically, i have this code, if(mCamera.getParameters().getMaxNumDetectedFaces()==0) { System.out.println("Face detection not avaliable"); } else { System.out.println("Max faces: "…
Kratz
  • 4,280
  • 3
  • 32
  • 55
9
votes
4 answers

Compare two faces (and their likeness)

Is there is a way to compare two faces (perhaps with OpenCv) and get a score of their likeness? I mean to apply a facial recognition algorithm, but only between 2 faces, not on an entire dataset. The problem is that, for example, Eigenfaces requires…
Marco L.
  • 1,489
  • 4
  • 17
  • 25
9
votes
1 answer

Dlib (GPU supported) is not working properly, not sure?

My System Configuration: Windows 10, Nvidia 940mx 2GB GDDR5 GPU, 8GB RAM, i5 8th generation. Software installed: CUDA toolkit 9.0 cuDNN 7.1.4 I have successfully installed dlib with GPU support after installing above requirements using commands…
tusharK3411
  • 85
  • 1
  • 3
9
votes
4 answers

iOS11 vision framework mapping all face landmarks

I am playing with vision framework and getting all landmark points with this code: if let allFaceLandmarks = landmarks.allPoints { print(allFaceLandmarks) } But cant find mapping for these points. For example index numbers for right…
sametbilgi
  • 582
  • 2
  • 7
  • 29
9
votes
2 answers

Face recognition using android sdk not opencv

I am currently work on face recognition in android. I spent reasonable time on internet and I found FaceDetector.Face class in Android. And these are the utilities of this class: Constants float CONFIDENCE_THRESHOLD int EULER_X The x-axis…
Ayse
  • 311
  • 1
  • 3
  • 17
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