private void ExecuteTesseract(object sender, EventArgs e)
        {
            var previous = new StatisticalDTO();
            var after    = new StatisticalDTO();

            previous = StatisticsDetails.GetDetailsResult();
            Stopwatch watch = Stopwatch.StartNew(); // time the detection process
            UMat      uImg  = new UMat(imagePath, ImreadModes.Color);

            ProcessImageMethod(uImg, (int)OCRMethodEnum.Tesseract);
            after = StatisticsDetails.GetDetailsResult();
            watch.Stop(); //stop the timer
            after.TimeSpend = watch.Elapsed.TotalMilliseconds.ToString();

            ShowStatisticalResult(previous, after);
        }
 public void OnSensorChanged(SensorEvent e)
 {
     StatisticsDetails.GetDetailsResult();
 }
 public void OnAccuracyChanged(Sensor sensor, [GeneratedEnum] SensorStatus accuracy)
 {
     StatisticsDetails.GetDetailsResult();
 }