Comments (2)
assuming this is the same import error I received caused by the "assert sizeof(tagSTATSTG) == 72" on line 2216 of PyKinectV2.py (sizeof is now 80) then the quick fix is to edit the file to "assert sizeof(tagSTATSTG) >= 72".
My assumption is that an extra field has been added to the structure in the Microsoft API... by convention Microsoft have usually/always append any new fields to the end of structures so as not to break backwards compatability... anyhow it allowed me to succefuly import PyKinectV2.
The more long term fix is for someone (who isn't me because I don't need any more distractions sorry) should find what the new field is and add it to the PyKinect2 API ... perhaps easier is just to modify all the asserts to >= to guard against future API changes upstream from Microsoft - not that I believe there will be any since KinectV2 is no longer something MS supports.
from pykinect2.
@DavidYaonanZhu Hello! I have the same issue. Did you solve this?
from pykinect2.
Related Issues (20)
- Can't import utils_PyKinectV2
- Related to 1.getting same values of pixel in entire column 2. frame resolution HOT 3
- except COMError, err: SyntaxError: invalid syntax HOT 4
- Kinectv2 and python
- PyKinect2 Integration wih OpenCV for YOLOv3 throws an error of : Number of input channels should be multiple of 3 but got 4 in function HOT 1
- PyGame Examples Run but no Image is Display HOT 1
- pykinectv2报错NameError: name 'unicode' is not defined
- Anyone can provide video tutorial on setup? HOT 3
- Could not find module 'Kinect20' (or one of its dependencies). Try using the full path with constructor syntax
- argument 4: <class 'TypeError'>: expected LP__CameraSpacePoint instance instead of LP__CameraSpacePoint
- Use on 64 bit distribution
- Picture from multiple kinects HOT 4
- How do i get the Euler Angle of a joint? HOT 1
- kinectv1 and python HOT 1
- PyKinectV2 name 'comtypes' is not defined HOT 1
- Import issue with PyKinectV2 HOT 2
- -
- Could not find module 'Kinect20' (or one of its dependencies). HOT 1
- black screen when opening HOT 7
- Body is not being detected HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pykinect2.