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

1 visualización (últimos 30 días)
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.

Respuestas (1)

Dheeraj Singh
Dheeraj Singh el 24 de Jul. de 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.

Categorías

Más información sobre Introduction to Installation and Licensing en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by