i do a face recognition and i got some problem. How to know someone does not have in our database

6 views (last 30 days)
i am a new programmer and i do a face recognition system by using Alexnet (CNN). i got some problem that is how to know someone does not have in our database
so i have 44 classes and i test with new person that untrained. so the result is output show random id in database. it's wrong. i need to display that person is not in database
how do i slove this problem
thankyou in advance.

Answers (1)

Dheeraj Singh
Dheeraj Singh on 24 Jul 2019
One way to do it is, by creating an extra class. Using AlexNet, whenever you give an image, you will get confidence value for each class.
So, whenever you give image of someone who is not in the dataset, then you will get low-confidence values for all the 44 classes. You can put some threshold depending on which you can classify the image into the 45thclass.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!