matiasdelellis / facerecognition

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

No thumbnails in memories under "People (Face Recognition)" #650

Open MikeDuncan1 opened 1 year ago

MikeDuncan1 commented 1 year 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

Thumbnails showing for detected people in the memories interface

Actual behaviour

Detected people do not have thumbnails showing in memories when you go under People(face recognition). The thumbnails show in the backend under user settings when I go to the face recognition page. Everything else seems to work besides showing thumbnails above the names in People(face recognition) instead of empty boxes when looking in Memories. The actual recognized pictures are inside the folder as expected.

Steps to reproduce

  1. Install face recognition
  2. process all your photos and successfully tag the people with their names
  3. go under People (face recognition) and wonder why all the detected people have no thumbnails

Server configuration

Background task log with debug.

Background Log ``` sudo -u www-data php occ -vvv face:background_job 1/8 - Executing task CheckRequirementsTask (Check all requirements) System: Linux System memory: 16777777152 PHP Memory Limit: Unknown 2/8 - Executing task CheckCronTask (Check that service is started from either cron or from command) 3/8 - Executing task DisabledUserRemovalTask (Purge all the information of a user when disable the analysis.) yielding 4/8 - Executing task StaleImagesRemovalTask (Crawl for stale images (either missing in filesystem or under .nomedia) and remove them from DB) Skipping stale images removal for user mike as there is no need for it 5/8 - Executing task CreateClustersTask (Create new persons or update existing persons) Found 1 faces without associated persons for user mike and model 4 Oldest face without persons for user mike and model 4 is from 2023-03-16 06:32:09 Clusters already exist, estimated there is no need to recreate them yielding 6/8 - Executing task AddMissingImagesTask (Crawl for missing images for each user and insert them in DB) Skipping full image scan for user mike 7/8 - Executing task EnumerateImagesMissingFacesTask (Find all images which don't have faces generated for them) yielding 8/8 - Executing task ImageProcessingTask (Process all images to extract faces) NOTE: Starting face recognition. If you experience random crashes after this point, please look FAQ at https://github.com/matiasdelellis/facerecognition/wiki/FAQ ```
MikeDuncan1 commented 1 year ago

Also I can never get faces to cluster after renaming a cluster to a persons name, works exactly like you expect until I rename it then it just says, "Clusters already exist, estimated there is no need to recreate them" I am not sure if this is a separate problem or related

MikeDuncan1 commented 1 year ago

Also I can never get faces to cluster after renaming a cluster to a persons name, works exactly like you expect until I rename it then it just says, "Clusters already exist, estimated there is no need to recreate them" I am not sure if this is a separate problem or related

This had nothing to do with the problem of course, after looking over the source code I learned that there was a 2 hour delay for reclustering