public MainWindow() { rm = new RealsenseManager(); InitializeComponent(); rm.Init(); rm.handDataChanged += HandDataChanged; DataContext = this; }
static void Main(string[] args) { rm = new RealsenseManager(); rm.HandDataChanged += Rm_handDataChanged; rm.Init(); Console.ReadLine(); rm.Dispose(); }
public MainWindow() { InitializeComponent(); rm = new RealsenseManager(true); rm.DataStreamUpdate += Rm_DataStreamUpdate; rm.HandDataChanged += Rm_HandDataChanged; rm.Init(); }
public MainWindow() { InitializeComponent(); rm = new RealsenseManager(); rm.HandDataChanged += HandDataChanged; rm.Init(); data = new ViewModel.HandViewModel(); DataContext = data; }
public MainPage() { InitializeComponent(); StartCameraCapture(); rm = new RealsenseManager(true); rm.DataStreamUpdate += Rm_DataStreamUpdate; rm.HandDataChanged += Rm_HandDataChanged; rm.Init(); preditionEngine = new MLNetSignPrediction(MLNetClassifier.LightGBM, true); }
public Form1() { InitializeComponent(); rm = new RealsenseManager(); rm.RGBImageRetreived += Rm_RGBImageRetreived; rm.DepthImageRetreived += Rm_DepthImageRetreived; rm.HandDataChanged += Rm_HandDataChanged; rm.DataStreamUpdate += Rm_DataStreamUpdate; rm.ImageCaptured += Rm_ImageCaptured; pb_ImgCam.Paint += Pb_ImgCam_Paint; pb_DepthImage.Paint += Pb_DepthImage_Paint; renderRGB = new D2D1Render(); renderDepth = new D2D1Render(); renderRGB.SetHWND(pb_ImgCam); renderDepth.SetHWND(pb_DepthImage); rm.Init(); preditionEngine = new MLNetHierarchicalSignPrediciton(MLNetClassifier.LightGBM); InitiateDitionary(); }