Ver código fonte

fix: Change the roi of ticket of GoryouRealm.

Yuulong 3 anos atrás
pai
commit
73cdbd293a
2 arquivos alterados com 4 adições e 4 exclusões
  1. 2 2
      tasks/GoryouRealm/assets.py
  2. 2 2
      tasks/GoryouRealm/gr/ocr.json

+ 2 - 2
tasks/GoryouRealm/assets.py

@@ -31,7 +31,7 @@ class GoryouRealmAssets:
 
 
 	# Ocr Rule Assets
-	# 多少张票 
-	O_GR_TICKET = RuleOcr(roi=(934,21,84,41), area=(934,21,84,41), mode="Digit", method="Default", keyword="", name="gr_ticket")
+	# 多少张票
+	O_GR_TICKET = RuleOcr(roi=(910,21,100,41), area=(910,21,100,41), mode="Digit", method="Default", keyword="", name="gr_ticket")
 
 

+ 2 - 2
tasks/GoryouRealm/gr/ocr.json

@@ -1,8 +1,8 @@
 [
   {
     "itemName": "gr_ticket",
-    "roiFront": "934,21,84,41",
-    "roiBack": "934,21,84,41",
+    "roiFront": "910,21,100,41",
+    "roiBack": "910,21,100,41",
     "mode": "Digit",
     "method": "Default",
     "keyword": "",