# Skeleton get stuck with particular gesture (swiping)

**URL:** <https://community.stereolabs.com/t/skeleton-get-stuck-with-particular-gesture-swiping/1347>\
**Category:** C#\
**Created:** [July 14, 2022, 9:20am UTC](https://community.stereolabs.com/t/skeleton-get-stuck-with-particular-gesture-swiping/1347 "2022-07-14T09:20:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lunanane](https://community.stereolabs.com/user_avatar/community.stereolabs.com/lunanane/32/633_2.png) [@lunanane](https://community.stereolabs.com/u/lunanane)\
**Post date:** [July 14, 2022, 9:20am UTC](https://community.stereolabs.com/t/skeleton-get-stuck-with-particular-gesture-swiping/1347/1 "2022-07-14T09:20:21Z")

</div>

Hi,

We have been working on a implementation of Stereolabs C# API into our production tool VVVV gamma.

> **[GitHub - m-box-de/VL.Devices.ZED: Draft VL wrapper of stereolabs C# API.](https://github.com/m-box-de/VL.Devices.ZED)**
>
> Draft VL wrapper of stereolabs C# API. Contribute to m-box-de/VL.Devices.ZED development by creating an account on GitHub.

It works so far quite well, i do get for example pointcloud, skeleton and other tracking data.

Now in our particular problem domain we want to detect swipe gesture, so the hand is moving in front of the body.

Suprisingly I found that with this gesture the ZED camera does not perform so well. The hand joints get stuck in front of the face or the upper body of the person performing the gesture.  
This happens with some people more then with others, but overall it seems to be a problem for the thing we want to do with it.

With the C# api i have controll over prediction treshold and tracking type, that is the only thing i can set right now ( at least the only thing we exposed in our tool). playing with these parameters do not improve the situation…

Do you have an idea what could be changed on the C# api side to improve the skeleton tracking?

Thank you.

---

<div class="post-metadata">

**Author:** ![BenjaminV](https://community.stereolabs.com/user_avatar/community.stereolabs.com/benjaminv/32/3863_2.png) [@BenjaminV](https://community.stereolabs.com/u/BenjaminV)\
**Post date:** [July 15, 2022, 8:55am UTC](https://community.stereolabs.com/t/skeleton-get-stuck-with-particular-gesture-swiping/1347/2 "2022-07-15T08:55:47Z")

</div>

Hi,

I would recommend using the HUMAN\_BODY\_ACCURATE detection model, which is the most accurate model available in the SDK.  
You can also try to change the Depth mode to a more accurate one (‘ULTRA’ for example).

Indeed, when you are doing the gesture, your arm is pointing toward the camera, there all the keypoints of the arm are occluded by the hand which can lead to inaccurate data.  
I guess it’s what is happening here.

It would also be very helpful if you could send us a SVO file (Stereolabs video format) where this issue happens. You can send it to [support@stereolabs.com](mailto:support@stereolabs.com).  
We will investigate on our side to potentially improve it in future SDK versions.

Thanks for your feedbacks.

Best regards,  
Benjamin Vallon

Stereolabs Support
