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.

-1
votes
1answer
47 views

Face recognition using computer's front camera, how to make it faster?

I use the face_recognition, OpenCV and Face++ Search API to make a simple real-time face recognition program using my computer's front camera. The process is to first save the frame of the camera when ...
-2
votes
0answers
21 views

Improve eyes recognition without eyebrows using opencv python

I'm trying to improve the eye recognition using Haarcascade in Python. For example I have But the generated square does not coincide with the eye. Is it possible to improve this result? import cv2 ...
0
votes
1answer
21 views

Eyes recognition using Haar-classifier of a static photo

it is possible to use haarclassifier on a static photo instead of the live streaming of the webcam? import cv2 face_cascade = cv2.CascadeClassifier('haarcascade_frontalface_default.xml') eye_cascade =...
-4
votes
0answers
14 views

How to stop audio file from continuously playing in while loop

My facial recognition program identifies me and displays hello. I added an audio to this which says "hello". But as both these conditions are inside the while loop, the audio is played continuously, ...
-4
votes
1answer
31 views

How can PHP compare with two Faces [closed]

My Question is how can php compare with Two Faces to get the percentage of similarity i won't to use any api service like google or pixlab, So what your advice ؟ Thank you all ^_^
-1
votes
0answers
12 views

Transfer learning to fine tune with my specific pretrained model in convolution neural network

I'm trying to build face recognition model for few training data, so I want to fine tuned it on top of my previously pretrained model build on huge face dataset, I don't need to build it on top of ...
0
votes
1answer
24 views

How to prevent other from using face image to fool Deep Learning model?

I'm trying developing an application to login with face with Neural Network and run in real time, how to prevent other from using my face image to login?
0
votes
1answer
56 views

Recognizing whose face it is in iOS Swift [closed]

I'm trying to research about face recognition. But not just "recognizing that there's a face feature on the video" but also "recognizing whose face it is", on iOS Swift language. So far, the resource ...
0
votes
0answers
25 views

Smooth Skin On A Selected Image

