Code Monkey home page Code Monkey logo

kinect2sample's Introduction

Kinect for Windows SDK v2 Sample Program

This repository is Sample Program of Kinect for Windows SDK v2 written in Native C++.

Environment

  • Visual Studio Community 2015 *1
  • Kinect for Windows SDK v2.0
  • Kinect for Windows SDK v2.0 Language Packs (en-US)
  • Speech Platform SDK 11
  • OpenCV 3.1.0 *2
  • CMake 3.6.1 *3

*1 This sample program need Visual Studio Community (or upper version), because depends on ATL.
*2 Pre-built OpenCV that is distributed by official team does not include library for Win32 (x86) target platform. If you want to build sample program for Win32 (x86) target platform, You need build OpenCV yourself. Similarly, If it does not include library for your target compiler, You need build OpenCV yourself.
*3 You need generate project of this sample program using CMake. Please read this document about how to generate project using CMake.

License

Copyright © 2016 Tsukasa SUGIURA
Distributed under the MIT License.

Contact

Reference

kinect2sample's People

Contributors

unanancyowen 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  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  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  avatar

Watchers

 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kinect2sample's Issues

OPENCV_DIR NOT FOUND

Hi, I am getting OpeCV_DIR-NOTFOUND message, although my OpenCV_DIR is set to C:/opencv/build, which contains OpenCVConfig.cmake file. Any ideas ?

With Opencv2.4.11 code explodes sometiimes

With Kinect SDK v2.0_1409
Windows 8
MSVS 2013

Some examples

Broke at the end of the Joint's for
First-chance exception at 0x00007FFA03C124EB (opencv_core2411d.dll) in Body.exe: 0xC0000005: Access violation reading location 0x0000004985E2C024.
Unhandled exception at 0x00007FFA03C124EB (opencv_core2411d.dll) in Body.exe: 0xC0000005: Access violation reading location 0x0000004985E2C024.

If I comment the joint's for, then it broke at a cv::circle of Right Hand State
First-chance exception at 0x00007FFA03C124EB (opencv_core2411d.dll) in Body.exe: 0xC0000005: Access violation reading location 0x00000079207A74C0.
Unhandled exception at 0x00007FFA03C124EB (opencv_core2411d.dll) in Body.exe: 0xC0000005: Access violation reading location 0x00000079207A74C0.

Kinect2Sample/Sample/Body/Body.cpp

line 112 cv::resize( bufferMat, bodyMat, cv::Size(), 0.5, 0.5 );

line 268 cv::resize( bufferMat, bodyMat, cv::Size(), 0.5, 0.5 );

What's the difference

Memory increase with HDFace

HI UnaNancyOwen,

Congratulations for your explorations of the kinect2.
I've tried some of your samples and find a possible memory issue with HDFace code.
I'm using the latest sdk1409 (I saw that there was a memory leak issue with the previous version), vs2013.
I've tried to compile for win32 or x64, and nothing changes.
When I run the application the memory used increases every time the kinect tracked a new body, ...., and it crashes.
Please find a diag session at
https://www.dropbox.com/s/skkre9282mr6vaj/Report20150220-1134.diagsession?dl=0
I'm new to visual studio, so I don't really understand how to debug it with accuracy.
I can only see on that diag session that there is an external code that consuming new memory space without freeing it. I see that there is 6 times the same amount of memory consumed, ...
Hope it helps

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.