matiasdelellis / facerecognition

Nextcloud app that implement a basic facial recognition system.
GNU Affero General Public License v3.0
524 stars 47 forks source link

Could thumbnail be pre-computed before being displayed for face tagging? #559

Open diyoyo opened 2 years ago

diyoyo commented 2 years ago

Hey, Thanks for reporting issues back to Nextcloud Face Recognition. Please, try to complete this report in detail so we can help you easier. :smile:

Make sure you read all the documentation, and the FAQ, and that the issue has not been reported before. :wink:

Expected behaviour

Small images should load very quickly. Especially in the face tagging user interfaces where faces are very small and you really want to make sure all the faces are loaded before assigning them all to a person's name.

Actual behaviour

I know my server is not super great, but the thumbnails seem to be generated on the fly, when it could be better to store them somewhere at a small size until face tagging has been performed.

Steps to reproduce

1. 2. 3.

Server configuration

Client configuration

Logs

Background task log with debug.

sudo -u apache php occ -vvv face:background_job ``` Insert your background log here ```

Web server error log

Web server error log ``` Insert your webserver log here ```

Nextcloud log (data/nextcloud.log)

Nextcloud log ``` Insert your Nextcloud log here ```

Browser log

Browser log ``` Insert your browser log here, this could for example include: a) The javascript console log b) The network log c) ... ```
boyddensmore commented 2 years ago

I was playing around with this too, trying to use preview-generator. Are the facerecognition previews stored in the standard preview directory along with everything else?