{
    "CreditIcon": {
        "desc": "信用点商店图标",
        "recognition": "TemplateMatch",
        "roi": [
            74,
            103,
            1131,
            538
        ],
        "template": "CreditShopping/CreditIcon.png",
        "order_by": "Vertical"
    },
    "NotSoldOut": {
        "desc": "非售罄",
        "recognition": "ColorMatch",
        "roi": "CreditIcon",
        "roi_offset": [
            -94,
            -135,
            140,
            152
        ],
        "method": 6,
        "lower": [
            120
        ],
        "upper": [
            255
        ],
        "count": 20000,
        "order_by": "Vertical"
    },
    "CanNotAfford": {
        "desc": "买不起（价格是红色）",
        "recognition": "ColorMatch",
        "roi": "NotSoldOut",
        "roi_offset": [
            94,
            133,
            -94,
            -147
        ],
        "lower": [
            255,
            131,
            131
        ],
        "upper": [
            255,
            192,
            192
        ],
        "count": 20,
        "order_by": "Vertical"
    },
    "CanAfford": {
        "desc": "买得起（价格不是红色）",
        "recognition": "ColorMatch",
        "roi": "NotSoldOut",
        "roi_offset": [
            94,
            133,
            -94,
            -147
        ],
        "lower": [
            76,
            76,
            76
        ],
        "upper": [
            108,
            108,
            108
        ],
        "count": 20,
        "order_by": "Vertical"
    },
    "BuyFirstOCR": {
        "desc": "按用户指定顺序购买",
        "recognition": "OCR",
        "roi": "CanAfford",
        "roi_offset": [
            -89,
            36,
            66,
            4
        ],
        "expected": "^(嵌晶玉|武库配额|折金票)$", //这里是具体执行参数
        "only_rec": true,
        "order_by": "Vertical"
    },
    "BuyFirstOCR_CanNotAfford": {
        "desc": "有商品,但是买不起",
        "recognition": "OCR",
        "roi": "CanNotAfford",
        "roi_offset": [
            -89,
            36,
            66,
            4
        ],
        "expected": "^(嵌晶玉|武库配额|折金票)$", //这里是具体执行参数
        "only_rec": true,
        "order_by": "Vertical"
    },
    "IsDiscountPriority1": {
        "desc": "优先购买1折扣匹配",
        "recognition": "OCR",
        "roi": "BuyFirstOCR",
        "roi_offset": [
            62,
            -172,
            -34,
            7
        ],
        "expected": [
            "99|95|75|50|25"
        ],
        "only_rec": true,
        "order_by": "Vertical"
    },
    "IsDiscountPriority1_CanNotAfford": {
        "desc": "优先购买1买不起时折扣匹配",
        "recognition": "OCR",
        "roi": "BuyFirstOCR_CanNotAfford",
        "roi_offset": [
            62,
            -172,
            -34,
            7
        ],
        "expected": [
            "99|95|75|50|25"
        ],
        "only_rec": true,
        "order_by": "Vertical"
    },
    "Priority2OCR": {
        "desc": "优先购买2白名单物品",
        "recognition": "OCR",
        "roi": "CanAfford",
        "roi_offset": [
            -89,
            36,
            66,
            4
        ],
        "expected": "a^", //这里是具体执行参数
        "only_rec": true,
        "order_by": "Vertical"
    },
    "Priority2OCR_CanNotAfford": {
        "desc": "优先购买2白名单物品（买不起）",
        "recognition": "OCR",
        "roi": "CanNotAfford",
        "roi_offset": [
            -89,
            36,
            66,
            4
        ],
        "expected": "a^", //这里是具体执行参数
        "only_rec": true,
        "order_by": "Vertical"
    },
    "IsDiscountPriority2": {
        "desc": "优先购买2折扣匹配",
        "recognition": "OCR",
        "roi": "Priority2OCR",
        "roi_offset": [
            62,
            -172,
            -34,
            7
        ],
        "expected": [
            "99|95|75|50|25"
        ],
        "only_rec": true,
        "order_by": "Vertical"
    },
    "IsDiscountPriority2_CanNotAfford": {
        "desc": "优先购买2买不起时折扣匹配",
        "recognition": "OCR",
        "roi": "Priority2OCR_CanNotAfford",
        "roi_offset": [
            62,
            -172,
            -34,
            7
        ],
        "expected": [
            "99|95|75|50|25"
        ],
        "only_rec": true,
        "order_by": "Vertical"
    },
    "Priority3OCR": {
        "desc": "优先购买3白名单物品",
        "recognition": "OCR",
        "roi": "CanAfford",
        "roi_offset": [
            -89,
            36,
            66,
            4
        ],
        "expected": "a^", //这里是具体执行参数
        "only_rec": true,
        "order_by": "Vertical"
    },
    "Priority3OCR_CanNotAfford": {
        "desc": "优先购买3白名单物品（买不起）",
        "recognition": "OCR",
        "roi": "CanNotAfford",
        "roi_offset": [
            -89,
            36,
            66,
            4
        ],
        "expected": "a^", //这里是具体执行参数
        "only_rec": true,
        "order_by": "Vertical"
    },
    "IsDiscountPriority3": {
        "desc": "优先购买3折扣匹配",
        "recognition": "OCR",
        "roi": "Priority3OCR",
        "roi_offset": [
            62,
            -172,
            -34,
            7
        ],
        "expected": [
            "99|95|75|50|25"
        ],
        "only_rec": true,
        "order_by": "Vertical"
    },
    "IsDiscountPriority3_CanNotAfford": {
        "desc": "优先购买3买不起时折扣匹配",
        "recognition": "OCR",
        "roi": "Priority3OCR_CanNotAfford",
        "roi_offset": [
            62,
            -172,
            -34,
            7
        ],
        "expected": [
            "99|95|75|50|25"
        ],
        "only_rec": true,
        "order_by": "Vertical"
    },
    "BlacklistOCR": {
        "desc": "不是黑名单物品",
        "recognition": "OCR",
        "roi": "CanAfford",
        "roi_offset": [
            -89,
            36,
            66,
            4
        ],
        "expected": "^(?!(协议棱柱组)$).*$", //这里是具体执行参数，匹配价格位置非空的商品
        "only_rec": true,
        "order_by": "Vertical"
    },
    "IsDiscount": {
        "desc": "有折扣",
        "recognition": "OCR",
        "roi": "BlacklistOCR",
        "roi_offset": [
            62,
            -172,
            -34,
            7
        ],
        "expected": [
            "99|95|75|50|25"
        ],
        "only_rec": true,
        "order_by": "Vertical"
    }
}
