Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

k4a wrapper has significant frame delay then Orbbec SDK for POE device #56

Open
chwan1 opened this issue Mar 14, 2024 · 3 comments
Open

Comments

@chwan1
Copy link

chwan1 commented Mar 14, 2024

Describe the bug
I'm developing a existing app that used Azure Kinect and want to replace it with Femto Mega. After enabling POE enumeration in k4aviewer using this post, I can open the Femto Mega device.

However I notice a significant frame delay (time between a actual movement and seeing it on the app) in k4aviewer compared with Orcceb viewer. In both apps, I only open the depth image with width 640. Is there some setting I missed in the OrbbecSDKConfig_v1.0.xml that can reduce the delay?

Desktop (please complete the following information):

  • OS with Version: Windows 23H2
  • SDK Version: 1.9.5
  • Firmware version: 1.2.7
@chwan1
Copy link
Author

chwan1 commented Mar 14, 2024

For more context, this is the config file I used with k4a viewer in OrbbecSDK_K4A_Wrapper_v1.9.2_windows_64_release_2024_03_11

@zhonghong322
Copy link

zhonghong322 commented Mar 23, 2024

The differences between OrbbecViewer and K4aViewer are:

1、Rendering methods are different.
2、Inside the K4a wrapper, there is a queue with a default size of 5. Please check if the frame rate of K4aViewer is normal. What I mean is, if the PC cannot process data quickly enough, the K4a SDK will buffer up to 5 frames of data, resulting in greater latency compared to OrbbecViewer.

image

@chwan1
Copy link
Author

chwan1 commented May 6, 2024

@zhonghong322 thanks for your reply, the thing is, the delay even exist when I comparing the case between USB connection and POE connection. I opened one device using k4aviewer, and the delay is still more significant when using POE then using USB. In both case, my task manager shows normal resource usage. So I'm wondering is there other difference between USB and POE.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants