{
    "ResellROIProductRow1Col1Price": {
        //当商品有两行时，可以用这个区域识别第一行价格，标记为第一行
        "desc": "第一行第一列商品价格区域",
        "recognition": "OCR",
        "roi": [
            72,
            350,
            141,
            40
        ],
        "threshold": 0.8
    },
    "ResellROIProductRow1Col2Price": {
        "desc": "第一行第二列商品价格区域",
        "recognition": "OCR",
        "roi": [
            222,
            350,
            141,
            40
        ],
        "threshold": 0.8
    },
    "ResellROIProductRow1Col3Price": {
        "desc": "第一行第三列商品价格区域",
        "recognition": "OCR",
        "roi": [
            372,
            350,
            141,
            40
        ],
        "threshold": 0.8
    },
    "ResellROIProductRow1Col4Price": {
        "desc": "第一行第四列商品价格区域",
        "recognition": "OCR",
        "roi": [
            522,
            350,
            141,
            40
        ],
        "threshold": 0.8
    },
    "ResellROIProductRow1Col5Price": {
        "desc": "第一行第五列商品价格区域",
        "recognition": "OCR",
        "roi": [
            672,
            350,
            141,
            40
        ],
        "threshold": 0.8
    },
    "ResellROIProductRow1Col6Price": {
        "desc": "第一行第六列商品价格区域",
        "recognition": "OCR",
        "roi": [
            822,
            350,
            141,
            40
        ],
        "threshold": 0.8
    },
    "ResellROIProductRow1Col7Price": {
        "desc": "第一行第七列商品价格区域",
        "recognition": "OCR",
        "roi": [
            980,
            350,
            141,
            40
        ],
        "threshold": 0.8
    },
    "ResellROIProductRow1Col8Price": {
        "desc": "第一行第八列商品价格区域",
        "recognition": "OCR",
        "roi": [
            1122,
            350,
            141,
            40
        ],
        "threshold": 0.8
    },
    "ResellROIProductRow2Col1Price": {
        //当商品只有一行时，可以用这个区域识别第一行价格，标记为第二行
        "desc": "第二行第一列商品价格区域",
        "recognition": "OCR",
        "roi": [
            72,
            484,
            141,
            40
        ],
        "threshold": 0.8
    },
    "ResellROIProductRow2Col2Price": {
        "desc": "第二行第二列商品价格区域",
        "recognition": "OCR",
        "roi": [
            222,
            484,
            141,
            40
        ],
        "threshold": 0.8
    },
    "ResellROIProductRow2Col3Price": {
        "desc": "第二行第三列商品价格区域",
        "recognition": "OCR",
        "roi": [
            372,
            484,
            141,
            40
        ],
        "threshold": 0.8
    },
    "ResellROIProductRow2Col4Price": {
        "desc": "第二行第四列商品价格区域",
        "recognition": "OCR",
        "roi": [
            522,
            484,
            141,
            40
        ],
        "threshold": 0.8
    },
    "ResellROIProductRow2Col5Price": {
        "desc": "第二行第五列商品价格区域",
        "recognition": "OCR",
        "roi": [
            672,
            484,
            141,
            40
        ],
        "threshold": 0.8
    },
    "ResellROIProductRow2Col6Price": {
        "desc": "第二行第六列商品价格区域",
        "recognition": "OCR",
        "roi": [
            822,
            484,
            141,
            40
        ],
        "threshold": 0.8
    },
    "ResellROIProductRow2Col7Price": {
        "desc": "第二行第七列商品价格区域",
        "recognition": "OCR",
        "roi": [
            980,
            484,
            141,
            40
        ],
        "threshold": 0.8
    },
    "ResellROIProductRow2Col8Price": {
        "desc": "第二行第八列商品价格区域",
        "recognition": "OCR",
        "roi": [
            1122,
            484,
            141,
            40
        ],
        "threshold": 0.8
    },
    "ResellROIProductRow3Col1Price": {
        //当商品有两行时，可以用这个区域识别第二行价格，标记为第三行
        "desc": "第三行第一列商品价格区域",
        "recognition": "OCR",
        "roi": [
            72,
            567,
            141,
            40
        ],
        "threshold": 0.8
    },
    "ResellROIProductRow3Col2Price": {
        "desc": "第三行第二列商品价格区域",
        "recognition": "OCR",
        "roi": [
            222,
            567,
            141,
            40
        ],
        "threshold": 0.8
    },
    "ResellROIProductRow3Col3Price": {
        "desc": "第三行第三列商品价格区域",
        "recognition": "OCR",
        "roi": [
            372,
            567,
            141,
            40
        ],
        "threshold": 0.8
    },
    "ResellROIProductRow3Col4Price": {
        "desc": "第三行第四列商品价格区域",
        "recognition": "OCR",
        "roi": [
            522,
            567,
            141,
            40
        ],
        "threshold": 0.8
    },
    "ResellROIProductRow3Col5Price": {
        "desc": "第三行第五列商品价格区域",
        "recognition": "OCR",
        "roi": [
            672,
            567,
            141,
            40
        ],
        "threshold": 0.8
    },
    "ResellROIProductRow3Col6Price": {
        "desc": "第三行第六列商品价格区域",
        "recognition": "OCR",
        "roi": [
            822,
            567,
            141,
            40
        ],
        "threshold": 0.8
    },
    "ResellROIProductRow3Col7Price": {
        "desc": "第三行第七列商品价格区域",
        "recognition": "OCR",
        "roi": [
            980,
            567,
            141,
            40
        ],
        "threshold": 0.8
    },
    "ResellROIProductRow3Col8Price": {
        "desc": "第三行第八列商品价格区域",
        "recognition": "OCR",
        "roi": [
            1122,
            567,
            141,
            40
        ],
        "threshold": 0.8
    },
    "ResellROIViewFriendPrice": {
        "desc": "查看好友价格按钮区域",
        "recognition": "OCR",
        "roi": [
            944,
            446,
            98,
            26
        ],
        "expected": [
            "朋友",
            "(?i)Friend",
            "友人",
            "好友",
            "(?i)Friends",
            "フレンド"
        ],
        "threshold": 0.8
    },
    "ResellROIDetailCostPrice": {
        "desc": "商品详情页成本价格区域",
        "recognition": "OCR",
        "roi": [
            1002,
            240,
            71,
            26
        ],
        "expected": "[0-9]+",
        "only_rec": true,
        "color_filter": "ResellROITextColorGrey",
        "threshold": 0.8
    },
    "ResellROIFriendSalePrice": {
        "desc": "好友出售价格区域",
        "recognition": "OCR",
        "roi": [
            797,
            294,
            45,
            28
        ],
        "expected": "[0-9]+",
        "only_rec": true,
        "color_filter": "ResellROITextColorGrey",
        "threshold": 0.8,
        "action": "DoNothing",
        "next": []
    },
    "ResellROIQuotaCurrent": {
        "desc": "当前配额区域 (x/y格式)",
        "recognition": "OCR",
        "roi": [
            180,
            135,
            75,
            30
        ],
        "expected": "(\\d+)/(\\d+)",
        "threshold": 0.3
    },
    "ResellROIQuotaNextAddHours": {
        "desc": "下次增加配额区域 - 小时格式 (a小时后+b)",
        "recognition": "OCR",
        "roi": [
            250,
            130,
            140,
            30
        ],
        "expected": [
            "(\\d+)\\s*小时.*?[+]\\s*(\\d+)",
            "(\\d+)\\s*小時.*?[+]\\s*(\\d+)",
            "(\\d+)\\s*h.*?[+]\\s*(\\d+)"
        ],
        "threshold": 0.3
    },
    "ResellROIQuotaNextAddMinutes": {
        "desc": "下次增加配额区域 - 分钟格式 (a分钟后+b)",
        "recognition": "OCR",
        "roi": [
            250,
            130,
            140,
            30
        ],
        "expected": [
            "(\\d+)\\s*分钟.*?[+]\\s*(\\d+)",
            "(\\d+)\\s*分鐘.*?[+]\\s*(\\d+)",
            "(\\d+)\\s*min.*?[+]\\s*(\\d+)"
        ],
        "threshold": 0.3
    },
    "ResellROIQuotaNextAddFallback": {
        "desc": "下次增加配额区域 - 兜底格式 (+b)",
        "recognition": "OCR",
        "roi": [
            250,
            130,
            140,
            30
        ],
        "expected": "[+]\\s*(\\d+)",
        "threshold": 0.3
    },
    "ResellROIFriendLoading": {
        "desc": "好友加载中区域",
        "recognition": "OCR",
        "roi": [
            694,
            376,
            145,
            95
        ],
        "expected": [
            "加载中",
            "載入中",
            "(?i)Loading",
            "読み込み中"
        ],
        "threshold": 0.85,
        "action": "DoNothing",
        "next": [
            "ResellROIFriendSalePrice",
            "ResellROIFriendLoading"
        ]
    },
    "ResellROITextColorGrey": {
        "desc": "文本颜色为灰色区域",
        "recognition": "ColorMatch",
        "roi": [
            0,
            0,
            100,
            100
        ],
        "method": 40,
        "lower": [
            0,
            0,
            50
        ],
        "upper": [
            0,
            5,
            150
        ]
    }
}
