Files
OCR_Decode/OCR_Decode/DriverSector1Window.cs
T

24 lines
582 B
C#

using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tesseract;
namespace OCR_Decode
{
internal class DriverSector1Window : Window
{
public DriverSector1Window(Bitmap image, Rectangle bounds) : base(image, bounds)
{
Name = "Sector 1";
}
public override async Task<object> DecodePng()
{
int result = await GetTimeFromPng(WindowImage, OcrImage.WindowType.Sector, Engine);
return result;
}
}
}