googlesamples / mlkit

A collection of sample apps to demonstrate how to use Google's ML Kit APIs on Android and iOS
Apache License 2.0
3.55k stars 2.93k forks source link

[Bug report] Model deems nose and mouth present when they are not really present #728

Closed Cascade4183 closed 10 months ago

Cascade4183 commented 1 year ago

Describe the bug Nose and mouth feature detected when they are not really present

To Reproduce Submit the following image and check the output

Screenshot 2023-09-11 at 1 01 13 PM Screenshot 2023-09-11 at 12 42 18 PM

The features used for nose and mouth are as follows

Expected behavior

  1. Nose is not tagged as present when not present
  2. Mouth is not tagged as present when not present

SDK Info:

Smartphone:

Development Environment: (For Android issue feel free to skip this section)

miworking3 commented 10 months ago

Yes, this behavior is anticipated: ML Kit aims to provide projected facial landmarks, even when they are not visibly present in the image. Users can filter these out by comparing the coordinates of the projected landmarks with the image area to ascertain their visibility within the image.