Activated OCR on all the sectors

This commit is contained in:
2023-05-12 10:12:51 +02:00
parent 7f0f481cc3
commit 1d17963572
+4 -4
View File
@@ -115,11 +115,11 @@ namespace Test_Merge
result.Sector1 = (int)await (w as DriverSectorWindow).DecodePng(); result.Sector1 = (int)await (w as DriverSectorWindow).DecodePng();
//result.Sector1 = 0; //result.Sector1 = 0;
if (sectorCount == 2) if (sectorCount == 2)
//result.Sector2 = (int)await (w as DriverSectorWindow).DecodePng(); result.Sector2 = (int)await (w as DriverSectorWindow).DecodePng();
result.Sector2 = 0; //result.Sector2 = 0;
if (sectorCount == 3) if (sectorCount == 3)
//result.Sector3 = (int)await (w as DriverSectorWindow).DecodePng(); result.Sector3 = (int)await (w as DriverSectorWindow).DecodePng();
result.Sector3 = 0; //result.Sector3 = 0;
} }
if (w is DriverTyresWindow) if (w is DriverTyresWindow)
//result.CurrentTyre = (Tyre)await (w as DriverTyresWindow).DecodePng(); //result.CurrentTyre = (Tyre)await (w as DriverTyresWindow).DecodePng();