Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run an action upon seeing someone who hasn't been trained in? #25

Open
Aedanp07 opened this issue Sep 16, 2021 · 0 comments
Open

Comments

@Aedanp07
Copy link

Hi! I love this amazing face recognizer that you have made, and I play with it so much. There is one thing that I have a question about, though: How do you run an action upon seeing someone who hasn't been trained into the system? Basically, if the AI sees someone, and it isn't ID 1, 2, 3, etc., what ID is it? I know the code for if a certain ID is found, which is:
elif str(id) == "1":
confidence = " {0}%".format(round(100 - confidence))

but no matter how much I have toyed around with the confidence settings, I cant get it to work.
Is there is a fix to this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant