Comments (13)
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.
@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.
@seniorivn why that library? Seems that using a Python library in a PHP app probably adds complexity for most users
from mugshot.
@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.
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.
@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.
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.
papers behind it are great, and accuracy near 100%
from mugshot.
@seniorivn any update on this conversation? TIA
from mugshot.
@m3eu unfortunately haven't gotten to even digitalize my photos(family archive) so no updates from me.
from mugshot.
@seniorivn too bad, was hoping for some better news ;)
from mugshot.
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,
- periodically updating the model as new individuals are added.
- 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.
Additional thoughts for how to do this well.
- 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.
- 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.
- How to handle net new faces? Should probably have some sort of threshold configured to prevent lots of erroneous data being saved.
- 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.
- 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)
- Missing function? HOT 1
- update to support piwigo 11 HOT 4
- Less opinionated button text HOT 1
- uninstalling plugin removes training images
- when the plugin is installed automatically create the taggers group HOT 1
- make it so tagging feature can be "always on" HOT 1
- Upgraded from MugShot 1.x to 2.0.2 and Piwigo 10 (minor issues) HOT 3
- Browser Autocomplete overlaps with MugShot's Autocomplete HOT 6
- Add support for Piwigo 12 HOT 1
- Screen elements jump up when activating tagging
- The SAVE/DONE button prevents selecting faces in the top/left corner HOT 2
- Deleting a mugshot from an image breaks other images
- I'm creating this issue to discuss impending facial detection and identification support HOT 1
- Error in main.inc.php
- v2.0.3 Fails to Load in Piwigo v12 (stays at v2.0.2) HOT 2
- error syntax HOT 1
- Allow tagging the same person multiple times
- MugShot Plugin Errror HOT 4
- PHP Fatal error when deactivating/reactivating plugin HOT 2
- Needs SUPER or 'create trigger' not avail on some vendors (e.g. Dreamhost Shared)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mugshot.