24 lines
581 B
C#
24 lines
581 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 DriverSector2Window : Window
|
|
{
|
|
public DriverSector2Window(Bitmap image, Rectangle bounds) : base(image, bounds)
|
|
{
|
|
Name = "Sector 2";
|
|
}
|
|
public override async Task<object> DecodePng()
|
|
{
|
|
int result = await GetTimeFromPng(WindowImage, OcrImage.WindowType.Sector,Engine);
|
|
return result;
|
|
}
|
|
}
|
|
}
|