Hello,
I’m encountering a few issues with body tracking in Unity that I hope you can help me with:
- Camera Orientation: I need assistance in setting the ZED camera from horizontal to vertical rendering. How can I achieve this?
- Character Movement: I’m using a 3D character to visualize my movements, but I notice that the body continuously moves in the Y direction. I’m looking for a solution to ensure that the movement data reflects my actual position accurately.
- Height Issues: When small people (like children) come in front of the camera, they appear on the ground rather than being tracked correctly. How can I improve the tracking accuracy in these scenarios?
- Getting Height and Width: I’m having trouble obtaining the correct height and width using
zedmat.GetHeight()
and zedmat.GetWidth()
. They seem to return unexpected values. Any tips on how to get these dimensions accurately?
Thank you!
Below, I have detailed each issue and included relevant references, such as a demo video and a photo of my current setup.
YouTube link
List of issues :
-
Camera Setup Orientation (Horizontal to Vertical): I need to set up the camera vertically since my application is in portrait mode. I have attached a reference image of my current setup. Could you please confirm if this is the best way to set up the camera? If not, kindly provide suggestions for an optimal horizontal-to-vertical setup.
-
Character Hand Overlapping Issue: In the attached demo video, I noticed that the 3D character’s hand overlaps with the body when I touch my chest. Could you provide guidance on resolving this issue?
-
Character Non-Stop Movement: In the same video, the character appears to move in every direction non-stop, without any input. What could be causing this behavior, and what steps can I take to correct it?
-
Body Part Movement in Idle Position: The character’s body parts, including fingers, move in an idle position based on the camera input. Is there a way for me to manually set the position of any body part as I want? If yes, please guide me on how to do this.
-
Random Spawn Position: Despite the camera remaining in a fixed position, the character spawns in a random position each time. I would like to spawn the character in a fixed direction consistently. Could you advise on how to achieve this?
-
Camera Overheating: I am using the ZED camera for about 9 to 10 hours, and I notice that it becomes extremely hot after some time. Is this normal behavior, or are there any recommendations to prevent overheating during extended use?
Thanks for the detailed information, It’s really helpful !
-
You can place your camera vertically like you did. However, you should know the body tracking module overall quality might be slightly degraded using this camera setup. This is a known limitation of our current model but that is something we will certainly looking to improve in the future.
-
We do not provide a ready-to-use solution for that in our Unity plugin. A solution would be to work with the physics and colliders to prevent the hands to to pass through the rest of the body.
-
You can try to reduce the jitter by increase the smoothing value available in the ZED Manager script (see screenshot). This will also increase the latency.
-
This is done by this function : zed-unity/ZEDCamera/Assets/SDK/Helpers/Scripts/BodyTracking/SkeletonHandler.cs at master · stereolabs/zed-unity · GitHub
You will need to modify the code to apply a specific rotation or position to a joint.
-
Same as 4.
-
No, the camera is not known to overheat in general. Do you have an idea of the temp of the camera? You can open our tool called “ZED Sensor Viewer” to get the temp of each sensor.
Thank you so much for your support.
will try all of these