Code Monkey home page Code Monkey logo

Comments (33)

matiasdelellis avatar matiasdelellis commented on July 17, 2024 14

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.. . πŸŽ‰ πŸ˜„

Sure there is much to improve, but it is already useful enough to try... πŸ˜‰ πŸ˜ƒ
As always, I invite you to try it, translate, complain, etc.. πŸ˜‰

from photos.

stalker314314 avatar stalker314314 commented on July 17, 2024 10

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;)

from photos.

stalker314314 avatar stalker314314 commented on July 17, 2024 4

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! πŸ˜ƒ

from photos.

agboom avatar agboom commented on July 17, 2024 4

@burk80 @skjnldsv You might be interested in following this thread: matiasdelellis/facerecognition#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 πŸ˜„

from photos.

jakobroehrl avatar jakobroehrl commented on July 17, 2024 3

Should be solved with NC25 and github.com/nextcloud/recognize

from photos.

matiasdelellis avatar matiasdelellis commented on July 17, 2024 2

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 ...

from photos.

stalker314314 avatar stalker314314 commented on July 17, 2024 2

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!

from photos.

skjnldsv avatar skjnldsv commented on July 17, 2024 2

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) :)

from photos.

matiasdelellis avatar matiasdelellis commented on July 17, 2024 2

Ok.. Sorry, being politically correct, I'm not helping... πŸ˜…

The main difference, and the reason for the new development within Recognize, is that this application has a 100% automatic approach. Install and run as nextcloud cron.

The other application, Face Recognition, needs some external dependencies (pdlib) that some users find difficult to install.. and needs some initial configuration. Mainly how much memory you want to dedicate to the process, and the size of the images that basically defines the quality of the process.

Regarding the integration, recognize is integrated. There is no discussion about this.
Regarding the quality of the results, we are discussing an application that just added this feature, so it is not fair to compare, and honestly I can not be impartial about it.

from photos.

godfuture avatar godfuture commented on July 17, 2024 1

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.

from photos.

sunjam avatar sunjam commented on July 17, 2024 1

from photos.

matiasdelellis avatar matiasdelellis commented on July 17, 2024 1

Yup.. Touche.. πŸ˜‰

from photos.

nacho-domatix avatar nacho-domatix commented on July 17, 2024 1

@meichthys Seems like we're seeking the same thing. Small world xD

from photos.

Benfm2104 avatar Benfm2104 commented on July 17, 2024

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

from photos.

sunjam avatar sunjam commented on July 17, 2024

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.

from photos.

matiasdelellis avatar matiasdelellis commented on July 17, 2024

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

Soon news, πŸ˜‰

from photos.

SlavikCA avatar SlavikCA commented on July 17, 2024

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?

from photos.

stalker314314 avatar stalker314314 commented on July 17, 2024

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)

from photos.

matiasdelellis avatar matiasdelellis commented on July 17, 2024

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!

from photos.

SlavikCA avatar SlavikCA commented on July 17, 2024

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

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

from photos.

emresaracoglu avatar emresaracoglu commented on July 17, 2024

Is there any progress?

from photos.

emresaracoglu avatar emresaracoglu commented on July 17, 2024

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

from photos.

migueltg avatar migueltg commented on July 17, 2024

I am very interested too

from photos.

migueltg avatar migueltg commented on July 17, 2024

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

from photos.

henri2h avatar henri2h commented on July 17, 2024

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 !!

from photos.

burk80 avatar burk80 commented on July 17, 2024

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

from photos.

skjnldsv avatar skjnldsv commented on July 17, 2024

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 :)

from photos.

averdecia avatar averdecia commented on July 17, 2024

Hi, @matiasdelellis have you considered remove the image processing from the NC web server, and create a different application instead? Communicate them between APIs. We have an almost-working solution with this scheme.
The main problem with the face recognition app is that it cant scale. For big instances, it increases the upload time and the heavy writing operation son the database. It may be a good idea if you change the core to an external source. Also, the models could learn from some user changes.
A corn job is not a good solution for big instances, you may be able to see your grouped photos more than 1 week after you upload them

from photos.

matiasdelellis avatar matiasdelellis commented on July 17, 2024

Hi @averdecia

Hi, @matiasdelellis have you considered remove the image processing from the NC web server, and create a different application instead?

In principle, I am always ready to listen to proposals.. πŸ˜‰

Communicate them between APIs. We have an almost-working solution with this scheme.

Well.. Show me what API you are working on...
My proposal is to add virtual folders to NC core.. an api similar to the Unified Searchs, where my application registers, informs the virtual folders, and when Files or Photos requires the content, I send the results.

The main problem with the face recognition app is that it cant scale. For big instances, it increases the upload time and the heavy writing operation son the database.

We have a large consumption for photo analysis, but I honestly think there is no better API than the one we are using..
However it's perfectly controlled.. It just depends on the size of the temporary image. You want quality?, use a large image and it will be slow and consume more memory. Do you want it to be fast? Minimize the images and you will lose some faces.

About how it scale, you may be right during clustering. But beyond the analysis (Which is the highest consumption but it is controlled), we have a single report which fails during clustering with 55,000 images consuming 2GB of ram. matiasdelellis/facerecognition#339

We can improve, but I think it is still acceptable..

It may be a good idea if you change the core to an external source.

https://github.com/matiasdelellis/facerecognition-external-model ΒΏ? πŸ€”

Also, the models could learn from some user changes.

Now we are focusing on automatic clustering, but of course we want to get there.

A corn job is not a good solution for big instances.

Why? Would you like it to be integrated into the nextcloud cron?

you may be able to see your grouped photos more than 1 week after you upload them

Please try uploading 55,000 photos to google photos, and tell me how long it takes.. πŸ˜…
Why do you think that the photos of your cell phone in google photos take time? Your cell phone does not do it, a server farm does the hard work and even takes time..

Please don't think we can do better than google .. πŸ™ˆ πŸ˜…

from photos.

meichthys avatar meichthys commented on July 17, 2024

I think this issue may be resolved with the new "Recognize" app

Edit: or the FaceRecognition app!

from photos.

meichthys avatar meichthys commented on July 17, 2024

@matiasdelellis Could you clarify the primary differences between FaceRecognition and Recognize when it comes to face recognition? Can they be run together if i just disable facial recognition in the Recognize app settings?

from photos.

matiasdelellis avatar matiasdelellis commented on July 17, 2024

Hi @meichthys
I don't want to make any controversy about this.

Regarding this report, recognize was officially integrated as a facial recognition solution for Nextcloud Photos, and Nextcloud Face recognition is still a third-party app... So, it can be closed.

from photos.

meichthys avatar meichthys commented on July 17, 2024

@matiasdelellis Understood. As a user, it's confusing to see multiple apps that seem to serve the same purpose. I haven't seen any kind of comparison on how the two apps compare.

from photos.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.