#pragma once #ifndef __KINECTGESTUREDETECTORTRAINER_H__ #define __KINECTGESTUREDETECTORTRAINER_H__ #include "KinectGestureDetector.h" #if defined(WIN32) || defined(WIN64) #include namespace KinectGesture { HRESULT GenerateLabeledExamples( const CHAR* szGestureName, CHAR* const* szExampleFiles, const UINT uiExampleFileCount, const CHAR* szDestPath, const INT iSkeletonIndex, // If specified this is a list of size uiExampleFileCount // identifying examples as positive (1) or negative (-1) // per Example File INT8 iLabels[] = NULL, CHAR* const* szOutputFiles = NULL ); HRESULT TrainGestures( CHAR* const* szFiles, const UINT uiFileCount, const CHAR* szOutputFileName, const double fAccuracyLevel, const UINT nNumWeakClassifiersAtRuntime, const FLOAT fWeightOfFalsePositivesWhenFiltering, const UINT uCPUAvailableForTraining, BOOL useSkeleton, BOOL useOpticalFlow, UINT framesToSkip ); } #endif #endif // #ifndef __KINECTGESTUREDETECTORTRAINER_H__