nextcloud / nextcloud/recognize

Share photos of a person with other users

Open
#948 19 comments 34 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
PHP
Stars
699
Forks
68
Avg merge
1d 4h
Merged PRs (30d)
5

Description

Which version of recognize are you using?

3.4.1

Enabled Modes

Object recognition, Face recognition

TensorFlow mode

WASM mode

Downstream App

Files App

Which Nextcloud version do you have installed?

27.0.0

Which Operating system do you have installed?

Ubuntu 22.04

Which database are you running Nextcloud on?

postgres

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

aio

How much RAM does your server have?

8GiB

What processor Architecture does your CPU have?

arm64

Describe the Bug

Not sure if it's a bug or a feature.
I have two accounts which have access to a lot of shared pictures.
The recognition works quite well and there are just a few Presons which needs to be merged.
But if User A merges two Persons, or moves certain Faces to a Person, this only is applied for this user.
If User B Logs in, the Persons are in the previouse, unmerged state.
Is that intended?

Expected Behavior

Merged Persons and Moved Images should be applied to all users which have access to this images.

To Reproduce

Have 2 users
Share all Pictures
Recognise
Merge some Persons for User A
User B sees the unmerged Persons...

Debug log

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with two users sharing the same pictures, then trace how person merges and moved faces are stored and scoped between those users. Done means User B sees the merged persons and moved images after User A changes them, while access remains limited to users who can view the shared images.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, postgres, tensorflow, wasm
Domain
authorization, backend, databases
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.