Questions tagged [pykinect]

PyKinect is a Python module for interacting with the Kinect SDK.

PyKinect is a module for interacting with the SDK.

For more information, see the homepage.

28 questions
3
votes
2 answers

Segment a region in Depth Image of Microsoft Kinect using Open CV Python

I am working on Hand Segmentation using Microsoft Kinect Depth Stream. By doing some thresholding I was able to separate body from background, based on depth information provided by MS Kinect Sensor now I want is to segment hands. Any suggestions…
3
votes
1 answer

Access Kinect Depth Data with Pykinect

I'm currently working on a project where I need to access and process depth data using the PyKinect library. What I want to do is to define a depth threshold where I'll do some image segmentation, but since I'm new to PyKinect and I still don't…
Big Puncho
  • 301
  • 1
  • 4
  • 13
2
votes
1 answer

Unable to run pykinect2 on python 3.11.1

I am new to pykinect2 and have never used it before. I have created a virtual environment and used pip install pykinect2 to install the library, but when I run the code import pykinect2 I am presented with the following error. I am using VSCode as…
Sho
  • 21
  • 5
2
votes
1 answer

Simply get rgb and depth image stream with pykinect and python3

I want to get the depth and rgb video stream from a kinect (version 1). I'm using the Python 3 version of pykinect, not CPython. I have found some examples but Pykinect documentation is nearly inexistant and I don't want to use pygame. On linux with…
imad
  • 167
  • 2
  • 12
2
votes
2 answers

Skeleton data in Pykinect

I'm using pykinect to get kinect xbox360 data in python. Also I'm using pykinect for python 3.6 (https://github.com/ShrirangaKadam/pykinect-python3.6). kinect =…
Ajai
  • 1,049
  • 1
  • 11
  • 23
2
votes
1 answer

Kinect Video Channel Setup Python

I have this program that I wrote to show the kinect video channel on a pygame screen. import thread import pygame import easygui from pykinect import nui DEPTH_WINSIZE = (640, 480) screen_lock = thread.allocate() screen = None tmp_s =…
Nvidip
  • 81
  • 7
1
vote
0 answers

pykinect2 library works only with comtypes 1.1.4 which only works with python 2.7. Hence, not able to integrate media pipe, hand tracking with it

COMtype compatibility issue : As we know mediapipe works well with higher versions of python. i.e., 3.x and higher. I am looking a for ways to implement features of mediapipe into pikinect2 for hand tracking and currently stuck at comtype…
1
vote
1 answer

Converting a sequences of RGB images and depth files to mkv file format

I have a sequences of pngs and corresponding depth files (aligned to the corresponding images) from an external camera. RGB: 1.png 2.png 3.png etc 150.png Depth: 1.txt 2.txt 3.txt etc 150.txt I also have the intrinsics and corresponding camera…
mattsap
  • 3,790
  • 1
  • 15
  • 36
1
vote
0 answers

How to use pykinect to fuse depth map and color map

I have now completed the calibration of Kinect depth camera and RGB camera, obtained the internal and external parameters, FX, FY, CX and cy of the camera with MATLAB, and calculated R and T with the external parameters. The next step I need to do…
1
vote
1 answer

PyKinectv2 Body tracking count

New to pykinect and kinect in general -- trying to simply get a count of bodies currently being tracked. No skeletal or joint data required. Just want to get a running count of bodies currently in frame. I am using a kinect-v2 and pykinect2. Being…
pimm245
  • 13
  • 3
1
vote
1 answer

Getting skeletal data in pykinect (xbox 360 version)

I'm having trouble finding any sort of documentation or instruction for pykinect, specifically for the xbox 360 version of the kinect. how do I get skeletal data or where do I find the docs?? if I wasn't clear here please let me know!
Drew
  • 11
  • 1
  • 3
1
vote
0 answers

Get pixel locations of the joints in the depth and in the RGB images

l have skeleton data of 15 joints per person. Each person is described with (X,Y,Z) coordinates. Give that coordinates, l would like to find the pixel locations in the depth and in the RGB images. How can l get that ? Is there any Kinect…
Taylor
  • 127
  • 1
  • 10
1
vote
2 answers

How to convert a pygame image to Open CV image?

I am currently getting a real time RGB video from a Kinect2 camera using Pygame and pykinect2. I want to convert it into an open cv image so that it would be helpful for me in my further Computations. import pykinect2 import pygame import cv2 import…
vinay s
  • 23
  • 1
  • 5
1
vote
1 answer

Dynamic Gesture Recognition and Kinect with Python?

I am working on "Kinect for XBox One" on my HP Laptop with Windows 10 and 64-bit operating system. I have worked on python before and want to work in it only with jupyter notebok or python command line. The topic of my project is Dynamic Sign…
Prachi
  • 141
  • 2
  • 2
  • 13
1
vote
1 answer

Kinect shuts down after running this code and gives error

I'm trying to run the following code, from pykinect import nui from pykinect.nui import JointId from pykinect.nui import SkeletonTrackingState from pykinect.nui import TransformSmoothParameters with nui.Runtime() as kinect: …
1
2