GithubHelp home page GithubHelp logo

Comments (2)

norlesh avatar norlesh commented on September 15, 2024 1

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.

aegorfk avatar aegorfk commented on September 15, 2024

@DavidYaonanZhu Hello! I have the same issue. Did you solve this?

from pykinect2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.