Open pgrassia-opri opened 9 years ago
@pgrassia-opri how did you access the c_float array through pyKinectRuntime?
@pgrassia-opri sorry, I'm quite unfamiliar with ctypes - how do you retrieve the mapped data after running the above code? Thanks
@pgrassia-opri Did you write the CoordinateMapper in Python? Or do you have any suggestions how i could do it myself? I want to overlay the IR/Depth with the bigger rgb image, but i am having problems doing the lens corrections/mapping myself.
Using the following snippet, where mapper is a coordinatermapper object result in a "python has stopped working" error message
that snippet is conform to the profile of the function defined in PyKinectV2.py which in turn is conform to the documentation
I got the function to perform properly by changing the profile of the method to use an array of c_float instead of _ColorSpacePoint (PyKinectV2.py line 2114) and changing the cast accordingingly.
I'm using Python 2.7.9 32 bit (one of the libs I use does not perform well in 64 bit) and the latest kinect v2 sdk (1409)
(edit: corrected a markdown typo)