37 / py3freenect2 Goto Github PK
View Code? Open in Web Editor NEWA port of remexre's pyfreenect2 for python3
A port of remexre's pyfreenect2 for python3
Development for Python Image Library seems to have stopped without releasing support for Python 3- search indicates pillow is a potential alternative.
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
How can I install this library on windows?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.