justadudewhohacks / face-api.js

JavaScript API for face detection and face recognition in the browser and nodejs with tensorflow.js
MIT License
16.5k stars 3.68k forks source link

Wrong face detection #856

Open ilovebioz opened 2 years ago

ilovebioz commented 2 years ago

Hi,

I am using your SSD face detection model. It worked very well but in some cases it detects wrong. For example, when I used the DOG picture, it almost detect it is a human face. Do you have any way to reduce that. https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/dog-puppy-on-garden-royalty-free-image-1586966191.jpg?crop=1.00xw:0.669xh;0,0.190xh&resize=1200:*

vladmandic commented 2 years ago

i don't see a problem - that image produces result with low-confidence (below 0.57), so just set minimum score appropriately.

duoduoObama commented 3 weeks ago

image image image image 528e05e19ca88f2ffdc58feca0b488ee

Lion is already up to 0.88 which is crazy