face-recognition

How to install Openface in windows python

坚强是说给别人听的谎言 提交于 2021-02-17 22:49:07
问题 I am a newbie to Openface. Due to some reasons I want to install Openface in windows with python. It would be great if anyone could guide me through that. I have searched online, but not a single article talks about windows python installation. May be I am asking a very simple question but please help me through this. 回答1: I'm not aware of OpenFace being used on Windows directly, but please contribute any changes necessary to the repository if you start working on this. I expect there to be a

Comparing Faces using landmarks?

江枫思渺然 提交于 2021-02-07 09:13:11
问题 Lets say for each detected face, I have a set of landmarks like this (result from face detection API): "eye_left": { "x": 112.3, "y": 210.3 }, "eye_right": { "x": 217.5, "y": 205.5 }, "nose": { "x": 168.6, "y": 269.7 }, "mouth l": { "x": 119.1, "y": 307.6 }, "mouth_l": { "x": 119.1, "y": 307.6 }, "mouth r": { "x": 215, "y": 302.9 }, "mouth_r": { "x": 215, "y": 302.9 }, "pose": { "roll": -3.71, "yaw": 3.92, "pitch": -6.44 }, "b_ll": { "x": 74.3, "y": 184.6 }, "b_lm": { "x": 103.7, "y": 174.7 }

Clustering human faces from a video

烂漫一生 提交于 2021-02-07 03:48:02
问题 I have run the face detection algorithm inbuilt in opencv to extract faces in each frame of a video(sampled at 1 fps). I have also resized each face image to be of same size and I have cropped some fraction of image to remove background noise and hair. Now the problem is that I have to cluster these images of faces - Each cluster corresponding to a person. I implemented the algorithm described here http://bitsearch.blogspot.in/2013/02/unsupervised-face-clustering-with-opencv.html Basically

Clustering human faces from a video

丶灬走出姿态 提交于 2021-02-07 03:43:02
问题 I have run the face detection algorithm inbuilt in opencv to extract faces in each frame of a video(sampled at 1 fps). I have also resized each face image to be of same size and I have cropped some fraction of image to remove background noise and hair. Now the problem is that I have to cluster these images of faces - Each cluster corresponding to a person. I implemented the algorithm described here http://bitsearch.blogspot.in/2013/02/unsupervised-face-clustering-with-opencv.html Basically

Preprocessing methods for face recognition in Python

扶醉桌前 提交于 2021-01-28 19:35:35
问题 I am working on a face recognition project where I am recognizing the faces of the person in movement which means the person keeps moving and I have to detect and recognize face. To do this I am using caffemodel for face detection and modified knn approach for face recognition. It works fine but most of the case it gives false recognition. Because the persons are moving, thus its really hard to get a good face image. Below are few examples of the face captured: Camera is placed a bit far from

setup.py install for dlib: finished with status 'error'

别说谁变了你拦得住时间么 提交于 2021-01-28 03:30:08
问题 I'm having problems installing Adam Geitgey's face_recognition library on my Windows PC. I followed this tutorial for installing dlib with Python bindings on windows and I've successfully installed the requirements listed there. However, trying to install dlib with pip throws the error setup.py install for dlib: finished with status 'error' How can I go about resolving this? 回答1: In order for dlib (with its Python bindings) to work well for you on Windows, you need to use a Python

ModuleNotFoundError: No module named 'face_recognition'

混江龙づ霸主 提交于 2021-01-28 00:33:57
问题 import face_recognition image = face_recognition.load_image_file("My_Image.png") face_locations = face_recognition.face_locations(image) print("I found {} face(s) in this photograph.".format(len(face_locations) When I run above code, I've found following error message. Traceback (most recent call last): File "sample.py", line 1, in import face_recognition And I've checked that I've found following error message when I've installed face_recognition library. pip install face_recognition

In pycharm ImportError: DLL load failed: The specified module could not be found. while importing facerecognition

倖福魔咒の 提交于 2021-01-22 07:52:43
问题 I am getting this error while importing "face_recognition" in Pycharm but it runs perfectly fine from "anaconda command prompt" . I don't understand why i am getting error in Pycharm but not in Anaconda cmd. I can successfully import cv2 in Pycharm . Can someone tell me how can i run it in pycharm? Below is complete error :- Traceback (most recent call last): File "C:/Users/r/PycharmProjects/Practise AI/check.py", line 1, in <module> import face_recognition File "C:\ProgramData\Anaconda3\lib

In pycharm ImportError: DLL load failed: The specified module could not be found. while importing facerecognition

こ雲淡風輕ζ 提交于 2021-01-22 07:50:26
问题 I am getting this error while importing "face_recognition" in Pycharm but it runs perfectly fine from "anaconda command prompt" . I don't understand why i am getting error in Pycharm but not in Anaconda cmd. I can successfully import cv2 in Pycharm . Can someone tell me how can i run it in pycharm? Below is complete error :- Traceback (most recent call last): File "C:/Users/r/PycharmProjects/Practise AI/check.py", line 1, in <module> import face_recognition File "C:\ProgramData\Anaconda3\lib

Quantize MobileFaceNet with TFLITE failed

跟風遠走 提交于 2021-01-05 12:50:20
问题 I am trying to find a solution to run face recognition on AI camera. And found that MobileFacenet (code from sirius-ai) is great as a light model! I succeed to convert to TFLITE with F32 format with good accuracy. However when I failed when quantized to uint8 with the following command: tflite_convert --output_file tf-lite/MobileFacenet_uint8_128.tflite --graph_def_file tf-lite/MobileFacenet.pb --input_arrays "input" --input_shapes "1,112,112,3" --output_arrays output --output_format TFLITE -