Coder Social home page Coder Social logo

Comments (2)

jwagner avatar jwagner commented on August 16, 2024 1

Just for reference this has already been discussed here: #9

The skin detection was designed to handle different skin colors and they are also represented in the testing dataset.

skinColor is a bit of a misnomer here. It's a normalized luminance vector in a gamma[1] color space. So it's more of a line than a point. If I recall my experiments back then correctly the different skin colors did indeed somewhat resemble a line. At least when ignoring the different types of pigment that does also have some correlation with the physical world - the density of pigments is a single free variable resulting in a line. But yes it’s definitely far from perfect.

Yes one could add more colors and then pick the max() of the results, yes the performance would quite possibly be adequate, yes, that will likely increase the true positive rate but also at the cost of higher false positives. The thing is that the intensity and color of the light will in many cases be a much greater factor than skin color deviating off that line just a bit.

What would be needed to improve this aspect is a more scientific approach: reviewing the literature, evaluating the options and then implementing one of them. But as you also mentioned this is a highly politicized debate.

This is a hobby project. I work on these projects to a large extent to relax and regain motivation. Participating in politically loaded debates really doesn't do either of those things for me. So I hope you can understand that I'm currently not up to revisit this aspect.

[1] Not sure why I made that choice, possibly just because I could get away with it.

from smartcrop.js.

roborourke avatar roborourke commented on August 16, 2024

Thanks for the response! Totally get that it's a hobby project, and I do think you've taken a considered and clever approach in the current implementation. You've answered the question really - didn't want to make this a charged or loaded debate in any way. I'll close this out.

from smartcrop.js.

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.