Optimised and verified the position detection using OCR
This commit is contained in:
@@ -24,7 +24,7 @@ namespace Test_Merge
|
||||
/// </summary>
|
||||
/// <returns>The position of the pilot in int</returns>
|
||||
public override async Task<object> DecodePng()
|
||||
{
|
||||
{
|
||||
string ocrResult = await GetStringFromPng(WindowImage, Engine, "0123456789");
|
||||
|
||||
int position;
|
||||
|
||||
Reference in New Issue
Block a user