private int maxPerFrame = 0; // Maximum number of gestures to detect in the current frame public GestureCascade(GestureType type, String filePath, int maxPerFrame, Color color) { // Initialize the cascades with the files. The library will read the physical file with the clasifier cascade = OpenCVInterop.InitCascade(filePath); this.type = type; this.maxPerFrame = maxPerFrame; this.color = color; }