Kinect / PyKinect2

Wrapper to expose Kinect for Windows v2 API in Python
MIT License
498 stars 237 forks source link

How to capture images ? #46

Open dhruvdesmond opened 6 years ago

dhruvdesmond commented 6 years ago

I am doing a project to track human gait. How to use this library to get images from the feed to create a data set ?

TheSOMGuy commented 6 years ago

This is a strange question, but anyway.

First of all you have to run python and stuff to get this working. ( See the Readme section for installation instructions. ) A very good idea is to create and use a virtual environment for your PyKinect stuff. ( see the virtualenv section on this page ) Then you should us the PyKinectBodyGame.py in the examples folder to test if PyKinect2 is running. If it works you have to implement the routines for your dataset generation by yourself. I would tell you more, but i don't know which data u need ( depth, color etc. ). So if you need more information write more details about the dataset you want to create.

Have fun.

sangk54 commented 5 years ago

Hi, I need to get depth information or 3D point cloud. Could you send me some example code ? Thanks !

nitzel commented 5 years ago

@sangk54 take a look at my code in issue #72 where I have a class that returns an array of camera space points (3d coordinates).