face-recognition

Setup.py error when installing dlib on Windows 10 [PYTHON]

Setup.py error when installing dlib on Windows 10 [PYTHON] Question: Whenever I try to install dlib using pip install dlib or pip3 install dlib, I get the following error message error I have already downloaded cmake and cv2, and I have also added cmake bin to the environment variables, I am not sure what else …

Total answers: 1

face recognition Library in python install error

face recognition Library in python install error Question: I installed cmake,opencv,dlib and face_recognition and all of them are installed succesfully without any error when i try to import face_recognition import face_recognition I get this error Traceback (most recent call last): File "c:UsersWAJIHDesktoppop.py", line 1, in <module> import face_recognition ValueError: source code string cannot contain null …

Total answers: 2

Gradual face_recognition encoding python – Numpy error?

Gradual face_recognition encoding python – Numpy error? Question: I am using the "Extracting features from Face" code from https://www.mygreatlearning.com/blog/face-recognition/ in order to encode facial recognition data in to make an attendance marker. However, this code creates the data from scratch each time. Looping through each file again on every run takes substantial time. For efficiency …

Total answers: 1

Transform image from a side to front face view

Transform image from a side to front face view Question: I’m continiously working with face recognition issues and finally decided to try to solve the main one: how to transform face image from partial / side view to front view? The similar issue raised here at Stackoverflow but the only proposals are not working / …

Total answers: 1

problem in Installing (python Library) face_recognition on windows 10/11

problem in Installing (python Library) face_recognition on windows 10/11 Question: I am using python 3.9.9 pip 21.3.1 I am trying to install face_recognition so I installed CMake then when I tried to install dlib using command pip install dlib I got the following Collecting dlib Using cached dlib-19.22.1.tar.gz (7.4 MB) Prep aring metadata (setup.py) … …

Total answers: 2

Open Cv add jewelry image to captured face issue

Open Cv add jewelry image to captured face issue Question: I have implemented the code where i am capturing the image and saving that image, After that i have another code which adds jewelry to that captured image, But i am facing issue while adding jewelry to captured face error==> "face_landmarks = face_landmarks_list[0] IndexError: list …

Total answers: 1

ModuleNotFoundError: No module named 'face_recognition'

ModuleNotFoundError: No module named 'face_recognition' Question: 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 …

Total answers: 4

face_recognition and black&white images

face_recognition and black&white images Question: I’m using face_recognition library to recognise persons on images. According to the library documentation, it supports two input image formats for further processing: RGB (8 bit, 3 channels) and L (black and white). I tried to use face_recognition.api.load_image_file(file, mode=’RGB’) and it’s ok. But I need to use L-mode and that’s …

Total answers: 1

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

Face comparison (Not recognition or detection) using OpenCV and Keras? Question: 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 …

Total answers: 4