Comments (2)
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.
Thx!
from skintoneclassifier.
Related Issues (7)
- Can I use this project to achieve the color consistency of face skin and other parts of the skin after AI face change? HOT 3
- Not able to use stone command HOT 5
- Error processing image HOT 2
- Images using the black and white flag without specifying bw HOT 7
- Skin Tone Classifier Execution in Google Colab" HOT 3
- using stone in my code HOT 13
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 skintoneclassifier.