face-recognition

Is this the right way of projecting the training set into the eigespace? MATLAB

梦想与她 提交于 2019-12-04 02:00:26
问题 I have computed PCA using the following : function [signals,V] = pca2(data) [M,N] = size(data); data = reshape(data, M*N,1); % subtract off the mean for each dimension mn = mean(data,2); data = bsxfun(@minus, data, mean(data,1)); % construct the matrix Y Y = data'*data / (M*N-1); [V D] = eigs(Y, 10); % reduce to 10 dimension % project the original data signals = data * V; My question is: Is "signals" is the projection of the training set into the eigenspace? I saw in "Amir Hossein" code that

Open CV Face Recognition not accurate

血红的双手。 提交于 2019-12-03 17:30:52
问题 In my app I'm trying to do face recognition on a specific image using Open CV, here first I'm training one image and then after training that image if I run face recognition on that image it successfully recognizes that trained face. However, when I turn to another picture of the same person recognition does not work. It just works on the trained image, so my question is how do I rectify it? Update: What i want to do is that user should select image of a person from storage and then after

Implementing Face Recognition using Local Descriptors (Unsupervised Learning)

二次信任 提交于 2019-12-03 16:40:27
I'm trying to implement a face recognition algorithm using Python. I want to be able to receive a directory of images, and compute pair-wise distances between them, when short distances should hopefully correspond to the images belonging to the same person. The ultimate goal is to cluster images and perform some basic face identification tasks (unsupervised learning). Because of the unsupervised setting, my approach to the problem is to calculate a "face signature" (a vector in R^d for some int d) and then figure out a metric in which two faces belonging to the same person will indeed have a

How to do Face Recognition using OpenCV? [closed]

回眸只為那壹抹淺笑 提交于 2019-12-03 11:22:14
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I am trying to do some Face Recognition (not detection) stuff using OpenCV. I found this article with some code: http://www.cognotics.com/opencv/servo_2007_series/index.html However, this code is written using the older C-style OpenCV API. Does someone have a C++ API version of this using a more recent version

How can I use Android's Face Unlock within my own private application?

耗尽温柔 提交于 2019-12-03 11:11:17
问题 I want to use Face Unlock as a second factor for my app, since most of my users will not lock their phones with a password. Are there Android APIs available to integrate Face Unlock in an Android app? There are Face Detection APIs out there for photo recognition, but I couldn't find APIs available that can be used in an offline scenario, specifically for an additional factor within an application. If you need a real world example, assume that this is a password manager, or the phone will be

Android- face Recognition using openCV?

為{幸葍}努か 提交于 2019-12-03 09:05:18
In my application im going to implement face Recognition login... so i go with the openCV library for Recognize face... please help me to do this with sample code and tutorials.... Thanks in advance a.bertucci Well, my colleagues and I did some investigation on face recognition last year, and these are some of ours considerations about using integrated recognition tools vs JavaCV (the Java bindings for OpenCV): Please check below tutorials Face Detection on Andriod Part-I ( Wayback link ) Face Detection on Andriod Part-II ( Wayback link ) Hope it helps :) you can use NDK for using C/C++ OpenCV

Opencv 2.4.2 Code Explanation-Face Recognition

我的梦境 提交于 2019-12-03 07:51:30
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 vector that they are using is produced as follows face_cascade.detectMultiScale(frame_gray,faces,1.1,2,0

Uniform Circular LBP face recognition implementation

怎甘沉沦 提交于 2019-12-03 07:13:08
I am trying to implement a basic face recognition system using Uniform Circular LBP (8 Points in 1 unit radius neighborhood). I am taking an image, re-sizing it to 200 x 200 pixels and then splitting the image in 8x8 little images . I then compute the histogram for each little image and get a list of histograms . To compare 2 images , I compute chi-squared distance between the corresponding histograms and generate a score. Here's my Uniform LBP implementation: import numpy as np import math uniform = {0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 58, 6: 5, 7: 6, 8: 7, 9: 58, 10: 58, 11: 58, 12: 8, 13: 58,

Face recognition [closed]

早过忘川 提交于 2019-12-03 06:25:15
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 years ago . I was wondering, how does face recognition exactly work? Because everyone has a different face, you can't detect some 'general' face or something. 回答1: Jun Zhang et al. (1997) investigate three distinct methods of face recognition applicable to computer vision, each a noteworthy

Face detection and comparison

霸气de小男生 提交于 2019-12-03 04:04:33
问题 I'm running a small research on face detection and comparison for my article. Currently, I'm using rapid face detection based on haar like features based on OpenCV cascade (I'll implement learning later). The next step is making face comparison. Are there any well know algorithms? It'll be great, if there are some C# codes, explaining them or some dll's that implements them. 回答1: Eigenfaces To generate a set of eigenfaces, a large set of digitized images of human faces, taken under the same