Optimised and added cleaning to the sector detection (OCR)

This commit is contained in:
2023-05-12 10:10:23 +02:00
parent 863ce1922f
commit 7f0f481cc3
3 changed files with 82 additions and 120 deletions
+2 -2
View File
@@ -112,8 +112,8 @@ namespace Test_Merge
{
sectorCount++;
if (sectorCount == 1)
//result.Sector1 = (int)await (w as DriverSectorWindow).DecodePng();
result.Sector1 = 0;
result.Sector1 = (int)await (w as DriverSectorWindow).DecodePng();
//result.Sector1 = 0;
if (sectorCount == 2)
//result.Sector2 = (int)await (w as DriverSectorWindow).DecodePng();
result.Sector2 = 0;