Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add an Ignored faces category

Aperta
#1,424 1 commento 5 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
php

Direzione di ricerca

Inizia con il flusso segnalato in Memories: rimuovi una persona, quindi osserva la scansione successiva del riconoscimento facciale. Leggi apps/recognize/lib/BackgroundJobs/ClusterFacesJob.php, FaceClusterAnalyzer.php e FaceClusterMapper.php usando lo stack trace fornito per capire come vengono elaborati i cluster eliminati. Il lavoro è completato quando un volto rimosso viene rappresentato come ignorato e non viene ricreato né contrassegnato dalle scansioni successive.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement
Which version of recognize are you using?

10.0.6

Enabled Modes

Face recognition, Object recognition

TensorFlow mode

Normal mode

Downstream App

Memories App

Which Nextcloud version do you have installed?

32.0.2

Which Operating system do you have installed?

Ubuntu 24.04.3 LTS

Which database are you running Nextcloud on?

mysql 8.0.44

Which Docker container are you using to run Nextcloud? (if applicable)

No response

How much RAM does your server have?

8GiB

What processor Architecture does your CPU have?

x86_64

Describe the Bug

It recognizes a lot of faces in the background of my pictures, which is fine. However, I end up playing whack-a-mole because I'll tell it to remove the face, but then, probably when it rescans, it recognizes the face again. It's annoying because it'll tag the pictures with that face, so I have the face of one or two people I know along with the face of some stranger.
How do you tell it to never recognize a particular face? Is there documentation on how to use the app that I've missed somewhere?

Expected Behavior

Removing a face should tell it not to re-recognize it again.

To Reproduce

Go into Memories, select a face, click "Remove person" from the three-dots menu in the upper right. It'll remove the person from the list, but, a few minutes later, they're back.

Debug log

I do get this in the logs:

{"reqId":"mZjkq2NDud2Z8olcfP2E","level":3,"time":"2025-11-30T04:55:25+00:00","remoteAddr":"","user":"--","app":"core","method":"","url":"--","message":"Error while running background job OCA\\Recognize\\BackgroundJobs\\ClusterFacesJob (id: 14321, arguments: {\"userId\":\"jack\"})","userAgent":"--","version":"32.0.2.2","exception":{"Exception":"OCP\\AppFramework\\Db\\DoesNotExistException","Message":"Did expect one result but found none when executing: query \"SELECT `id`, `title`, `user_id` FROM `*PREFIX*recognize_face_clusters` WHERE `id` = ?\"; ","Code":0,"Trace":[{"file":"/var/www/html/lib/public/AppFramework/Db/QBMapper.php","line":375,"function":"findOneQuery","class":"OCP\\AppFramework\\Db\\QBMapper","type":"->"},{"file":"/var/www/html/apps/recognize/lib/Db/FaceClusterMapper.php","line":34,"function":"findEntity","class":"OCP\\AppFramework\\Db\\QBMapper","type":"->"},{"file":"/var/www/html/apps/recognize/lib/Service/FaceClusterAnalyzer.php","line":137,"function":"find","class":"OCA\\Recognize\\Db\\FaceClusterMapper","type":"->"},{"file":"/var/www/html/apps/recognize/lib/BackgroundJobs/ClusterFacesJob.php","line":42,"function":"calculateClusters","class":"OCA\\Recognize\\Service\\FaceClusterAnalyzer","type":"->"},{"file":"/var/www/html/lib/public/BackgroundJob/Job.php","line":61,"function":"run","class":"OCA\\Recognize\\BackgroundJobs\\ClusterFacesJob","type":"->"},{"file":"/var/www/html/lib/public/BackgroundJob/QueuedJob.php","line":43,"function":"start","class":"OCP\\BackgroundJob\\Job","type":"->"},{"file":"/var/www/html/lib/public/BackgroundJob/QueuedJob.php","line":29,"function":"start","class":"OCP\\BackgroundJob\\QueuedJob","type":"->"},{"file":"/var/www/html/cron.php","line":175,"function":"execute","class":"OCP\\BackgroundJob\\QueuedJob","type":"->"}],"File":"/var/www/html/lib/public/AppFramework/Db/QBMapper.php","Line":277,"message":"Error while running background job OCA\\Recognize\\BackgroundJobs\\ClusterFacesJob (id: 14321, arguments: {\"userId\":\"jack\"})","exception":{},"CustomMessage":"Error while running background job OCA\\Recognize\\BackgroundJobs\\ClusterFacesJob (id: 14321, arguments: {\"userId\":\"jack\"})"}}```
Lingua principale
PHP
Stelle
699
Fork
68
Merge medio
18h 34m
PR unite (30g)
2

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nextcloud/recognize

Tutte le issue di nextcloud/recognize

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.