Git Product home page Git Product logo

Comments (13)

tekstrand avatar tekstrand commented on July 20, 2024

I've created this issue in the interest of capturing conversation around this feature. Have any libraries been investigated or previously worked with by the maintainers? Are there any other key features that we should add to the story above?

from mugshot.

ivanbalashov239 avatar ivanbalashov239 commented on July 20, 2024

@tekstrand https://github.com/ageitgey/face_recognition
this is the only library we need for this. It works perfectly and should be relatively easy to use.

from mugshot.

tekstrand avatar tekstrand commented on July 20, 2024

@seniorivn why that library? Seems that using a Python library in a PHP app probably adds complexity for most users

from mugshot.

ivanbalashov239 avatar ivanbalashov239 commented on July 20, 2024

@tekstrand because it's the best one, and python is not gonna be a problem there are cli and example of http api
if i decide to use piwigo for my photo collection, i will implement this.

from mugshot.

tekstrand avatar tekstrand commented on July 20, 2024

because it's the best one

What is this based on? I don't have experience with any of them so I would love some more info

from mugshot.

ivanbalashov239 avatar ivanbalashov239 commented on July 20, 2024

@tekstrand i've googled and decided it's the most accurate and easy to use and used it for another project.

Unfortunately for php fans, most academia related libraries are implemented in different languages.

from mugshot.

ivanbalashov239 avatar ivanbalashov239 commented on July 20, 2024

also there is a https://github.com/hooram/ownphotos
which is quite good, but not as mature as piwigo, and uses this lib for facial recognition.

from mugshot.

ivanbalashov239 avatar ivanbalashov239 commented on July 20, 2024

papers behind it are great, and accuracy near 100%

from mugshot.

m3eu avatar m3eu commented on July 20, 2024

@seniorivn any update on this conversation? TIA

from mugshot.

ivanbalashov239 avatar ivanbalashov239 commented on July 20, 2024

@m3eu unfortunately haven't gotten to even digitalize my photos(family archive) so no updates from me.

from mugshot.

m3eu avatar m3eu commented on July 20, 2024

@seniorivn too bad, was hoping for some better news ;)

from mugshot.

cccraig avatar cccraig commented on July 20, 2024

Checkout DeepFace. The 2.0 release crops the photos and saves them within the plugin directory in such a manner that DeepFace can be easily trained to recognize people. What I don't have is a good process for,

  1. periodically updating the model as new individuals are added.
  2. dynamically evaluating who is in an image when it's uploaded. This would include getting the bounding box and determining the scaling ratio for when the image is resized.

from mugshot.

cccraig avatar cccraig commented on July 20, 2024

Additional thoughts for how to do this well.

  1. When images are uploaded we don't try to immediately tag the faces. That would be problematic if there were hundreds of photos. Instead we create another table to serve as a queue and add the photos to that. I don't think that Piwigo has a queuing system (thinking something like what Laravel has). This site has a good example of how this might be done.
  2. It would be a two part process. One cycle extracts the tags and faces and the other actually process the faces to label them. This second part should be done during off peak hours as it could be very intensive.
  3. How to handle net new faces? Should probably have some sort of threshold configured to prevent lots of erroneous data being saved.
  4. Should probably have a way to have a person verify who is in the photo later. Say we have a confidence of 95% and we're good to label that but unless we hit a confidence of 100% we have some sort of prompt for users to verify who someone is.
  5. For item 4, there should be a way to associate people. So if I tag George Jones, then I should be associated with that name and only be prompted to verify images that were automatically tagged by the system as George Jones.

from mugshot.

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.