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