Photos: Face Recognition

Created on 4 Jun 2017  ·  23Comments  ·  Source: nextcloud/photos

Feature request

User type: All

User level: All

Description

Implementation of OpenCV for face recognition to easily tag people in photos.
This would make it easy for people to manage their photos.
Their exists a wrapper for OpenCV in PHP, to allow the use of it (possibly v2 feature)

As a beginning (v1) we could integrate some sort of face detection on images, and allow users to tag people themselves. Then a menu link could bring up a face albums, as tagged by the user.

Benefit / value

This would bring the NextCloud gallery on level with similar solutions, from Google, Apple and Microsoft.

1. to develop enhancement

Most helpful comment

Maybe with this we can do something fast..

* https://github.com/ageitgey/face_recognition

At least write a cron to analyze the images, and add nextclooud tags or exif info..
The interface inside the gallery is another discussion, but I guess the important thing is simplify how to get the information, and do it transparent to the user ...

Hi everyone,
As the application was born with this simple message, I should tell here that we have a first release to test.. . :tada: :smile:

Sure there is much to improve, but it is already useful enough to try... :wink: :smiley:
As always, I invite you to try it, translate, complain, etc.. :wink:

All 23 comments

I like the idea!

There is already a set of options for automated tagging, should OpenCV-features be added there to set the configuration (like people to tag)? https://github.com/nextcloud/files_automatedtagging

Maybe with this we can do something fast..

At least write a cron to analyze the images, and add nextclooud tags or exif info..
The interface inside the gallery is another discussion, but I guess the important thing is simplify how to get the information, and do it transparent to the user ...

What @matiasdelellis linked above works! It was added to an app called Ownphotos via a pull request.

Here is the pull request, which adds facial recognition via Nextcloud CarDAV Contacts.

Hi all,
Although we are planning an important rewrite, we already have something functional directly in nextcloud.
https://github.com/matiasdelellis/facerecognition

Soon news, :wink:

Hi everyone,
Wanted to give small update and to also invite whomever wants to help:) FaceRecognition app that @matiasdelellis mentions is already working! However, at the same time, we are working on different approach. With this approach, we think we can get better end-user experience, which includes robustness (cluster stability), make everything "just works" (background tasks instead of commands) and reduce dependencies (no need for Python, just dlib).

Complete functional spec is currently here (plan is to move it to github wiki). We already implemented all PHP binding in dlib in this repo. There is now new branch in Matias' repo where we got background task crunching images, but it will still take some time before we got everything packaged up with cherry on top. Look at spec (add stuff if you think you have something to add), roam around repo, shout to two of us if you want to poke around! 😃

Sounds very exciting!

Complete functional spec is currently here (plan is to move it to github wiki).

That link doesn't work. Is it in Wiki already? Which wiki?

It will end up here (but not there yet). For original link, you'll probably need LiveID. If you don't have one, I exported PDF here for convenience (I don't suspect it will change much in future, so we can tentatively move it to GH wiki, but waiting for @matiasdelellis to confirm)

Hi all,
Of course, the documentation should be passed on to the wiki, but it's a lot of work to organize correctly to be really useful..
Meanwhile you can read it there, and give your opinion on the repo/issues of the application.

Thanks!

Functional spec (or design notes, call them what you want:D) are moved to wiki: https://github.com/matiasdelellis/facerecognition/wiki/Functional-spec. All comments are welcome!

@stalker314314 Super exciting! Love to see that feature in the NextCloud.

That was the only NC shortcoming, preventing me from switching from GPhotos.

Is there any progress?

Well, @emresaracoglu, if you are refering to what we are doing in https://github.com/matiasdelellis/facerecognition, then certainly yes! First version (the one we plan to publish on app store) is almost done, we are now busy working on:

Other than that, we think we can have app in app store this year (ideally spring/summer).

However... today - you need to fetch it from github, install stuff yourself...should be easy if you follow installation, but unfortunately, it is not for everyone. We need as many eyes as possible to try it out (before we release it on app store) and we need as many people as we can throwing ideas how we can improve experience using Nextcloud, now that people have their own set of face data...

If you want to help, start with wiki, and file an issue for ANY issue, typo, paper cut, problem, bug you encounter, this would help us big time!:) Otherwise, subscribe to this issue, we will notify here once it is out in app store;)

