ibaiGorordo / pyKinectAzure

Python library to run Kinect Azure DK SDK functions
MIT License
446 stars 114 forks source link

Body tracker Initialization Failed - access violation reading 0xFFFFFFFFFFFFFFFF #63

Closed tonystark12 closed 2 years ago

tonystark12 commented 2 years ago

Hey,

I have been using pyKinectAzure for body tracking sdk tools and connection to python (Thank you!!). Currently, while launching it, I am faced with the following issue stated, and a detailed exploration of the error is as below :

File "../pyKinectAzure\kinectBodyTracker.py", line 73, in initializeTracker _k4abt.VERIFY(self.k4abt.k4abt_tracker_create(self.sensor_calibration, self.tracker_config, self.tracker_handle), "Body tracker initialization failed!")

OSError: exception: access violation reading 0xFFFFFFFFFFFFFFFF

This appears to be a ctypes error. How do we solve this / work around? Is this related to any permission issues? Any input from your side would be great. Thanks in advance.

Further information :

Azure kinect sdk - 1.4.1 Azure Body tracking SDK - 1.1.2

Could this also be a version mismatch issue?

tonystark12 commented 2 years ago

Just to add, I think I am using an old pulled Library from your repo. Should the updated code help resolve the issue with the sdk versions?

tonystark12 commented 2 years ago

This seems to be an issue with the sdk version and the version of the repo. I have resolved this so far by resorting to the latest on both ends. I can consider this issue as closed unless anyone wants to reopen to speculate