Facial recognition on offline images

Data Science Asked by Akash on December 8, 2020

I want to do facial recognition on wide varieties of images captured at various ages of my family members. Below are some of the questions I have.

  1. If a person uses glasses of different types, do I need to feed images with each glasses type in the training dataset ? What if the eyes are not visible after wearing sunglasses. ?
  2. There are many pics which ranges from childhood to current age of approx 30. Do I need to train my model with pics of various ages to get good accuracy ?
  3. Do I need to align the images of train dataset for better accuracy ?
  4. Do I need to crop the background of the images in the training dataset just to keep the faces OR background doesn’t matter ?

The idea behind my requirement is to scan through all the images on my hard disk (around 100 GB images) and classify the images in different folders for each person. I know similar thing is done on iphone and other mobile phones but I wanted to do it for the offline images stored on my external hard disk.

I was exploring facenet model from google, opencv face recognition. But stuck in the first step of dataset creation.

2 Answers

I would like add few points mentioned by Suneet Bhatia & you questions regarding iphone

  1. You have to add images with glasses to be recognize by it & definitely it will hit your accuracy. The way iphone face recognition works is different then facenet model. Iphone use face verification which is comparing one to one face & iphone not only use normal image with it use 3d structure of the face using IR camera.
  2. Added images of all age group image if your target audience of the same group otherwise it is not required.
  3. It does not matter if you don't align the face images.
  4. Always try to remove extra element from the image so try pass only face images into the network for better perform.

Problems like facial recognition, image search & semantic similarity are not actually a classification problem they are more like differentiate between 2 elements

Answered by Swapnil Pote on December 8, 2020

  1. Glasses matter. So you will need those photos in the training dataset.
  2. Yes. You will need to feed images of all ages for multiple people. This will help the model generalize how people age
  3. Alignment should not matter
  4. Background should not matter

Answered by Suneet Bhatia on December 8, 2020

Add your own answers!

Related Questions

Tool to Generate 2D Data via Mouse Clicking

3  Asked on July 25, 2021 by md004


How to include labels in sns heatmap

1  Asked on July 25, 2021 by srihari


Rules by which RStudio sets Headings

4  Asked on July 24, 2021


Is it efficient to use kernel trick in primal form of SVM?

0  Asked on July 24, 2021 by mauj-mishra


Binary image classifier always predicting one class

1  Asked on July 23, 2021 by asiffarhankhan


Check the Reliability of Questionnaire using spss

0  Asked on July 23, 2021 by user115791


Ask a Question

Get help from others!

© 2022 All rights reserved. Sites we Love: PCI Database, MenuIva, UKBizDB, Menu Kuliner, Sharing RPP, SolveDir