compreface-python-sdk
compreface-python-sdk copied to clipboard
Question : How can I check if a Subject already exist in the database ?
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.
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.