Right now I am using DLib-Android Library for face-detection and face landmarks from a given photo and up till now everything is working fine. The problem I am having right now is (or atleast I dont ...
-1
votes
0answers
26 views

List-Numpy: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

I have couple of face encodings and each has it's own json file. I want to collect them in one numpy array (which is converted to list afterwards) and send them to a face_recognition function. ...
0
votes
0answers
20 views

Getiing Eroor install dlib

ı have installed the cmake and when ı type pip install cmake its saying its already in there. but when ı write pip install dlib or face_recogntion ım getting error ERROR: Complete output from ...
1
vote
2answers
35 views

Training the facial recognition model

I'm writing a face recognizer in Python but I'm in trouble with the training part. Here's my code: import cv2 import numpy as np from os import listdir from os.path import isfile, join data_path = '...
-1
votes
0answers
42 views

Compare faces in PHP without an API

I want a PHP code to compare 2 faces and show me if two faces are the same or not without any API like PixLab or Google Vision totally free for Windows. I have a large database I have names => ...
1
vote
1answer
35 views

Transfer Learning using Keras and vgg16 on small dataset

I have to build a neural network that can recognize the face of 15 people. I'm using keras. My dataset is composed of 300 total images and is divided into Training, Validation and Test. For each of ...
1
vote
0answers
15 views

How to add new face_encodings in a existing face_encoding file in face_recognition module?

I want to save the face_encodings in a existing face_encoding file with face_recognition module, but I can't do it! Here's the code but without saving the face_encodings with the file's existing ...
1
vote
0answers
18 views

How to train in Keras a nn4.small2 model for face recognition system using a triplet loss function?

I am trying to train an nn4.small2 model for face recognition app, but I am not sure how to do it right using triplet loss function. I have found a lot of documentation about this, the most relevant ...
0
votes
0answers
18 views

Python - IndexError: List index out of range in my FaceID program

I am making a face id program that recognizes my face based on pictures I give in the program. video_capture = cv2.VideoCapture(0) # Load a sample picture and learn how to recognize it. me_image = ...
-5
votes
1answer
47 views

How to Verify People's faces Using Camera [closed]

I have some program that I want to do face verification by previously stored people faces in app data, and use the device's camera to get the current person standing in front of it, to make the ...
0
votes
0answers
9 views

My dataset for training is not linked properly

my dataset is not getting trained rather a part of it is used only BASE_DIR=os.path.dirname(os.path.abspath(__file__)) img_dir=os.path.join(BASE_DIR,"train") train is the name of my dataset folder
1
vote
0answers
14 views

Javacv Face Recognition in Android: dlopen failed: library libopencv_legacy.so not found

I am trying face recognition in Android using JavaCV (google-code). It is showing this error: java.lang.UnsatisfiedLinkError: dlopen failed: library "../../lib/libopencv_legacy.so" not found ...
0
votes
1answer
22 views

Android face recognition login

I want to implement face recognition login for my application. My Question is does android support it? does it provide any API for the same? If so is there any sample available?
0
votes
0answers
36 views

cannot install setup.py properly for face recognition

i was trying to install face_recognition on spyder and i have to install cnmake and dlib first so while installing dlib i came across this error. i tried following this site to install dlib but i ...
-1
votes
0answers
14 views

How to fix 'ValueError: operands could not be broadcast together with shapes' error with face_recognition in Python

I have been using the face_recognition library in Python to save face encodings to a file, so they can then be used later to compare faces. I can successfully save the faces, however when I try and ...
-3
votes
0answers
21 views

Is there any method to carry out machine learning in JavaScript?

I am currently developing a Face Recognition apps which is for attendance taking. We looking forward to live face recognition by using mobile phone for face capturing and using server-side machine ...
0
votes
0answers
37 views

Can I unpack a .rec file with Tensorflow, and if so, how?

Journalist here. I'm looking for examples of the MS-Celeb dataset that are still freely available online. Found one such subset here: https://ibug.doc.ic.ac.uk/resources/lightweight-face-recognition-...
-2
votes
0answers
13 views

java.lang.UnsatisfiedLinkError: dlopen failed: library “../../lib/libtbb.so” not found error in android studio

Not able to run the code Face recognizing application apply plugin: 'com.android.application' The error: java.lang.UnsatisfiedLinkError: dlopen failed: library “../../lib/libtbb.so” not found
0
votes
0answers
22 views

Invalid Token / does not exist in current context

I have written a FaceRecognition for a school project. Because I'm new to c# i don't have a clue what to do. Thank you in advance using Emgu.CV; using Emgu.CV.Structure; using System; using System....
-2
votes
0answers
44 views

How store face encoding in postgresql

Can anyone help to solve this? I have a dictionary of more than 10,000 elements that has strings as keys and an array as the value. I'm using python and want to save on postgresql. I want to store ...
-1
votes
2answers
39 views

can't send/request base64 to azure face api with python

I want to send the image up on azure face api but it is straightforward to convert the image file to base64 and cannot send requests. this is code request azure face api,running python but code show ...
0
votes
0answers
12 views

MS Face API. getFaceServiceClient() is null

I'm making an android app that uses Face API to verify that 2 photos taken with camera are from the same person. I've already create the UUID's from 2 images and started the verification process ...
0
votes
0answers
31 views

How to name the detected object in OpenCV

How to name the detected object in openCV? I have a simple code which detect face using Haar cascad in openCV. That works great, but i need to named a detected object. For example, when i detect face,...
0
votes
0answers
37 views

Keras Face Recognition model bad accuracy

I am struggling for some days to create my own model for face recognition with Keras in python. I will walk you through my setup and give you my code, I'm sure there is something I'm not doing right ...
-1
votes
1answer
21 views

Library for face recognition

How to install face_recognition package on python3. I tried it by using, pip install face_recognition but not working when compiling . On statement. import face_recognition The error is no ...
0
votes
0answers
37 views

Siamese network - the same predictions for different picture

I've created siamese neural network for face recognition. I use Keras lib. My model looks like: def create_base_model(): xception = Xception(include_top=False, weights=None, input_shape=...
0
votes
1answer
13 views

How can I separate images on the basis of face data

How can I separate images on the basis of face data, My problem statement is I want to recognize the person in the image is already present in our image database or not. Can you have any API for the ...
0
votes
0answers
82 views

Python Multi-threaded Face Recognition in Opencv

I'm trying to build a face recognition program with Python 3.6 with Opencv. I wrote a code that; when there is my face on screen, there is a red square around my face including my name. And it prints ...
0
votes
0answers
15 views

Can't setup recognizer using openCV (cv2)

I am trying to create face recognition software using Python and OpenCV but when i try to create the Recognizer it says cv2: cv2 Instance of 'module' has no 'LBPHFaceRecognizer_create' member in the ...
0
votes
0answers
19 views

How to search BLOB in MySQL database?

I have stored an image as a BLOB file into MySQL database. Now I want to search for the BLOB file. I know I can't search for BLOB file using query like (WHERE blob_file = column_name). But I want to ...
0
votes
0answers
22 views

Sometimes I'm getting exact 0 confidence value for the same person in azure face verify api

Face is detected but sometimes I'm getting exact 0 confidence value. After some time I have tried for the same then it gives confidence 0.81. The problem is arrived randomly.
0
votes
0answers
28 views

Selecting strongest SIFT features for face recognition

I'm trying to build a python code that recognize human face. I extracted SIFT features of the training face and tested face and matching them as the following code: img1 = cv2.imread("path\of\tested\...
-1
votes
0answers
17 views

Why is the wheel for dlib buillding for so long?

So, I am trying to install "face_recognition" on a Raspberry Pi, using pip3 install face_recognition. At a certain moment, the installing process showed me that Building wheel for dlib (setup.py) .... ...
-2
votes
1answer
59 views

Face recognition with Azure Face Api using Angular 7

I need to develop a face recognition system in using Angular with Azure Face API. However, the documentation for Azure Face API is in C#. Could anyone help me rewrite it to typescript? This is the ...
1
vote
0answers
31 views

How to make an app like Oldify in Java Using OpenCv Framework?

How can we build an app that will detect a human face using camera and make it old. There are many apps like Oldify which can work on face aging but I really don't how they work. I am little bit ...
0
votes
0answers
35 views

Is there any facial authentication API to implement in Android?

I am trying to implement Facial authentication in Android. I can see Android SDK has a Face Detector API where I can detect the faces. But is there any API which can be used to authenticate the user ...
0
votes
0answers
66 views

How to recognize unknown faces in face recognition using emguCV c#?

I'm working on a face recognition system using emguCV 4.0.1 where I'm facing issue in detecting unknown faces. The issue is system always returns nearest matching face from the database for the ...
-5
votes
1answer
169 views

Face recognition accuracy with openCV for C#

I'm working on face recognition system where I'm facing issue in detecting unknown faces. The issue is system always returns nearest matching face from the database for the unknown face. I have used ...
0
votes
0answers
59 views

how to stop streaming opencv frames to the browser

I am trying to stream opencv frames to the browser. Upon research, i came across Miguel's tutorial: https://blog.miguelgrinberg.com/post/video-streaming-with-flask/page/10 Let me break down what I'm ...
0
votes
1answer
26 views

how to get labels in multilabel facial recognition

I used the ImagedataGenerator and flow from directory to train a CNN model for the task and saved into a .h5 file. While prediction the logits or an array of numbers are being displayed and not the ...
0
votes
1answer
47 views

DlibDotNet exception while running a unit test: System.DllNotFoundException: Unable to load shared library 'DlibDotNetNative'

I'm trying to run a unit test written for a service, that provides face detection functions. But, when it tries to use $ Dlib.GetFrontalFaceDetector() It throws an exception System....
-1
votes
1answer
30 views

How to fix “attributeerror: type object 'rpi.gpio.pwm' has no attribute 'servo' ”?

I am running the code I got from this link : https://learn.adafruit.com/raspberry-pi-face-recognition-treasure-box/software I want to imply the face recognition on a raspberry pi 3 B+. However ...