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

extend the backend custom field and api #934

Closed
neonleo opened this issue Oct 29, 2022 · 4 comments
Closed

extend the backend custom field and api #934

neonleo opened this issue Oct 29, 2022 · 4 comments

Comments

@neonleo
Copy link

neonleo commented Oct 29, 2022

The UI current provide a key associate a subject, is it possible extend the field like person name as well as return the person name when return recognize result?

@pospielov
Copy link
Collaborator

I didn't get what do you mean.
Could you provide an example of the REST endpoint you want to extend, and how do you see the response?

@neonleo
Copy link
Author

neonleo commented Nov 3, 2022

when add subject, I have to input the subject key and upload the image for train, but i want add more textbox, let say first name and last name associate to the subject.

@pospielov
Copy link
Collaborator

My best practice advice would be to store all personal information in an external system.
And then link the external id with CompreFace subject_id.
It will be easier to comply with legal regulations like GDPR, as you won't store any sensitive information in CompreFace, all info will be anonymized.

But if you still want to store more info for functional reasons, the only workaround I can suggest is to put all info in subject_id, e.g., subject id will be "first_name.last_name"

@neonleo
Copy link
Author

neonleo commented Nov 4, 2022

Thanks for advice 😀

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