Giter Club home page Giter Club logo

py3freenect2's Issues

test.py displays one frame then freezes

I have successfully tested pyfreenect2 in Python 2, but when installing and running test.py for py3freenect2, the display windows show one frame then freeze and must be force quit.
Here is the terminal output:

python3 test.py
[Info] [Freenect2Impl] enumerating devices...
[Info] [Freenect2Impl] 12 usb devices connected
[Info] [Freenect2Impl] found valid Kinect v2 @4:3 with serial 500843140242
[Info] [Freenect2Impl] found 1 devices
[Info] [Freenect2DeviceImpl] opening...
[Info] [Freenect2DeviceImpl] transfer pool sizes rgb: 2016384 ir: 608*33792
[Info] [Freenect2DeviceImpl] opened
listener in ext: 0x3739c40
<pyfreenect2.SyncMultiFrameListener object at 0x7f54bbedaba8>
listener capsule : <capsule object "SyncMultiFrameListener" at 0x7f54aac5be70>
device in F2D.cpp: 0x35bc420
listenercapsule in F2D.cpp: 0x7f54aac5be70
listener in F2D.cpp: 0x3739c40
[Info] [Freenect2DeviceImpl] starting...
[Info] [Freenect2DeviceImpl] submitting rgb transfers...
[Info] [Freenect2DeviceImpl] submitting depth transfers...
[Info] [Freenect2DeviceImpl] started
Kinect serial: 500843140242
Kinect firmware: 4.0.3916.0
<capsule object "IRCameraParams" at 0x7f54aac5bea0>
[Info] [DepthPacketStreamParser] 1 packets were lost
[Info] [OpenGLDepthPacketProcessor] avg. time: 19.2441ms -> ~51.9641Hz
[Info] [TurboJpegRgbPacketProcessor] avg. time: 17.2406ms -> ~58.0025Hz
[Info] [DepthPacketStreamParser] 1 packets were lost
[Info] [DepthPacketStreamParser] 2 packets were lost
[Info] [DepthPacketStreamParser] 1 packets were lost
[Info] [OpenGLDepthPacketProcessor] avg. time: 19.29ms -> ~51.8405Hz
[Info] [TurboJpegRgbPacketProcessor] avg. time: 16.2635ms -> ~61.4872Hz
[Info] [OpenGLDepthPacketProcessor] avg. time: 19.234ms -> ~51.9911Hz
[Info] [TurboJpegRgbPacketProcessor] avg. time: 16.8385ms -> ~59.3877Hz
Killed

PIL not available for Python 3

Development for Python Image Library seems to have stopped without releasing support for Python 3- search indicates pillow is a potential alternative.

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.