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

When I synchronize the PostgreSQL database with third-party software, facial recognition fails to work correctly #1232

Open
newlife0007 opened this issue Mar 23, 2024 · 0 comments

Comments

@newlife0007
Copy link

After synchronizing the local 'compreface-postgres-db' database to the server's 'compreface-postgres-db' using third-party software, images and lists can be displayed correctly. However, when I perform RECOGNITION (facial recognition), faces can be correctly identified locally, but not on the online server.

After trying, using the command 'docker-compose restart compreface-api' solves the problem, and face recognition works correctly.

I understand that the API service runs PostgreSQL loaded into RAM. When faces are added locally through SDK or RESTful, does the code update the cache?
However, only synchronizing the database to the online server without updating the cache causes the corresponding faces to be recognized incorrectly. Is there a way to trigger cache updates when the database is updated, or to manually update the cache with a command?

Additionally,

If one face is 200kb and a subject has 6 images, how many subjects can be stored?
Does the API load all faces into RAM? Could there be a situation where RAM is insufficient, or is there a limit on subjects?

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