Skip to content
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

Using FaceDetection for better skin model. #23

Open
vikasTmz opened this issue Jun 25, 2017 · 3 comments
Open

Using FaceDetection for better skin model. #23

vikasTmz opened this issue Jun 25, 2017 · 3 comments

Comments

@vikasTmz
Copy link

A small possible improvement for a better skin model.

  • Perform face detection on the image:

screenshot from 2017-06-26 02 35 08

  • Get a color palette of dominant colors in the bounding box region:

screenshot from 2017-06-26 02 38 57

  • Original skin detection:

screenshot from 2017-06-26 02 36 33

  • New skin detection:

screenshot from 2017-06-26 02 34 34

For this example, this technique made a difference between nude detection i.e (totalSkin/totalPixels)*100 became greater than 15.

@pa7
Copy link
Owner

pa7 commented Jun 26, 2017

@vikasTmz that's smart, if I ever get to update nude.js I will implement it :) thanks for sharing

@vikasTmz
Copy link
Author

But it could be infeasible if this is to be integrated to a plugin. Do know if anyone has created a browser plugin already using your nude.js?

@five23
Copy link

five23 commented Jan 28, 2019

This looks promising: https://github.com/justadudewhohacks/face-api.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants