Esempio n. 1
0
 protected void OnObjectsDetectButton(object sender, EventArgs e)
 {
     if (ControlsActive)
     {
         Detect.Haar(
             opencv,
             OriginalImage,
             GtkSelection.Selection,
             Convert.ToDouble(cameraImage.WidthRequest) / OriginalImage.Width,
             Convert.ToDouble(cameraImage.HeightRequest) / OriginalImage.Height
             );
     }
 }