Optimised and verified the position detection using OCR
This commit is contained in:
+2
-2
@@ -106,8 +106,8 @@ namespace Test_Merge
|
||||
//result.LapTime = (int)await (w as DriverLapTimeWindow).DecodePng();
|
||||
result.LapTime = 0;
|
||||
if (w is DriverPositionWindow)
|
||||
//result.Position = (int)await (w as DriverPositionWindow).DecodePng();
|
||||
result.Position = 0;
|
||||
result.Position = (int)await (w as DriverPositionWindow).DecodePng();
|
||||
//result.Position = 0;
|
||||
if (w is DriverSectorWindow)
|
||||
{
|
||||
sectorCount++;
|
||||
|
||||
Reference in New Issue
Block a user