Ask Your Question
0

How to generate unique face id for detected face from image ?

asked 2013-06-24 23:44:45 -0600

Piyushkp gravatar image

I am extracting images from the video by interval by 1 second, am able to detect all the faces from the image. Now every after one second new image will be generated and i want to find out the way to distinguish the unique faces across images. so i decided to generate the faceID for each faces detected in one image and will do the same thing for consequence image so at the end i can filter out the data based on faceID.

is there any other idea (except faceID) to solve above problem ?

I would prefer some solution based on OpenCV, EmguCV.

edit retag flag offensive close merge delete

Comments

1

There is nothing like faceID - if you find it, you'll be rich :) What you can do is to build (or use an already documented) way to measure similarity between faces - and put a threshold on where two very similay images belong to the same human. Google 'face recognition' to find some inspiration.

sammy gravatar imagesammy ( 2013-06-25 01:56:56 -0600 )edit

OpenCV has a face recognition module, but you should acknowledge that the accuracy will be far from perfect.

sammy gravatar imagesammy ( 2013-06-25 01:58:27 -0600 )edit

thanks sammy. I was just thinking the way we generate the fingerprint ID can't we generate it for the face ?

Piyushkp gravatar imagePiyushkp ( 2013-06-27 00:59:21 -0600 )edit

Fingerprint ID is just a marketing term - completely disconnected from the technical details needed to identify a person by their fingerprint. The process is similar there, however, it's much simpler for fingerprints, due to some specifics of fingerprint scanning & structure.

sammy gravatar imagesammy ( 2013-06-27 01:26:23 -0600 )edit

Sammy, i want to find out the count of people from the video surveillance for given time period. so what i have done so far is i am extracting images from the video upon certain time interval (5 sec) and from the image am counting the faces but there might be a case that one person standing in front of camera for about 1 min so that person will be on every images of that 1 min, i wanted to have unique count of people, is there any other way to filter out duplicate faces ?

Piyushkp gravatar imagePiyushkp ( 2013-06-27 04:54:45 -0600 )edit

Read some papers on face recognition, and you'll have an idea on where to start. Just that it's not going to be a few lines of code, neither a magical getID(face). It's not something you would answer in a post here.

sammy gravatar imagesammy ( 2013-06-27 09:59:00 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-07-31 00:09:02 -0600

Hello, I am working on the same problem. What I do is create an array of face images I have found in realtime, and then use the recognizer to recognize the face. IF the face is not recognized (you have to set a threshold for confidence), then I add that face. You can then create a sequential code for each face and store that in your array. So, its not a getID(face), but it comes close :D

edit flag offensive delete link more

Comments

What kind of recognizer to you use? Do you have a trained model behind it or it's just pure algorithmics?

Irina gravatar imageIrina ( 2019-04-18 08:15:17 -0600 )edit

Question Tools

Stats

Asked: 2013-06-24 23:44:45 -0600

Seen: 3,894 times

Last updated: Jun 24 '13