Skip to content

Conversation

@marcelklehr
Copy link
Member

@marcelklehr marcelklehr commented Aug 5, 2022

URL schema is:

/dav/recognize/<user>/faces/<person-name>/<id>-<filename>

Face clusters can be renamed using MOVE, files can be assigned to a different cluster using MOVE, both can be removed using DELETE.

  • Add PROPFIND handler for face position in the picture, maybe?

Based on nextcloud/photos#1146

@icewind1991
Copy link
Member

icewind1991 commented Aug 18, 2022

files can be assigned to a different cluster using MOVE

I've been using COPY instead of MOVE for operations like this as it seems more appropriate to me (the resource stays at the old location)

Edit: misunderstood, thought this was about assigning untagged faces to a tag, but this is about moving faces to a different tag.

@icewind1991
Copy link
Member

Overall approach looks good

@marcelklehr
Copy link
Member Author

Thank you for reviewing! ♥️

Copy link
Member

@juliusknorr juliusknorr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forgot to send

marcelklehr and others added 12 commits August 23, 2022 12:30
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
… this user

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Copy link
Member

@juliusknorr juliusknorr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small optimisation comment, but otherwise looks good

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
@marcelklehr marcelklehr merged commit 24883d7 into master Aug 24, 2022
@delete-merged-branch delete-merged-branch bot deleted the feat/faces-dav branch August 24, 2022 10:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants