Beispiel #1
0
 /// <summary>
 ///     Calling Image changet event delegate
 /// </summary>
 /// <param name="image"></param>
 private void RaiseImageWithDetectionChangedEvent(Image <Bgr, byte> image)
 {
     try
     {
         ImageWithDetectionChanged?.Invoke(this, image);
     }
     catch (Exception e)
     {
         Debug.WriteLine(e.Message);
     }
 }
        private void RaiseImageWithDetectionChangedEvent(Image <Bgr, byte> image)
        {
            ImageWithDetectionChanged?.Invoke(this, image);

            try
            {
                if (image.Height > 0 && image.Width > 0)
                {
                    _controls.TheFrame = image.Bitmap;
                }
            }
            catch (Exception)
            {
                Debug.WriteLine("Detection changed issue");
            }
        }
Beispiel #3
0
 /// <summary>
 ///     Calling Image changet event delegate
 /// </summary>
 /// <param name="image"></param>
 private void RaiseImageWithDetectionChangedEvent(Image <Bgr, byte> image)
 {
     ImageWithDetectionChanged?.Invoke(this, image);
 }