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.59k stars 2.93k forks source link

Pose Detection: InFrameConfidence values #814

Closed DowseyIoIz closed 6 months ago

DowseyIoIz commented 6 months ago

Hi, I'm working on pose detection and some data analysis. However, if ones is not fully inside the camera, the landmark outside the image will be a mess and ruin my landmark data.

I found this in description, "If the person was not completely inside the image, the model assigns the missing landmarks coordinates outside the frame and gives them low InFrameConfidence values.". Is there anyway we could use this like confidence threshold on mediapipe?