Kinect / PyKinect2

Wrapper to expose Kinect for Windows v2 API in Python
MIT License
498 stars 237 forks source link

Anyone else facing this issue? #30

Closed karansaxena closed 8 years ago

karansaxena commented 8 years ago

AttributeError: 'PyKinectRuntime' object has no attribute 'infrared_frame_desc'

gdauphin commented 8 years ago

Same problem here :( . I also just tried a simple code to check "self._kinect.has_new_infrared_frame()" and always get false. Works perfectly with depth and color but not with infrared.

And 'infrared_frame_desc' is in pykinectruntime.py ...

nseymoursmith commented 8 years ago

I had this problem and fixed it by replacing the library files with the latest directly from this repo.

In my installation they were located at

anaconda3/lib/site-packages/pykinect2

Or somesuch similar place. You can find it by going into interactive mode and typing

import pykinect2 help(pykinect2)

gdauphin commented 8 years ago

It works perfectly ! Thank you for the tip :)

karansaxena commented 8 years ago

@nseymoursmith This worked! Thanks!

nmadapan commented 7 years ago

Thank you. It works..

hayatkhan8660-maker commented 3 years ago

I had this problem and fixed it by replacing the library files with the latest directly from this repo.

In my installation they were located at

anaconda3/lib/site-packages/pykinect2

Or somesuch similar place. You can find it by going into interactive mode and typing

import pykinect2 help(pykinect2)

Thanks buddy, it Works!