face-recognition

Error converting Facenet model .pb file to TFLITE format

久未见 提交于 2019-12-04 20:36:58
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/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not

MATLAB Eye Recognition

一世执手 提交于 2019-12-04 19:14:44
Is it possible to detect eye in the video mode in MATLAB? I am trying to detect the eye and make some predictions based on the movement of the eye. But am not sure on how to do that. Can someone help me in how to start about that? Thanks in advance. You could take a look at this set of functions on The MathWorks File Exchange: Fast Eyetracking by Peter Aldrian . Quoting from the description of the post (to give a little more detail here): This project handles with the question how to extract fixed feature points from a given face in a real time environment. It is based on the idea, that a face

How to extract face from an image?

浪尽此生 提交于 2019-12-04 18:13:35
I have successfully detected a face out of an image having other things in background using OpenCv . Now I need to extract just the detected part (i.e. face) and convert it into some image format like jpeg or gif to make a face database to use for my neural net training. How can I do this? Once you detect the faces, you get opposite corners of a rectangle, which is used to draw rectangles around the face. Now you can set image ROI ( Region of Interest) , crop the ROI and save it as another image. /* After detecting the rectangle points, Do as follows */ /* sets the Region of Interest Note that

How to design a REStful API for a media analysis engine

落花浮王杯 提交于 2019-12-04 16:54:28
I am new to Restful concept and have to design a simple API for a media analysis service I need to set up, to perform various tasks, e.g. face analysis, region detection, etc. on uploaded images and video. Outline of my initial design is as follows: Client POSTs a configuration XML file to http://manalysis.com/facerecognition . This creates a profile that can be used for multiple analysis sessions. Response XML includes a ProfileID to refer to this profile. Clients can skip this step to use the default config parameters Client POSTs video data to be analyzed to http://manalysis.com

error with cv2.face.mindistancepredictcollector()

寵の児 提交于 2019-12-04 12:49:36
I have installed opencv 3.1.0 with extra modules, but when I try to use >>> s = cv2.face.MinDistancePredictCollector() it returns an error Traceback (most recent call last): File "<pyshell#5>", line 1, in <module> s.MinDistancePredictCollector() AttributeError: 'module' object has no attribute 'MinDistancePredictCollector' I also checked the documentation: >>> help(cv2.face) Help on module cv2.face in cv2: NAME cv2.face FILE (built-in) FUNCTIONS StandardCollector_create(...) StandardCollector_create([, threshold]) -> retval createEigenFaceRecognizer(...) createEigenFaceRecognizer([, num

Opencv 2.4.2 Code Explanation-Face Recognition

时光毁灭记忆、已成空白 提交于 2019-12-04 12:01:11
问题 I have referred the documentation provided by OpenCV to make a face recognition program, it recognizes multiple faces and is working normally. In the documentation they have made ellipses to highlight the face. What I don't understand is how they have calculated the center of the ellipse which they have calculated as follows for( int i = 0; i < faces.size(); i++ ) { Point center(faces[i].x+faces[i].width*0.5,faces[i].y+faces[i].height*0.5); //more code follows drawing the ellipse The faces

Any tips on confidence score for face verification (as opposed to face recognition)?

喜夏-厌秋 提交于 2019-12-04 11:47:33
I'm using eigenfaces (PCA) for face recognition in my code. I used the tutorials in OpenCV's website as a reference. While this works great for recognizing faces (ie it can tell you who is who correctly), the confidence-score based face verification (or imposter detection- verifying whether the face is enrolled in the training set) doesn't work well at all. I compute a Euclidean distance and use it as a confidence threshold. Are there any other ways I could calculate a confidence threshold? I tried using Mahalanobis distance as mentioned in http://www.cognotics.com/opencv/servo_2007_series

iOS11 vision framework mapping all face landmarks

无人久伴 提交于 2019-12-04 08:11:19
问题 I am playing with vision framework and getting all landmark points with this code: if let allFaceLandmarks = landmarks.allPoints { print(allFaceLandmarks) } But cant find mapping for these points. For example index numbers for right eye. Looking for something the same as this, but for Vision framework instead. 回答1: I have no clue why apple doesn't provide a graphic of this. It seems like it would be super helpful information to give people in the docs. At any rate, I was able to read the

Face recognition in Java

≡放荡痞女 提交于 2019-12-04 07:48:42
问题 Can any one suggest me an open source face recognition framework in Java? 回答1: There are a few open-source Face Recognition Java systems you can try, but don't expect much, because I am looking for the same thing but I'm still looking for a better option! Note that finding any face within in image is called "Face Detection", following any face is called "Face Tracking", and determining the identity of a detected face is called "Face Recognition". I'm telling you this because you probably have

Biometrics with iris and face recognition

╄→гoц情女王★ 提交于 2019-12-04 05:05:41
In blog Better Biometrics in Android P they said: "To keep users safe, most apps and devices have an authentication mechanism, or a way to prove that you're you. These mechanisms fall into three categories: knowledge factors, possession factors, and biometric factors. Knowledge factors ask for something you know (like a PIN or a password), possession factors ask for something you have (like a token generator or security key), and biometric factors ask for something you are (like your fingerprint, iris, or face)". But when I read in BiometricPrompt API, I can't see document for iris or face,