Optimised and verified the position detection using OCR

This commit is contained in:
2023-05-12 08:57:58 +02:00
parent 592025e283
commit 863ce1922f
4 changed files with 55 additions and 12 deletions
+1 -1
View File
@@ -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;