facerecognition icon indicating copy to clipboard operation
facerecognition copied to clipboard

Cannot resume naming faces

Open derekakelly opened this issue 2 years ago • 0 comments

Expected behavior

Being able to resume where I left off when clicking on 'Recognize persons found'

Actual behavior

I have to go through all the same photos of faces I've already assigned names to.

Steps to reproduce

  1. name faces
  2. stop and come back later
  3. start naming again

Server configuration detail

Operating system: Ubuntu 22.04 x86_64

Webserver: Apache 2.4.52

Database: mysql 10.6.7

PHP version: 8.1.2

Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, Reflection, SPL, session, standard, sodium, apache2handler, gmp, imagick, pdlib, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, igbinary, imap, intl, exif, memcache, msgpack, mysqli, pdo_mysql, pdo_sqlite, Phar, posix, readline, redis, shmop, SimpleXML, soap, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlrpc, xmlwriter, xsl, zip, memcached, Zend OPcache

Nextcloud version: 24.0.1 - 24.0.1.1

  • Pdlib version: v1.0.2

  • How is DLib installed: Make sure it is working correctly with this tool downloaded latest from git, compiled and installed.

  • How is PDlib installed: Make sure it is working correctly with this tool downloaded latest from git, compiled and installed.

  • Nextcloud version: [Nextcloud] 24.0.1

Client configuration

  • Browser: Chrome
  • Operating system: Win10

Logs

Background task log with debug.

sudo -u www-data php /var/www/nextcloud/occ -vvv face:background_job
1/10 - Executing task CheckRequirementsTask (Check all requirements)
        System: Linux
        System memory: 67280289792
        PHP Memory Limit: Unknown
2/10 - Executing task CheckCronTask (Check that service is started from either cron or from command)
3/10 - Executing task LockTask (Acquire lock so that only one background task can run)
4/10 - Executing task DisabledUserRemovalTask (Purge all the information of a user when disable the analysis.)
yielding
yielding
5/10 - 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 derek as there is no need for it
        Skipping stale images removal for user nancy as there is no need for it
6/10 - Executing task CreateClustersTask (Create new persons or update existing persons)
        Found 0 faces without associated persons for user derek and model 1
        Face clustering will be recreated with new information or changes
        6181 faces found for clustering
        2689 persons found after clustering
yielding
        Skipping cluster creation, not enough data (yet) collected. For cluster creation, you need either one of the following:
        * have 1000 faces already processed
        * or you need to have 95% of you images processed
        Use stats command to track progress
yielding
7/10 - Executing task AddMissingImagesTask (Crawl for missing images for each user and insert them in DB)
        Skipping full image scan for user derek
        Skipping image scan for user nancy that has disabled the analysis
8/10 - Executing task EnumerateImagesMissingFacesTask (Find all images which don't have faces generated for them)
yielding
9/10 - 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
10/10 - Executing task UnlockTask (Release obtained lock)

sudo -u www-data php /var/www/nextcloud/occ face:stats
+-------+--------+-------+---------+---------+
| User  | Images | Faces | Cluster | Persons |
+-------+--------+-------+---------+---------+
| derek | 15448  | 6181  | 2689    | 31      |
| nancy | 0      | 0     | 0       | 0       |
+-------+--------+-------+---------+---------+

Web server error log

Web server error log
I reviewed the log and there is nothing related in there.

Nextcloud log (data/nextcloud.log)

Nextcloud log
I reviewed the log and there is nothing related in there.

Browser log

Browser Console log

Log was too long to post here, there was a lot. https://pastebin.com/FRVs1TuK

derekakelly avatar Jun 09 '22 07:06 derekakelly