-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Face Recognition does not work on images #201
Comments
Addendum: I have now reinstalled the nextcloud app in the app interface and activated face recognition in the interface for the admin account. When manually starting the background task 10 faces were recognized on the nextcloud community jpg. However these faces are not shown in the web interface. The web interface still shows that the analysis is disabled, even though the tick mark is set.
|
Hi @jahknem Thank you very much for reporting .. 😄 And thank you very much for using the template .. You almost deserve a prize because you're the first. 😅 🎉 Seeing the log of the command, it seems that the user Jan finished. I understand whit you report that it always finish without analyzing any images. No? Can you check the You can try to reset the user using the |
Woo @jahknem
The command expects to gather 100 faces before clustering them into 'Persons' This is to ensure the stability of the clusters/persons.
This seems like a bug. I didn't check it, but to make sure, can you show me a screenshot? 😞 |
Hi @matiasdelellis thanks for the fast answer!
Second run after reset:
Sadly I do not know where to find the oc_facerecog_images table, could you tell me? If I'm correct it all seems to hinge on the fact that the pictures of user jan are not valid. All images of user admin seem to be valid, but admin does not have enough images for clusters I've attached a link to the screenshot of the website: |
Hi @jahknem
In the first files the background_job try to open it, but they don't seem to be valid. You may require a simple update of a library (e.g: ), but to make sure, you can send me privately a couple of files of those that fail. Whatever fails and does not affect your privacy .. 😉
This last image cannot read the file directly. Exists on your hard drive? -Those are absolute paths on the disk.-
My recommendation is to use adminer, but if you do not know about databases, do not worry. It was to verify just the errors of files, which you can already see after resetting the user. 😉 |
Hi @matiasdelellis The table does exist:
|
Ohh..
Unfortunately, we do not support encrypted files. 😞 Well, You want to try this branch? I never tried it for it, but this prevents direct access to the files. Maybe we are lucky.. 😄 If not, you will have to decrypt the files .. 😥 |
In that case I'll first try that branch. Should I after checking out to that branch just use the app as usual? |
If you already installed it from git, just move to the branch and it should work exactly the same Just EDIT: ..and you will have to reset the user again before executing the task. 😉 |
Interesting: It now does process the images! It fails at the first image but it does seem to be able to read the images. I'm currently sending you the image at which it fails
|
First try to reduce the assigned memory.. Killed 99% of the time the process was killed by the kernel or by php, because you exceeded the physical memory or the one configured by php-fpm |
I've now changed the memory limit in /etc/php/7.3/apache2/php.ini as well as /etc/php/7.3/cli/php.ini |
Great.
Don't worry, I assumed you used that, but it probably isn't.. With the previous two it's fine. 😉 But be sure to reduce the memory limit in the administration panel of our application. With 1 or 2 GB is more than enough. 😉 |
It seems like that has finally solved the problem. Also I have to get new glasses for not seeing the configuration options! |
This branch ended up being the introduction of a FileService, to simplify a lot of code. The support of shared files is quite proven, but will remain experimental, hidden to admin/users.. Note that also automatically gain support of encrypted files. (See issue #201 ) grimacing
Hey, Thanks for reporting issues back to Nextcloud Face Recognition. Please, try to complete this report in detail so we can help you easier. 😄
Make sure you read all the documentation, and the FAQ, and that the issue has not been reported before. 😉
Expected behaviour
Adding the tick mark to face recognition should start the facial recognition process
When starting occ face:background_job faces should be recognized on the images
Actual behaviour
The facial recognition process does not start. Neither does the web interface show any reaction, nor does the cpu usage or memory usage change
Also when starting occ face:background_job no faces are recognized
Steps to reproduce
Server configuration
Operating system:
Debian Buster
Pdlib version:
How is DLib installed: Make sure it is working correctly with this tool
Manually with github
Tool works.
How is PDlib installed: Make sure it is working correctly with this tool
Manually with github
Tool works.
PHP version:
7.3
Web server:
apache2
Database:
Maria DB
Nextcloud version:
17.0.1
Client configuration
Firefox
Manjaro
Logs
Background task log with debug.
sudo -u apache php occ -vvv face:background_job
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
The text was updated successfully, but these errors were encountered: