qirky / pykinecttk Goto Github PK
View Code? Open in Web Editor NEWPython application for extracting data from Kinect Studio V2 - No longer maintained
License: GNU General Public License v3.0
Python application for extracting data from Kinect Studio V2 - No longer maintained
License: GNU General Public License v3.0
Hi Ryan, I'm able to run the "ex-capture.py" file and receive data and store it in a file. When I come to play this file back using "ex-playback.py" I get this error:
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python27\Lib\lib-tk\Tkinter.py", line 1470, in call
return self.func(*args)
File "C:\Python27\lib\site-packages\PyKinectTk\Playback\Select.py", line 123, in start_playback
pid = self.performance_id()
File "C:\Python27\lib\site-packages\PyKinectTk\Playback\Select.py", line 99, in performance_id
return self._performances[self.selected()]
TypeError: list indices must be integers, not str
That's for the GUI, when I try the CLI commands I'm not sure what to enter as input - I keep getting invalid ID.
What I'm trying to do is stream a video OR record it, and extract frames from it. What am I doing wrong. Thanks.
When I run your datacapture code I get this error.
Traceback (most recent call last):
File "pycapture.py", line 5, in
import PyKinectTk
File "C:\Users\Dhruv\Anaconda2.7\lib\site-packages\PyKinectTk_init_.py", line 61, in
import Capture
File "C:\Users\Dhruv\Anaconda2.7\lib\site-packages\PyKinectTk\Capture_init_.py", line 1, in
from DataCapture import *
File "C:\Users\Dhruv\Anaconda2.7\lib\site-packages\PyKinectTk\Capture\DataCapture.py", line 14, in
from Writers import VideoWriter, AudioWriter
File "C:\Users\Dhruv\Anaconda2.7\lib\site-packages\PyKinectTk\Capture\Writers.py", line 4, in
from cv2 import VideoWriter_fourcc, destroyAllWindows
ImportError: cannot import name VideoWriter_fourcc
Hi Ryan, I'm able to run the "ex-capture.py" file and receive data and store it in a file. When I come to play this file back using "ex-playback.py" I get this error:
Exception in Tkinter callback
Traceback (most recent call last):
File "C:\Python27\Lib\lib-tk\Tkinter.py", line 1470, in call
return self.func(*args)
File "C:\Python27\lib\site-packages\PyKinectTk\Playback\Select.py", line 123, in start_playback
pid = self.performance_id()
File "C:\Python27\lib\site-packages\PyKinectTk\Playback\Select.py", line 99, in performance_id
return self._performances[self.selected()]
TypeError: list indices must be integers, not str
That's for the GUI, when I try the CLI commands I'm not sure what to enter as input - I keep getting invalid ID.
What I'm trying to do is stream a video OR record it, and extract frames from it. What am I doing wrong. Thanks.
Hello,
First of all congratulations on this amazing work.
I was just wondering if it is possible that after recording a video on Kinect studio that I can capture frames(Extract pictures) from a color playback as well as a Depth playback at the same time? Or any other playbacks the Kinect studio has like IR or Skeleton. If so how this can be done using your code sir.
Thank you.
Hi,
When I run the example ex-playback.py (Windows 8.1 64bit), I get this error:
File "C:\Python27\lib\site-packages\PyKinectTk\utils\PyKinect2\PyKinectV2.py",
line 2214, in
assert sizeof(tagSTATSTG) == 72, sizeof(tagSTATSTG)
AssertionError: 80
Any ideas? :)
Thanks, and congrats on this work.
Nuno
Listening for Kinect data
Hover over the location you want to click and press enter
Traceback (most recent call last):
File "ex-capture.py", line 21, in
App.listen(getVideo=True, Clicking=True, duration=120)
File "C:\Users\741467.conda\envs\py2\lib\site-packages\PyKinectTk\Capture\DataCapture.py", line 213, in listen
body_frame = self.get_body_frame()
File "C:\Users\741467.conda\envs\py2\lib\site-packages\PyKinectTk\Capture\DataCapture.py", line 137, in get_body_frame
return self._kinect.get_last_body_frame()
File "C:\Users\741467.conda\envs\py2\lib\site-packages\PyKinectTk\utils\PyKinect2\PyKinectRuntime.py", line 280, in get_last_body_frame
return self._body_frame_bodies.copy()
File "C:\Users\741467.conda\envs\py2\lib\site-packages\PyKinectTk\utils\PyKinect2\PyKinectRuntime.py", line 547, in copy
res.floor_clip_plane = self.floor_clip_plane
KeyboardInterrupt
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.