Synchronize multiple Azure Kinect DK devices

陳冠廷 CHEN, GUANTING 0 Reputation points
2023-11-17T07:37:20.28+00:00

Thanks for your help! I got this error(AttributeError: module 'k4a' has no attribute 'Device'), when I run the program, do you have any suggestions, I can't solve it Appreciate your time and patience.

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
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AshokPeddakotla-MSFT 27,976 Reputation points
    2023-11-17T15:52:27.74+00:00

    陳冠廷 CHEN, GUANTING Greetings & Welcome to Microsoft Q&A forum!

    Based on the error message you provided, it seems like you are trying to use the k4a module in your program, but it is not recognizing the Device attribute. This error usually occurs when the module is not installed or not imported correctly.

    To solve this issue, please make sure that you have installed the k4a module correctly. You can install it using pip by running the following command in your terminal:

    pip install k4a
    

    Also, make sure that you have imported the module correctly in your code. You can import it using the following statement:

    import k4a
    

    If you have already installed the module and imported it correctly, then the issue might be related to the version of the module. Please make sure that you have installed the latest version of the k4a module.

    If the issue still persists, please provide me with more information about your code and the environment you are working in, it helps us to provide better solution.

    0 comments No comments