You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
630 B
30 lines
630 B
using Microsoft.Kinect;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace KinectUtils
|
|
{
|
|
public abstract class Gesture : BaseGesture
|
|
{
|
|
public bool IsTesting;
|
|
|
|
protected int MinNbOfFrames;
|
|
|
|
protected int MaxNbOfFrames;
|
|
|
|
private int mCurrentFrameCount;
|
|
|
|
protected abstract bool TestInitialConditions(Body body);
|
|
|
|
protected abstract bool TestPosture(Body body);
|
|
|
|
protected abstract bool TestRunningGesture(Body body);
|
|
|
|
protected abstract bool TestEndConditions(Body body);
|
|
}
|
|
|
|
}
|