Sfoglia il codice sorgente

fix(RichMan): Update OCR region of interest for 'sca_res_orochi' to correct positioning

Migs 10 mesi fa
parent
commit
32165fa7ee
2 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. 1 1
      tasks/RichMan/assets.py
  2. 2 2
      tasks/RichMan/mall/scales/ocr.json

+ 1 - 1
tasks/RichMan/assets.py

@@ -288,7 +288,7 @@ class RichManAssets:
 	# 多少号位 
 	O_SCA_DEMON_POSTION = RuleOcr(roi=(960,244,88,41), area=(960,244,88,41), mode="Single", method="Default", keyword="", name="sca_demon_postion")
 	# 朴素的御魂 
-	O_SCA_RES_OROCHI = RuleOcr(roi=(531,9,127,37), area=(531,9,127,37), mode="DigitCounter", method="Default", keyword="", name="sca_res_orochi")
+	O_SCA_RES_OROCHI = RuleOcr(roi=(610,9,127,37), area=(610,9,127,37), mode="DigitCounter", method="Default", keyword="", name="sca_res_orochi")
 	# 首领御魂数量 
 	O_SCA_RES_DEMON = RuleOcr(roi=(949,10,86,35), area=(949,10,86,35), mode="Digit", method="Default", keyword="", name="sca_res_demon")
 	# 永生之海 

+ 2 - 2
tasks/RichMan/mall/scales/ocr.json

@@ -37,8 +37,8 @@
   },
   {
     "itemName": "sca_res_orochi",
-    "roiFront": "531,9,127,37",
-    "roiBack": "531,9,127,37",
+    "roiFront": "610,9,127,37",
+    "roiBack": "610,9,127,37",
     "mode": "DigitCounter",
     "method": "Default",
     "keyword": "",