Back to Aurora Vision Library website

You are here: Start » Function Reference » Camera Support » Kinect » OpenNI_SkeletonTracing

OpenNI_SkeletonTracing


Header: ThirdPartySdk.h
Namespace: avl
Module: ThirdParty

Captures a skeleton using Kinect.

Syntax

bool avl::OpenNI_SkeletonTracing
(
	OpenNI_SkeletonTracingState& ioState,
	int& outNumberOfPersons,
	atl::Array<atl::Array<avl::Point2D>>& outSkeletons,
	avl::Region& outPlayerRegion
)

Parameters

Name Type Default Description
Input will be modified ioState OpenNI_SkeletonTracingState& Object used to maintain state of the function.
Output value outNumberOfPersons int&
Output value outSkeletons Array<Array<Point2D>>&
Output value outPlayerRegion Region&

Description

To be able to grab images using Kinect you need to install:

Please contact our support to get OpenNI / NITE installers.

Installed software must match the Aurora Vision Studio platform (x86 or x64).

After installing these files you have to manually copy all the files and directories from OpenNI2\Redist directory and all the dll files from the PrimeSense\NiTE2\Redist directory to your Aurora Vision Studio main directory.

Additionally, if you save the project in which you are using the skeleton tracing feature, you should copy the PrimeSense\NiTE2\Redist\NiTE2 directory also to the project directory.

Multithreaded environment

This function is not guaranteed to be thread-safe. When used in multithreaded environment, it has to be manually synchronized.

See Also