face-recognition

opencv facerecognition: subspaceproject and subspacereconstruct methods in python

帅比萌擦擦* 提交于 2019-12-11 07:38:29
问题 I have searched through the web, but haven't found any answer so far to the following question, therefore I want to ask here if someone could help me out with that: basically what i need is the same as in the solution from PraveenofPersia/Jesse there, but only the python implementation considering a Fisherface Recognizer: Any tips on confidence score for face verification (as opposed to face recognition)? up to now I am facing the problem, that cv2 does not offer either subspaceProject nor

How to use the FaceRecognizer library created in openCV from Java?

て烟熏妆下的殇ゞ 提交于 2019-12-11 01:43:14
问题 I am trying to implement a face recognizer in java. I got this code example and made changes to fit my requirements on how the system should behave. It works but then when I have images of the same person in different light intensities its efficiency drops. I read that there is a library inserted in openCV for faceRecognizer but then its samples are implemented in c++. Is there any way i can use this library to code in java? and also if we can use it then will it increase the efficiency of

Face Recognition in android

百般思念 提交于 2019-12-10 18:55:40
问题 I need to implement face recognition login in my app in Android 4.0. As face recognition unlock is available in Android Ice-Cream Sandwich, is there any open SDK or in built libraries to implement this feature. So far, i have come across external APIs such as http://www.kooaba.com/ , http://developers.face.com/docs/ .I know how to detect a face but is there any in-built support for face recognition login or I have to use the external APIs ? Any help would be appreciated. 回答1: As far as I am

Windows Login Integration

China☆狼群 提交于 2019-12-10 18:46:48
问题 I am building facial recognition software for a certain purpose, however, as a spin-off i would like to use that same software / concept, to automatically recognize me when i sit in front of the PC, and log me in. recognition is handled.. however, i need to incorporate this into windows, the same way fingerprint logins work. where can i go to get some more info on the doing this? 回答1: If you're targeting Vista/Win7, see Create Custom Login Experiences With Credential Providers For Windows

Most similar face recognition in Python

喜欢而已 提交于 2019-12-10 17:33:15
问题 How can I use Python and OpenCV to find facial similarity ? I've successfully used OpenCV and Python to extract faces from multiple photographs using Haar Cascades. I now have a directory of images, all of which are faces of different people. What I'd like to do is take a sample image, and then see which face it most looks like. I've tried using pyssim: pyssim needle.jpg "haystack/*" But, unfortunately, it's looking a image similarity (colours etc) rather than facial features. To reiterate -

Is conversion to gray scale a necessary step in Image preprocessing?

拜拜、爱过 提交于 2019-12-10 13:49:08
问题 I would like to know if converting an image to gray scale is necessary step for all image pre processing techniques. I am using a neural network for face recognition. Is it really necessary for converting it into a gray scale or can I give color images also as input to neural networks? 回答1: Converting to gray scale is not necessary for image processing, but is usually done for a few reasons: Simplicity - Many image processing operations work on a plane of image data (e.g., a single color

C# - Emgu Cv - Face Recognition- Loading training sets of Faces saved to Access database as a binary in to EigenObjectRecognizer for Face recognition

半城伤御伤魂 提交于 2019-12-10 12:19:13
问题 I was having a hard time loading training set from Ms Access database in to the main form that does the Face Recognition. I saved the training sets with their names and ID in to the database as a binary data with an OLE Object format.The method i used to change, save and read the data from the database and in to the training sets is private static byte[] ConvertImageToBytes(Image InputImage) { using (Bitmap BmpImage = new Bitmap(InputImage)) { using (MemoryStream MyStream = new MemoryStream()

Face recognition - Python

感情迁移 提交于 2019-12-10 06:49:39
问题 I am trying to make face recognition by Principal Component Analysis (PCA) using python. Now I am able to get the minimum euclidean distance between the training images images and the input image input_image . Here is my code: import os from PIL import Image import numpy as np import glob import numpy.linalg as linalg #Step1: put database images into a 2D array filenames = glob.glob('C:\\Users\\me\\Downloads\\/*.pgm') filenames.sort() img = [Image.open(fn).convert('L').resize((90, 90)) for fn

How to fix “At least two classes are needed to perform a LDA”?

徘徊边缘 提交于 2019-12-10 05:15:26
问题 I'm trying to run this sample with OpenCV, but running it: ./facerec_video haarcascade_frontalface_alt.xml csv_align -1 gives me this error: OpenCV Error: Bad argument (At least two classes are needed to perform a LDA. Reason: Only one class was given!) in lda, file /build/buildd/opencv-2.4.8+dfsg1/modules/contrib/src/lda.cpp, line 1010 terminate called after throwing an instance of 'cv::Exception' what(): /build/buildd/opencv-2.4.8+dfsg1/modules/contrib/src/lda.cpp:1010: error: (-5) At least

Error converting Facenet model .pb file to TFLITE format

孤者浪人 提交于 2019-12-09 23:57:54
问题 i'm trying to convert a pre-trained frozen .pb based on Inception ResNet i got from David Sandbergs Github with the Tensorflow Lite Converter on Ubuntu using the following command: /home/nils/.local/bin/tflite_convert --output_file=/home/nils/Documents/frozen.tflite --graph_def_file=/home/nils/Documents/20180402-114759/20180402-114759.pb --input_arrays=input --output_arrays=embeddings --input_shapes=1,160,160,3 However, i get the following error: 2018-12-03 15:03:16.807431: I tensorflow/core