-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatic face detection #6
Comments
Openface is a good solution for this, e.g. https://cmusatyalab.github.io/openface/usage/#api-documentation |
I've started to use the Google Vision API to automatically remove the images that have no faces. The first batch has been uploaded to cpd_pictures/Memorial.Parade.faces |
Initially we'd want to:
Note that what to do with the face depends on whether it is of an officer or not. If it is, then it should be extracted for identification, else, it should be blurred (with the original image kept unmodified). Related to: #8 |
Once a photo is uploaded, we should submit a face detection task to a worker queue which will do:
The number of faces detected in the image will be the For each detected face, we can save the bounding box in the database for display when the image is accessed again later by volunteers, e.g. here's the bounding box for the first face in a test officer image I uploaded to S3:
I was thinking of modifying the |
there's a working prototype in branch |
Do face detection automatically with images submitted by users and those that are scraped from social media
The text was updated successfully, but these errors were encountered: