From 4a700ff637d7468535feec538302872e96e55675 Mon Sep 17 00:00:00 2001 From: njdaoyehu Date: Thu, 13 Feb 2025 12:24:36 +0800 Subject: [PATCH] fixed --- detect.gui/Services/OCRService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/detect.gui/Services/OCRService.cs b/detect.gui/Services/OCRService.cs index 77b28c6..a8a708f 100644 --- a/detect.gui/Services/OCRService.cs +++ b/detect.gui/Services/OCRService.cs @@ -113,8 +113,8 @@ public class OCRService x = ReplaceChars(resultList[item.Index + 2].Text), y = ReplaceChars(resultList[item.Index + 3].Text), center = ReplaceChars(resultList[item.Index + 4].Text), - w = ReplaceChars(resultList[item.Index + 1].Text).Split("x")[0], - h = ReplaceChars(resultList[item.Index + 1].Text).Split("x")[1], + w = ReplaceChars(resultList[item.Index + 1].Text).Split("x")[1], + h = ReplaceChars(resultList[item.Index + 1].Text).Split("x")[0], angle = ReplaceChars(resultList[item.Index + 5].Text), }); }