Azure Kinect sync error

盈憲 陳 1 Reputation point
2023-01-24T16:56:51.16+00:00

I got this error(AttributeError: module 'k4a' has no attribute 'Device'), when I run this example .

how can I solve it?

Azure Kinect DK
Azure Kinect DK
A Microsoft developer kit and peripheral device with advanced artificial intelligence sensors for sophisticated computer vision and speech models.
287 questions
{count} votes

1 answer

Sort by: Most helpful
  1. QuantumCache 20,031 Reputation points
    2023-03-10T02:02:53.5433333+00:00

    Hello,

    It looks like there is an issue with the Body Tracker while running the examplePlaybackBodyTracker.py script in the pyKinectAzure-master library.

    The error message indicates that the body tracker capture enqueue has failed and there seems to be an issue with getting the depth buffer from the capture handle.

    Here are some suggestions that you can try to resolve the issue:

    1. Check the device connection: Ensure that your Azure Kinect DK is properly connected to your computer and is functioning correctly. Try unplugging and plugging the device back in.
    2. Check the environment setup: Make sure that you have followed all the steps in the environment setup guide for pyKinectAzure library. Ensure that all the dependencies have been installed correctly, and the SDK is properly configured.
    3. Update the SDK: Try updating the Azure Kinect Sensor SDK to the latest version. You can download the latest version of the SDK from the official Azure Kinect Sensor SDK download page.
    4. Try a different example: If the issue persists, try running a different example from the pyKinectAzure library. This will help you determine whether the issue is with the library or the examplePlaybackBodyTracker.py script.
    5. Contact support: If none of the above steps work, consider reaching out to the pyKinectAzure library support team or the Azure Kinect Sensor SDK support team for further assistance.

    I hope this helps you resolve the issue with the Body Tracker in the pyKinectAzure library.

    0 comments No comments