matiasdelellis / facerecognition

Nextcloud app that implement a basic facial recognition system.
GNU Affero General Public License v3.0
509 stars 46 forks source link

[Enhancement] Advanced person search in file manager #308

Open lochbika opened 4 years ago

lochbika commented 4 years ago

Hi, I just had the idea that it would be nice to have a more advanced search for persons in the file manager. For instance, if I type in "Max" it shows all photos with Max on it. However, it would be great if I could search for all photos with Max and Albert together. I thought that this could be achieved by enabling operators for the search, e.g. the search "Max + Albert" shows all photos with these two persons.

This could even go further by using wildcards. For example: "Max + *" shows all photos with Max and any other person on it.

I know that, especially the wildcard thing would rather address power users but even a very basic extension of the search would greatly improve the user experience.

BTW, great work with this Nextcloud app!

Cheers

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/92188124-enhancement-advanced-person-search-in-file-manager?utm_campaign=plugin&utm_content=tracker%2F74944432&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F74944432&utm_medium=issues&utm_source=github).
matiasdelellis commented 4 years ago

Hi @lochbika It is a feature that I would like to see, but for them we need several tools in Nextcloud to implement that do not exist yet. We will have to wait, but it is interesting. :wink:

BTW, great work with this Nextcloud app!

Thanks you! :smiley:

zyphlar commented 3 years ago

Currently, person search doesn't work at all for me. The only ways to interact with face recognition are to click on a photo of a person, or go to Settings > Face Recognition. (Also a lot of photos don't seem to be getting recognized even though they're obviously of people, even the same people as usual. Maybe the model doesn't bring them up for tagging until it thinks there's many of the same person?)

matiasdelellis commented 3 years ago

Hi @zyphlar

Currently, person search doesn't work at all for me.

What is wrong?

(Also a lot of photos don't seem to be getting recognized even though they're obviously of people, even the same people as usual.

Maybe the size of the temporary image you are using is small. The models we use do not find faces smaller than 80 pixels šŸ¤” On the other hand, if you use the HOG model, it is only designed to discover faces very head-on, and it does not find rotated faces. šŸ˜ž

Please, If it doesn't work for you, please open a new issue so we can discuss it properly..

zyphlar commented 3 years ago

Just simply when using search, no photos come up unless perhaps the filename is named with the search string. It's as if there is no person search in file manager at all. See screenshots: https://imgur.com/a/yXL2IAf

matiasdelellis commented 3 years ago

@zyphlar NC 21????? šŸ¤” I couldn't do it properly for NC20

KKox-26 commented 3 years ago

Hello @matiasdelellis

I have the same issue with NC21, The only ways to interact with face recognition are to click on a photo of a person, or go to Settings > Face Recognition.

Is there something to do to fix it ?

matiasdelellis commented 3 years ago

Hi @KKox-26

I have the same issue with NC21, The only ways to interact with face recognition are to click on a photo of a person, or go to Settings > Face Recognition. Is there something to do to fix it ?

No.. Nextcloud removed the filter within the files app.. The only way to search is to use the unified search, which involves showing persons, and not 10,000 photos, which would be unmanageable.

KKox-26 commented 3 years ago

Ok.. sad! so maybe i missed something, i want to share all the photos with a person recognized, but in face recognition i cant select more than one photo is it possible to do this ? Regards,

matiasdelellis commented 3 years ago

Ok.. sad! so maybe i missed something, i want to share all the photos with a person recognized, but in face recognition i cant select more than one photo is it possible to do this ?

Photo sharing is not implemented. I am aware that it is an expected feature.. šŸ˜ž This would be done within the integration with photos #338 (But Nextcloud api is missing), tags #292 (But Nextcloud api is missing), and we follow any discussion about it in in #377..