asus4 / tf-lite-unity-sample

TensorFlow Lite Samples on Unity
834 stars 249 forks source link

Z axis in BlazePose #251

Closed cancaglar closed 1 year ago

cancaglar commented 1 year ago

Is there way to get Z axis in BlazePose? I mean yes blazePose landmarks return Z axis but its inconsistent. I just want to know how far human is from camera or I thought worldLandmarks does that but when human walk forward or backward pose not moving.

asus4 commented 1 year ago

Hi @cancaglar

The BlazePose model outputs 2 different types of landmarks:

I understand that it is impossible to get the distance from the camera. so it looks like you have to calculate pseudo distance from the scale of the whole landmarks.