Revert "perf: 黄票绿票商店使用特征匹配 (#12718)"

This reverts commit defcf79672.
This commit is contained in:
晓丶梦丶仁
2025-05-17 18:54:29 +08:00
parent 998326a1ed
commit 227fc2dcd7
10 changed files with 48 additions and 59 deletions

View File

@@ -4959,25 +4959,15 @@
},
"GreenTicket@Store@ClickFirstFloor": {
"algorithm": "OcrDetect",
"text": ["1", "T", "I"],
"isAscii": true,
"text": ["1", "T", "I", "亻"],
"action": "ClickSelf",
"roi": [263, 196, 35, 73],
"sub": ["SlowlySwipeToTheLeft"],
"postDelay": 1000,
"next": ["GreenTicket@Store@ClickItemList#next", "GreenTicket@Store@ClickSecondFloor"]
"next": ["GreenTicket@Store@ClickItem", "GreenTicket@Store@ClickSecondFloor"]
},
"GreenTicket@Store@ClickItem": {
"algorithm": "FeatureMatch",
"template": "empty.png",
"detector": "BRISK",
"action": "ClickSelf",
"roi": [318, 139, 956, 484],
"next": ["GreenTicket@Store@ChooseMaxAmount"]
},
"GreenTicket@Store@ClickItemList": {
"algorithm": "JustReturn",
"next": [
"template": [
"GreenTicket@Store@ClickItem_Headhunting_Permit",
"GreenTicket@Store@ClickItem_Orundum",
"GreenTicket@Store@ClickItem_LMD",
@@ -4985,42 +4975,10 @@
"GreenTicket@Store@ClickItem_Recruitment_Permit",
"GreenTicket@Store@ClickItem_Tactical_Battle_Record",
"GreenTicket@Store@ClickItem_Pure_Gold"
]
},
"GreenTicket@Store@ClickItem_Headhunting_Permit": {
"doc": "单抽",
"baseTask": "GreenTicket@Store@ClickItem",
"template": "items/7003.png"
},
"GreenTicket@Store@ClickItem_Orundum": {
"doc": "合成玉",
"baseTask": "GreenTicket@Store@ClickItem",
"template": "items/4003.png"
},
"GreenTicket@Store@ClickItem_LMD": {
"doc": "龙门币",
"baseTask": "GreenTicket@Store@ClickItem",
"template": "items/4001.png"
},
"GreenTicket@Store@ClickItem_Furniture_Part": {
"doc": "家具部件",
"baseTask": "GreenTicket@Store@ClickItem",
"template": "items/3401.png"
},
"GreenTicket@Store@ClickItem_Recruitment_Permit": {
"doc": "招募许可",
"baseTask": "GreenTicket@Store@ClickItem",
"template": "items/7001.png"
},
"GreenTicket@Store@ClickItem_Tactical_Battle_Record": {
"doc": "战斗记录",
"baseTask": "GreenTicket@Store@ClickItem",
"template": "items/2003.png"
},
"GreenTicket@Store@ClickItem_Pure_Gold": {
"doc": "赤金",
"baseTask": "GreenTicket@Store@ClickItem",
"template": "items/3003.png"
],
"action": "ClickSelf",
"roi": [318, 139, 956, 484],
"next": ["GreenTicket@Store@ChooseMaxAmount"]
},
"GreenTicket@Store@ChooseMaxAmount": {
"roi": [1027, 405, 79, 53],
@@ -5039,7 +4997,7 @@
"template": "CreditShop-Bought.png",
"next": [
"GreenTicket@Store@PurchasedConfirm",
"GreenTicket@Store@ClickItemList#next",
"GreenTicket@Store@ClickItem",
"GreenTicket@Store@ClickSecondFloor",
"Stop"
]
@@ -5048,12 +5006,11 @@
"algorithm": "OcrDetect",
"text": ["2"],
"action": "ClickSelf",
"isAscii": false,
"roi": [262, 364, 38, 58],
"maxTimes": 1,
"sub": ["SlowlySwipeToTheLeft*3"],
"postDelay": 1000,
"next": ["GreenTicket@Store@ClickItemList#next", "Stop"]
"next": ["GreenTicket@Store@ClickItem", "Stop"]
},
"YellowTicket@Store@ChooseTicketType": {
"algorithm": "OcrDetect",
@@ -5078,18 +5035,50 @@
]
},
"YellowTicket@Store@ClickItem_Headhunting_Permit": {
"doc": "单抽卷",
"algorithm": "FeatureMatch",
"template": "items/7003.png",
"detector": "BRISK",
"method": "RGBCount",
"doc_colorScales": "右部黄色、右部蓝字、左部灰字、左部黑色",
"colorScales": [
[
[200, 200, 0],
[255, 255, 40]
],
[
[0, 0, 170],
[80, 80, 255]
],
[
[170, 170, 170],
[255, 255, 255]
],
[
[0, 0, 0],
[30, 30, 30]
]
],
"action": "ClickSelf",
"roi": [318, 139, 956, 484],
"next": ["YellowTicket@Store@Purchase"]
},
"YellowTicket@Store@ClickItem_Ten-roll_Headhunting_Permit": {
"doc": "十连",
"baseTask": "YellowTicket@Store@ClickItem_Headhunting_Permit",
"template": "items/7004.png"
"method": "RGBCount",
"doc_colorScales": "左部亮色+右部亮字、左部蓝字、右部黑色",
"colorScales": [
[
[190, 150, 70],
[250, 230, 140]
],
[
[10, 50, 90],
[50, 100, 170]
],
[
[0, 0, 0],
[30, 30, 30]
]
],
"action": "ClickSelf",
"roi": [318, 139, 956, 484],
"next": ["YellowTicket@Store@Purchase"]
},
"YellowTicket@Store@Purchase": {
"roi": [872, 556, 137, 48],

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB