-
Notifications
You must be signed in to change notification settings - Fork 219
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
Clustering faces #1475
Comments
DBScan seems a good choice. If the python implementation performance is bad, for sure there are some java implementations out there, since it is a classic clustering algorithm. This would also avoid the need to manually install another python dependency, but since face detection already needs manual installation, I'm ok with it. |
Now it is grouping the item by any face inside the item, but the information about what face is in the group is lost. Maybe there is another way to store this info. |
The python lib is presenting the following error: The current solution I found is to set the environment variable OPENBLAS_NUM_THREADS to 4. |
Maybe the best solution is to change the python task to a java one, and mantain only the FaceRecognitionProcess as a python code. This would allow the use of a java DBScan lib for clustering, bypassing the python thread problems. What do you think? |
This is possible, but I think it would improve performance just if the java library is multithreaded. I've found this in the past: But it seems single threaded at first sight... |
…compiled; Log the time spent extracting faces and the total time for grouping the faces;
In order to improve #1472, an clustering algorithm should be used. I'm planing to implement a simple one, as the one presented here https://pyimagesearch.com/2018/07/09/face-clustering-with-python
Do you have any suggestions?
The text was updated successfully, but these errors were encountered: