Questions tagged [facial-identification]

98 questions
12
votes
1 answer

Customize biometricPrompt

I have problem with customization biometricPrompt in android devices. I use only authorization with fingerprint, but some devices with android 9.0 (for example Samsung Galaxy S10+) for authorization use fingerprint if allowed but the same with…
7
votes
6 answers

OpenCV 4.0.0 SystemError: returned a result with an error set

Hello I am trying to create a facial recognition program but I have a peculiar error: here is my code: gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) face_cascade = cv2.CascadeClassifier("lbpcascade_frontalface.xml") faces =…
Tyler Strouth
  • 583
  • 3
  • 6
  • 13
5
votes
2 answers

OpenCV 4 TypeError: Expected cv::UMat for argument 'labels'

I am writing a facial recognition program and I keep getting this error when I try to train my recognizer TypeError: Expected cv::UMat for argument 'labels' my code is def detect_face(img): gray = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) …
Tyler Strouth
  • 583
  • 3
  • 6
  • 13
4
votes
2 answers

Using MTCNN with a webcam via OpenCV

I wish to be able to use a webcam and utilize MTCNN as the primary facial detector. Just as one can use Haar Cascades, I want to use MTCNN to find faces on my webcam This video is about breaking MTCNN, but nonetheless provides insight into my goal:…
3
votes
1 answer

Can I load and train a Keras model again with new targets?

I am aware that that after training a Neural Network model already, I could save it and in the future load the model to train again. However, what if I would like to incorporate new targets into the model to train? For instance, I am building a face…
3
votes
2 answers

Facial recognition with color images?

In many examples across the web of facial recognition with OpenCV, i see images being converted to grayscale as part of the "pre-processing" for the facial recognition functionality. What would happen if a color image was used for facial…
user1431072
  • 912
  • 1
  • 9
  • 27
3
votes
2 answers

Streaming webcam video to AWS Kinesis?

I know this might be a relatively generic question, but I'm trying to see how I can get pointed in the right direction... I'm trying to build a live face recognition app, using AWS Rekognition. I'm pretty comfortable with the API, and using static…
nukalov
  • 1,079
  • 10
  • 16
3
votes
0 answers

Choosing LBP sampling points and radius for good facial features

I am trying to do some feature engineering on facial images using Python and OpenCV. The idea is to use those features for unsupervised learning to group images of the same person together. The pipeline is as follows: Choose one of several OpenCV…
2
votes
1 answer

I am working on a facial recognition and attendance system which writes the name and time in a CSV file, but the same person is logged multiple times

I am working on a facial recognition and attendance system which writes the name and time in a CSV file.In order to avoid logging the same person for multiple 'in' times i am writtng a logic which checks if the name is present in the attendance log…
2
votes
1 answer

BiometricManager on Android 9

Android 9/Android P (API 28) is said to support facial recognition via BiometricPrompt. All of the tutorials that I've read use BiometricManager for detecting Facial recognition support - but this class wasn't added until API 29 (Android 10/Android…
2
votes
2 answers

Python TypeError: UMat() missing required argument 'ranges' (pos 2)

I am writing a facial recognition program and I keep getting this error, and I am just very confused I see no other examples on the web where people include ranges when converting to UMat Traceback (most recent call last): File "test.py", line…
Tyler Strouth
  • 583
  • 3
  • 6
  • 13
2
votes
1 answer

Facemark or Kazemi in Android

I have been working on integrating OpenCV in android and i am able to do it successfully. Through the Java presets and Haarcascades i am able to detect Face, Nose, Mouth at runtime. Now may next task is to detect facial landmarks at runtime. After…
2
votes
2 answers

AWS rekognition and s3 bucket region

I am getting the following error when trying to access my s3 bucket with aws rekognition: message: 'Unable to get object metadata from S3. Check object key, region and/or access permissions.', My hunch is it has something to do with the region.…
1
vote
2 answers

Drawing rectangles using OpenCvSharp

I am trying to draw the faces detected in a video live on it, but I seem to be having troubles getting it to work var haarcascade = new CascadeClassifier("C:/Users/NotMyName/Desktop/haar/haarcascade_frontalface_alt2.xml"); using (Window window = new…
Manuel P
  • 23
  • 3
1
vote
0 answers

Matlab: Unable to perform assignment because the size of the left side is 1-by-2304 and the size of the right side is 1-by-0. After resizing image

trainingSet = imageDatastore(syntheticDir, 'IncludeSubfolders', true, 'LabelSource', 'foldernames'); numImages = numel(trainingSet.Files); trainingFeatures = zeros(numImages, hogFeatureSize, 'single'); faceDetector =…
1
2 3 4 5 6 7