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

Question : How can I check if a Subject already exist in the database ? #16

Open
Jean-Jerome-Casalonga-i2 opened this issue Oct 25, 2022 · 1 comment

Comments

@Jean-Jerome-Casalonga-i2

Hi,
How can I check that a Subject already exists in the databse, using its subject value ?

The idea is that I only want to add in the database new persons. So, before I do an Add, I'd like to test if the DB contains this Subject or not.
I couldn't find a method for this (apart from loading the full DB with recognition.get_face_collection() , and then using this locally).

Thanks a lot for your help.

@pospielov
Copy link
Contributor

CompreFace doesn't support it now.
As a workaround, you can store the list of subjects externally.
Another workaround - use the method List Subjects that will return all subjects and then do a search locally.

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

2 participants