we don't want people to compile pdlib from scratch, we want as smooth experience installing this app as humanely possible

Great!

I discovered your repositories after this my message. It got me very excited this your app 👍



but I'm having a little problem, I'd appreciate it if you could help
matiasdelellis/facerecognition/issues/127

Is this still ongoing? I am very interested, because I used Google Picasa in the past which was able to automatically do facial recognition tagging. This feature would perfectly fit into the cloud.

I am very interested too

Did either of you read the post just above yours, linking directly to the
app?? It is right there; give it a shot.

On Sun, Oct 27, 2019 at 11:49 AM Miguel notifications@github.com wrote:

I am very interested too


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/nextcloud/gallery/issues/281?email_source=notifications&email_token=AANUKZVJGZV36GJPFIKDRITQQXIBBA5CNFSM4DN56QDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECLFFJQ#issuecomment-546722470,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANUKZVWBNTMCWIJ7W4YCYTQQXIBBANCNFSM4DN56QDA
.

Did either of you read the post just above yours, linking directly to the app?? It is right there; give it a shot.

Thanks 💪

Maybe with this we can do something fast..

* https://github.com/ageitgey/face_recognition

At least write a cron to analyze the images, and add nextclooud tags or exif info..
The interface inside the gallery is another discussion, but I guess the important thing is simplify how to get the information, and do it transparent to the user ...

Hi everyone,
As the application was born with this simple message, I should tell here that we have a first release to test.. . :tada: :smile:

Sure there is much to improve, but it is already useful enough to try... :wink: :smiley:
As always, I invite you to try it, translate, complain, etc.. :wink:

Hi everyone,

Small idea for the future face recognition feature.

Some software like Digicam are already using face recognition. Digikam allow you to save the face position in the metadata of the file. With this, one can tag a face on a picture and see the tagged picture on another computer.

(FEATURE) The nextcloud photos app could sync the recognized faces with the metadata which could allow users to tag a picture in Digikam for example and see it when using the photos app in nextcloud.

Thanks for all the work put in making this new app alive !! Can't wait trying the photo app once the nexcloud snap package will be updated to nextcloud 18 !!

Can't wait trying the photo app once the nexcloud snap package will be updated to nextcloud 19 !!

nextcloud hub is shipped with photos (18) :)

is it possible to make this into a docker usable install.. i know there is problems with this atm .. but it seems like you need to compile the whole system with pdlib and dblib into photos or maybe even into nextcloud core .. which isnt desirable ... so if there is a possibility to make a docker image for facial_recognition so that you could link that in docker compose to nextcloud and or photos

is it possible to make this into a docker usable install.. i know there is problems with this atm .. but it seems like you need to compile the whole system with pdlib and dblib into photos or maybe even into nextcloud core .. which isnt desirable ... so if there is a possibility to make a docker image for facial_recognition so that you could link that in docker compose to nextcloud and or photos

Would be awesome yes :)

@burk80 @skjnldsv You might be interested in following this thread: https://github.com/matiasdelellis/facerecognition/issues/221

There's also some documentation on how to get started with Dlib/Pdlib and Facerecognition in https://github.com/matiasdelellis/pdlib/wiki/Docker

Feedback is appreciated :smile:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

GAS85 picture GAS85  ·  11Comments

iwanttobefreak picture iwanttobefreak  ·  7Comments

tacruc picture tacruc  ·  6Comments

JonOfUs picture JonOfUs  ·  13Comments

steiny2k picture steiny2k  ·  11Comments