nextcloud / nextcloud/recognize
Initial `classify` handles already tagged images
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 699
- Forks
- 68
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 5
Description
Which version of recognize are you using?
10.0.7
Enabled Modes
Object recognition, Face recognition, Video recognition
TensorFlow mode
Normal mode
Downstream App
Memories App
Which Nextcloud version do you have installed?
32.0.6 Turnkey
Which Operating system do you have installed?
TurnKey GNU/Linux 18.1 (Debian 12/Bookworm)
Which database are you running Nextcloud on?
10.11.14-MariaDB-0+deb12u2
Which Docker container are you using to run Nextcloud? (if applicable)
Proxmox LXC container
How much RAM does your server have?
5GB
What processor Architecture does your CPU have?
x86_64
Describe the Bug
Hello. I have an old Nextcloud setup with about 500G of photos.
It tooks more than a day to recognize them, so recognize:classify process dies probably because of PHP process timeout. During that day, it classifies about 35K of photos.
After relaunching a classification process, Recognize handles already classified from a first run photos ignoring a --retry key, so like 2/3 of files stay untouched. Tags count in the database stays at 35K without any changes despite the classify progress reports
Expected Behavior
Recognize skips classified photos and handles fresh ones
To Reproduce
Env quirks which may affect smth:
- Proxmox + Turnkey Nextcloud container image
- NC data folder is a symlink to a mounted secondary storage: /var/www/nextcloud-data -> /nextcloud-data
- Run
turnkey-occ recognize:classify - wait a process to die
- rerun a process:
turnkey-occ recognize:classify --retry
Debug log
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the recognize:classify command and trace how the --retry option handles images that already have recognition tags. Reproduce the interrupted run and rerun with --retry in a comparable Nextcloud setup, then verify that previously classified photos are skipped while remaining photos receive tags and progress matches the database.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, tensorflow
- Domain
- backend, machine-learning
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100