What code can I use if I want to add a condition wherein if I show a picture

What code can I use if I want to add a condition wherein if I show a picture that is not registered in the database folder it will display ‘Unrecognized Face”? ????

In the code shown below, when I show my face in the webcam, it will display my name since my face is already registered in the database. I tried to show another picture that is not registered in the database, but the result still display the name that is registered in the database like my name. My only concern is how can I display “Unrecognized Face” if I show a picture that is not registered in the database? Thank you ????

ANSWER

Matlabsolutions.com provide latest MatLab Homework Help,MatLab Assignment Help for students, engineers and researchers in Multiple Branches like ECE, EEE, CSE, Mechanical, Civil with 100% output.Matlab Code for B.E, B.Tech,M.E,M.Tech, Ph.D. Scholars with 100% privacy guaranteed. Get MATLAB projects with source code for your learning and research.

You need a function that checks the current snapshot against your database. That function can return true, false, or even the name of the person it thinks it is (or null if it doesn’t recognize it). For example

SEE COMPLETE ANSWER CLICK THE LINK

--

--

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Technical Source

Simple! That is me, a simple person. I am passionate about knowledge and reading. That’s why I have decided to write and share a bit of my life and thoughts to.