Code Monkey home page Code Monkey logo

pykinecttk's People

Contributors

karansaxena avatar qirky avatar seanny123 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pykinecttk's Issues

Playback Error using ex-playback.py

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.

Error in Datacapture

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

Playback Error using ex-playback.py

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.

Capturing Color and Depth frames froma playback video at the same time

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.

AssertionError: tagSTATSTG

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

When I process recorded xef files using ex-capture gives me below error

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

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.