public RecognitionController() { //module initialization _dataProcessor = new DataProcessor(); _gestureModule = new GestureModule(this); _segmentationModule = new SegmentationModule(this); _featureSelector = new FeatureSelector(); _NLPModule = new NLPModule(); _classifier = new Classifier(); _postprocessor = new Postprocessor(); //data transfer event m_dataProcessor.m_dataWarehouse.m_dataTransferEvent += m_gestureModule.OnDataTransfer; //data ready event m_dataProcessor.m_dataTransferEvent += m_segmentationModule.OnNewFrameDataReady; m_dataProcessor.m_dataTransferEvent += m_gestureModule.OnNewFrameDataReady; //console manager ConsoleManager.Show(); }