Coder Social home page Coder Social logo

Comments (2)

ChenglongMa avatar ChenglongMa commented on June 12, 2024

Hi @gaga23, thanks for your comments!

To solve your problem, you can either set --new_width to a smaller value, e.g., --new_width 200 or set --min_size to a large value, e.g., --min_size 500 500.

I've tested on your first example by running

stone -i ./example.jpg -d --new_width 200

And I got the following result message:

----- Processing example -----
Found 0 face, will detect global skin area instead
Dominant color(s) with proportion: ['#553331', '0.84', '#7B645D', '0.16']
Classified color category: #513b2e, distance: 9.459270010669316
100%|██████████| 1/1 [00:00<00:00,  3.96it/s]

Imagine we are using a scanner to scan the image to find a part of the face.
False detections are either because the image size is too large or the scanner is too small and therefore thinks a small area is a "face".

So the solution as shown above is to adjust the parameter to resize the image or scanner.

Hope it can help!
Thanks!

from skintoneclassifier.

gaga23 avatar gaga23 commented on June 12, 2024

Thx!

from skintoneclassifier.

Related Issues (7)

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.