diff --git a/docs/G302.txt b/docs/G302.txt index 33390f8..e39b5f8 100644 --- a/docs/G302.txt +++ b/docs/G302.txt @@ -1,6 +1,6 @@ { "device_type": "G302", - "option_count": 61, + "option_count": 62, "1": { "category": "base", "name": "restore", @@ -43,8 +43,8 @@ "title": "多流输出类型", "desc": "", "type": "string", - "cur": "无", - "default": "无", + "cur": "彩色+灰度+黑白", + "default": "彩色+灰度+黑白", "size": 32, "range": ["彩色+灰度+黑白", "彩色+灰度", "彩色+黑白", "灰度+黑白"], "depend_or": ["4==true"] @@ -74,9 +74,20 @@ "min": 0, "max": 255 }, - "depend_or": ["6==黑白"] + "depend_or": ["4==true", "6==黑白"] }, "8": { + "category": "base", + "name": "reverse-bw", + "title": "黑白图像反色输出(正常颜色为:0-黑色;1-白色)", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["4==true", "6==黑白"] + }, + "9": { "category": "base", "name": "filter", "title": "灰度或黑白图像 - 除色", @@ -88,7 +99,7 @@ "range": ["不除色", "除红色", "除绿色", "除蓝色", "红色增强", "绿色增强", "蓝色增强"], "depend_and": ["4!=true", "6!=24位彩色", "6!=颜色自动识别"] }, - "9": { + "10": { "category": "base", "name": "is-rid-multiout-red", "title": "24位彩色图像 - 多流输出除红", @@ -99,7 +110,7 @@ "size": 4, "depend_and": ["4!=true", "6!=256级灰度", "6!=黑白", "6!=颜色自动识别"] }, - "10": { + "11": { "category": "base", "name": "is-rid-answer-sheet-red", "title": "24位彩色图像 - 答题卡除红", @@ -110,7 +121,7 @@ "size": 4, "depend_and": ["4!=true", "6!=256级灰度", "6!=黑白", "6!=颜色自动识别"] }, - "11": { + "12": { "category": "base", "name": "is-erase-bkg", "title": "背景移除", @@ -121,7 +132,7 @@ "size": 4, "depend_and": ["4!=true", "6!=256级灰度", "6!=黑白", "6!=颜色自动识别"] }, - "12": { + "13": { "category": "base", "name": "bkg-color-range", "title": " 背景色彩浮动范围", @@ -134,9 +145,9 @@ "min": 1, "max": 128 }, - "depend_or": ["11==true"] + "depend_or": ["12==true"] }, - "13": { + "14": { "category": "base", "name": "sharpen", "title": "锐化与模糊", @@ -148,7 +159,7 @@ "range": ["无", "锐化", "进一步锐化", "模糊", "进一步模糊"], "depend_and": ["4!=true", "6!=黑白", "6!=颜色自动识别"] }, - "14": { + "15": { "category": "base", "name": "is-rid-morr", "title": "去除摩尔纹", @@ -159,7 +170,7 @@ "size": 4, "depend_and": ["4!=true", "6!=黑白", "6!=颜色自动识别"] }, - "15": { + "16": { "category": "base", "name": "is-rid-grid", "title": "除网纹", @@ -170,7 +181,7 @@ "size": 4, "depend_and": ["4!=true", "6!=黑白", "6!=颜色自动识别"] }, - "16": { + "17": { "category": "base", "name": "is-err-extension", "title": "错误扩散", @@ -181,7 +192,7 @@ "size": 4, "depend_or": ["6==黑白"] }, - "17": { + "18": { "category": "base", "name": "is-noise-optimize", "title": "黑白图像噪点优化", @@ -192,7 +203,7 @@ "size": 4, "depend_or": ["6==黑白"] }, - "18": { + "19": { "category": "base", "name": "noise-size", "title": " 噪点优化尺寸", @@ -205,9 +216,9 @@ "min": 10, "max": 50 }, - "depend_or": ["17==true"] + "depend_or": ["18==true"] }, - "19": { + "20": { "category": "base", "name": "paper", "title": "纸张尺寸", @@ -218,7 +229,7 @@ "size": 40, "range": ["A4", "A5", "A5横向", "A6", "A6横向", "B5", "B5横向", "B6", "B6横向", "匹配原始尺寸", "最大扫描尺寸自动裁切", "最大扫描尺寸"] }, - "20": { + "21": { "category": "base", "name": "is-custom-area", "title": "自定义扫描区域", @@ -227,9 +238,9 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["19!=匹配原始尺寸", "19!=最大扫描尺寸", "19!=最大扫描尺寸自动裁切"] + "depend_and": ["20!=匹配原始尺寸", "20!=最大扫描尺寸", "20!=最大扫描尺寸自动裁切"] }, - "21": { + "22": { "category": "base", "name": "tl-x", "title": "扫描区域左侧(mm)", @@ -242,9 +253,9 @@ "min": 0.000000, "max": 210.000000 }, - "depend_and": ["20==true"] + "depend_and": ["21==true"] }, - "22": { + "23": { "category": "base", "name": "br-x", "title": "扫描区域右侧(mm)", @@ -257,9 +268,9 @@ "min": 0.000000, "max": 210.000000 }, - "depend_and": ["20==true"] + "depend_and": ["21==true"] }, - "23": { + "24": { "category": "base", "name": "tl-y", "title": "扫描区域上侧(mm)", @@ -272,9 +283,9 @@ "min": 0.000000, "max": 297.000000 }, - "depend_and": ["20==true"] + "depend_and": ["21==true"] }, - "24": { + "25": { "category": "base", "name": "br-y", "title": "扫描区域下侧(mm)", @@ -287,9 +298,9 @@ "min": 0.000000, "max": 297.000000 }, - "depend_and": ["20==true"] + "depend_and": ["21==true"] }, - "25": { + "26": { "category": "base", "name": "page", "title": "扫描页面", @@ -300,7 +311,7 @@ "size": 50, "range": ["单面", "双面", "跳过空白页(通用)", "跳过空白页(发票纸)", "对折"] }, - "26": { + "27": { "category": "base", "name": "blank-sensitivity", "title": " 跳过空白页灵敏度", @@ -313,9 +324,9 @@ "min": 1, "max": 100 }, - "depend_or": ["25==跳过空白页(通用)", "25==跳过空白页(发票纸)"] + "depend_or": ["26==跳过空白页(通用)", "26==跳过空白页(发票纸)"] }, - "27": { + "28": { "category": "base", "name": "resolution", "title": "分辨率", @@ -326,7 +337,7 @@ "size": 4, "range": [100, 150, 200, 300] }, - "28": { + "29": { "category": "base", "name": "is-exchange", "title": "交换正反面", @@ -335,9 +346,9 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["25!=单面"] + "depend_and": ["26!=单面"] }, - "29": { + "30": { "category": "base", "name": "is-split", "title": "图像拆分", @@ -346,9 +357,9 @@ "cur": false, "default": false, "size": 4, - "depend_or": ["25!=对折"] + "depend_or": ["26!=对折"] }, - "30": { + "31": { "category": "base", "name": "is-anti-skew", "title": "自动纠偏", @@ -357,15 +368,15 @@ "cur": true, "default": true, "size": 4, - "depend_or": ["25!=对折"] + "depend_or": ["26!=对折"] }, - "31": { + "32": { "category": "base", "name": "grp-2", "title": "亮度", "type": "group" }, - "32": { + "33": { "category": "base", "name": "is-custom-gamma", "title": "启用色调曲线", @@ -375,7 +386,7 @@ "default": false, "size": 4 }, - "33": { + "34": { "category": "base", "name": "brightness", "title": "亮度值", @@ -388,9 +399,9 @@ "min": 1, "max": 255 }, - "depend_and": ["32==false"] + "depend_and": ["33==false"] }, - "34": { + "35": { "category": "base", "name": "contrast", "title": "对比度", @@ -403,9 +414,9 @@ "min": 1, "max": 7 }, - "depend_and": ["32==false"] + "depend_and": ["33==false"] }, - "35": { + "36": { "category": "base", "name": "gamma", "title": "伽马值", @@ -418,15 +429,15 @@ "min": 0.010000, "max": 5.000000 }, - "depend_and": ["32==false"] + "depend_and": ["33==false"] }, - "36": { + "37": { "category": "base", "name": "grp-3", "title": "图像处理", "type": "group" }, - "37": { + "38": { "category": "base", "name": "is-photo-mode", "title": "照片模式", @@ -436,7 +447,7 @@ "default": false, "size": 4 }, - "38": { + "39": { "category": "base", "name": "is-erase-black-frame", "title": "消除黑框", @@ -446,7 +457,7 @@ "default": true, "size": 4 }, - "39": { + "40": { "category": "base", "name": "is-dark-sample", "title": "深色样张", @@ -455,9 +466,9 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["25!=对折", "38!=true", "19!=匹配原始尺寸", "19!=最大扫描尺寸", "19!=最大扫描尺寸自动裁切", "30!=true"] + "depend_and": ["26!=对折", "39!=true", "20!=匹配原始尺寸", "20!=最大扫描尺寸", "20!=最大扫描尺寸自动裁切", "31!=true"] }, - "40": { + "41": { "category": "advanced", "name": "threshold", "title": "阈值", @@ -470,9 +481,9 @@ "min": 30, "max": 50 }, - "depend_or": ["38==true", "19==匹配原始尺寸", "19==最大扫描尺寸", "19==最大扫描尺寸自动裁切", "30==true"] + "depend_or": ["39==true", "20==匹配原始尺寸", "20==最大扫描尺寸", "20==最大扫描尺寸自动裁切", "31==true"] }, - "41": { + "42": { "category": "advanced", "name": "anti-noise-level", "title": "背景抗噪等级", @@ -485,9 +496,9 @@ "min": 1, "max": 20 }, - "depend_or": ["38==true", "19==匹配原始尺寸", "19==最大扫描尺寸", "19==最大扫描尺寸自动裁切", "30==true"] + "depend_or": ["39==true", "20==匹配原始尺寸", "20==最大扫描尺寸", "20==最大扫描尺寸自动裁切", "31==true"] }, - "42": { + "43": { "category": "advanced", "name": "margin", "title": "边缘缩进", @@ -500,9 +511,9 @@ "min": 5, "max": 30 }, - "depend_or": ["38==true", "19==匹配原始尺寸", "19==最大扫描尺寸自动裁切", "30==true", "19==最大扫描尺寸"] + "depend_or": ["39==true", "20==匹配原始尺寸", "20==最大扫描尺寸自动裁切", "31==true", "20==最大扫描尺寸"] }, - "43": { + "44": { "category": "advanced", "name": "bkg-fill-mode", "title": "背景填充方式", @@ -512,9 +523,9 @@ "default": "凸多边形", "size": 40, "range": ["凸多边形", "凹多边形"], - "depend_or": ["38==true"] + "depend_or": ["39==true"] }, - "44": { + "45": { "category": "base", "name": "is-anti-permeate", "title": "防止渗透", @@ -524,7 +535,7 @@ "default": false, "size": 4 }, - "45": { + "46": { "category": "base", "name": "permeate-level", "title": " 防止渗透等级", @@ -534,9 +545,9 @@ "default": "较弱", "size": 16, "range": ["弱", "较弱", "一般", "较强", "强"], - "depend_or": ["44==true"] + "depend_or": ["45==true"] }, - "46": { + "47": { "category": "base", "name": "is-rid-hole-l", "title": "穿孔移除—左侧", @@ -546,7 +557,7 @@ "default": false, "size": 4 }, - "47": { + "48": { "category": "base", "name": "search-hole-range-l", "title": " 左侧穿孔搜索范围占幅面比例", @@ -559,9 +570,9 @@ "min": 0.000000, "max": 0.500000 }, - "depend_or": ["46==true"] + "depend_or": ["47==true"] }, - "48": { + "49": { "category": "base", "name": "is-rid-hole-r", "title": "穿孔移除—右侧", @@ -571,7 +582,7 @@ "default": false, "size": 4 }, - "49": { + "50": { "category": "base", "name": "search-hole-range-r", "title": " 右侧穿孔搜索范围占幅面比例", @@ -584,9 +595,9 @@ "min": 0.000000, "max": 0.500000 }, - "depend_or": ["48==true"] + "depend_or": ["49==true"] }, - "50": { + "51": { "category": "base", "name": "is-rid-hole-t", "title": "穿孔移除—上侧", @@ -596,7 +607,7 @@ "default": false, "size": 4 }, - "51": { + "52": { "category": "base", "name": "search-hole-range-t", "title": " 上侧穿孔搜索范围占幅面比例", @@ -609,9 +620,9 @@ "min": 0.000000, "max": 0.500000 }, - "depend_or": ["50==true"] + "depend_or": ["51==true"] }, - "52": { + "53": { "category": "base", "name": "is-rid-hole-b", "title": "穿孔移除—下侧", @@ -621,7 +632,7 @@ "default": false, "size": 4 }, - "53": { + "54": { "category": "base", "name": "search-hole-range-b", "title": " 下侧穿孔搜索范围占幅面比例", @@ -634,9 +645,9 @@ "min": 0.000000, "max": 0.500000 }, - "depend_or": ["52==true"] + "depend_or": ["53==true"] }, - "54": { + "55": { "category": "base", "name": "is-fill-color", "title": "色彩填充", @@ -645,15 +656,15 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["38==true"] + "depend_and": ["39==true"] }, - "55": { + "56": { "category": "base", "name": "grp-4", "title": "送纸方式设置", "type": "group" }, - "56": { + "57": { "category": "base", "name": "is-ultrosonic", "title": "超声波检测", @@ -663,7 +674,7 @@ "default": true, "size": 4 }, - "57": { + "58": { "category": "base", "name": "scan-mode", "title": "扫描张数", @@ -674,7 +685,7 @@ "size": 32, "range": ["连续扫描", "扫描指定张数"] }, - "58": { + "59": { "category": "base", "name": "scan-count", "title": " 扫描数量", @@ -683,9 +694,9 @@ "cur": 1, "default": 1, "size": 4, - "depend_or": ["57==扫描指定张数"] + "depend_or": ["58==扫描指定张数"] }, - "59": { + "60": { "category": "base", "name": "direction", "title": "文稿方向", @@ -696,7 +707,7 @@ "size": 40, "range": ["0°", "90°", "180°", "-90°", "自动文本方向识别°"] }, - "60": { + "61": { "category": "base", "name": "is-rotate-bkg-180", "title": "背面旋转180°", @@ -705,6 +716,6 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["25!=单面", "25!=对折", "59!=自动文本方向识别°"] + "depend_and": ["26!=单面", "26!=对折", "60!=自动文本方向识别°"] } } \ No newline at end of file diff --git a/docs/G400 - lsc.txt b/docs/G400 - lsc.txt index 3261e4f..7b532e5 100644 --- a/docs/G400 - lsc.txt +++ b/docs/G400 - lsc.txt @@ -1,6 +1,6 @@ { "device_type": "G400-lsc", - "option_count": 61, + "option_count": 62, "1": { "category": "base", "name": "restore", @@ -43,8 +43,8 @@ "title": "多流输出类型", "desc": "", "type": "string", - "cur": "无", - "default": "无", + "cur": "彩色+灰度+黑白", + "default": "彩色+灰度+黑白", "size": 32, "range": ["彩色+灰度+黑白", "彩色+灰度", "彩色+黑白", "灰度+黑白"], "depend_or": ["4==true"] @@ -74,9 +74,20 @@ "min": 0, "max": 255 }, - "depend_or": ["6==黑白"] + "depend_or": ["4==true", "6==黑白"] }, "8": { + "category": "base", + "name": "reverse-bw", + "title": "黑白图像反色输出(正常颜色为:0-黑色;1-白色)", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["4==true", "6==黑白"] + }, + "9": { "category": "base", "name": "filter", "title": "灰度或黑白图像 - 除色", @@ -88,7 +99,7 @@ "range": ["不除色", "除红色", "除绿色", "除蓝色", "红色增强", "绿色增强", "蓝色增强"], "depend_and": ["4!=true", "6!=24位彩色", "6!=颜色自动识别"] }, - "9": { + "10": { "category": "base", "name": "is-rid-multiout-red", "title": "24位彩色图像 - 多流输出除红", @@ -99,7 +110,7 @@ "size": 4, "depend_and": ["4!=true", "6!=256级灰度", "6!=黑白", "6!=颜色自动识别"] }, - "10": { + "11": { "category": "base", "name": "is-rid-answer-sheet-red", "title": "24位彩色图像 - 答题卡除红", @@ -110,7 +121,7 @@ "size": 4, "depend_and": ["4!=true", "6!=256级灰度", "6!=黑白", "6!=颜色自动识别"] }, - "11": { + "12": { "category": "base", "name": "is-erase-bkg", "title": "背景移除", @@ -121,7 +132,7 @@ "size": 4, "depend_and": ["4!=true", "6!=256级灰度", "6!=黑白", "6!=颜色自动识别"] }, - "12": { + "13": { "category": "base", "name": "bkg-color-range", "title": " 背景色彩浮动范围", @@ -134,9 +145,9 @@ "min": 1, "max": 128 }, - "depend_or": ["11==true"] + "depend_or": ["12==true"] }, - "13": { + "14": { "category": "base", "name": "sharpen", "title": "锐化与模糊", @@ -148,7 +159,7 @@ "range": ["无", "锐化", "进一步锐化", "模糊", "进一步模糊"], "depend_and": ["4!=true", "6!=黑白", "6!=颜色自动识别"] }, - "14": { + "15": { "category": "base", "name": "is-rid-morr", "title": "去除摩尔纹", @@ -159,7 +170,7 @@ "size": 4, "depend_and": ["4!=true", "6!=黑白", "6!=颜色自动识别"] }, - "15": { + "16": { "category": "base", "name": "is-rid-grid", "title": "除网纹", @@ -170,7 +181,7 @@ "size": 4, "depend_and": ["4!=true", "6!=黑白", "6!=颜色自动识别"] }, - "16": { + "17": { "category": "base", "name": "is-err-extension", "title": "错误扩散", @@ -181,7 +192,7 @@ "size": 4, "depend_or": ["6==黑白"] }, - "17": { + "18": { "category": "base", "name": "is-noise-optimize", "title": "黑白图像噪点优化", @@ -192,7 +203,7 @@ "size": 4, "depend_or": ["6==黑白"] }, - "18": { + "19": { "category": "base", "name": "noise-size", "title": " 噪点优化尺寸", @@ -205,9 +216,9 @@ "min": 10, "max": 50 }, - "depend_or": ["17==true"] + "depend_or": ["18==true"] }, - "19": { + "20": { "category": "base", "name": "paper", "title": "纸张尺寸", @@ -218,7 +229,7 @@ "size": 48, "range": ["A3", "A4", "A4横向", "A5", "A5横向", "A6", "A6横向", "B4", "B5", "B5横向", "B6", "B6横向", "Letter", "Letter横向", "Double Letter", "LEGAL", "匹配原始尺寸", "最大扫描尺寸自动裁切", "最大扫描尺寸", "三联试卷"] }, - "20": { + "21": { "category": "base", "name": "is-custom-area", "title": "自定义扫描区域", @@ -227,9 +238,9 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["19!=匹配原始尺寸", "19!=三联试卷", "19!=最大扫描尺寸", "19!=最大扫描尺寸自动裁切"] + "depend_and": ["20!=匹配原始尺寸", "20!=三联试卷", "20!=最大扫描尺寸", "20!=最大扫描尺寸自动裁切"] }, - "21": { + "22": { "category": "base", "name": "tl-x", "title": "扫描区域左侧(mm)", @@ -242,9 +253,9 @@ "min": 0.000000, "max": 210.000000 }, - "depend_and": ["20==true"] + "depend_and": ["21==true"] }, - "22": { + "23": { "category": "base", "name": "br-x", "title": "扫描区域右侧(mm)", @@ -257,9 +268,9 @@ "min": 0.000000, "max": 210.000000 }, - "depend_and": ["20==true"] + "depend_and": ["21==true"] }, - "23": { + "24": { "category": "base", "name": "tl-y", "title": "扫描区域上侧(mm)", @@ -272,9 +283,9 @@ "min": 0.000000, "max": 297.000000 }, - "depend_and": ["20==true"] + "depend_and": ["21==true"] }, - "24": { + "25": { "category": "base", "name": "br-y", "title": "扫描区域下侧(mm)", @@ -287,9 +298,9 @@ "min": 0.000000, "max": 297.000000 }, - "depend_and": ["20==true"] + "depend_and": ["21==true"] }, - "25": { + "26": { "category": "base", "name": "is-size-check", "title": "尺寸检测", @@ -298,9 +309,9 @@ "cur": false, "default": false, "size": 4, - "depend_or": ["19==A3", "19==A4", "19==A4横向", "19==A5", "19==A6", "19==A6横向", "19==B4", "19==B5", "19==B5横向", "19==B6", "19==B6横向", "19==Double Letter", "19==LEGAL", "19==Letter", "19==Letter横向"] + "depend_or": ["20==A3", "20==A4", "20==A4横向", "20==A5", "20==A6", "20==A6横向", "20==B4", "20==B5", "20==B5横向", "20==B6", "20==B6横向", "20==Double Letter", "20==LEGAL", "20==Letter", "20==Letter横向"] }, - "26": { + "27": { "category": "base", "name": "page", "title": "扫描页面", @@ -311,7 +322,7 @@ "size": 50, "range": ["单面", "双面", "跳过空白页(通用)", "跳过空白页(发票纸)", "对折"] }, - "27": { + "28": { "category": "base", "name": "blank-sensitivity", "title": " 跳过空白页灵敏度", @@ -324,9 +335,9 @@ "min": 1, "max": 100 }, - "depend_or": ["26==跳过空白页(发票纸)", "26==跳过空白页(通用)"] + "depend_or": ["27==跳过空白页(发票纸)", "27==跳过空白页(通用)"] }, - "28": { + "29": { "category": "base", "name": "resolution", "title": "分辨率", @@ -337,7 +348,7 @@ "size": 4, "range": [100, 150, 200, 300] }, - "29": { + "30": { "category": "base", "name": "is-exchange", "title": "交换正反面", @@ -346,9 +357,9 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["26!=单面"] + "depend_and": ["27!=单面"] }, - "30": { + "31": { "category": "base", "name": "is-split", "title": "图像拆分", @@ -357,9 +368,9 @@ "cur": false, "default": false, "size": 4, - "depend_or": ["26!=对折"] + "depend_or": ["27!=对折"] }, - "31": { + "32": { "category": "base", "name": "is-anti-skew", "title": "自动纠偏", @@ -368,15 +379,15 @@ "cur": true, "default": true, "size": 4, - "depend_or": ["26!=对折"] + "depend_or": ["27!=对折"] }, - "32": { + "33": { "category": "base", "name": "grp-2", "title": "亮度", "type": "group" }, - "33": { + "34": { "category": "base", "name": "is-custom-gamma", "title": "启用色调曲线", @@ -386,7 +397,7 @@ "default": false, "size": 4 }, - "34": { + "35": { "category": "base", "name": "brightness", "title": "亮度值", @@ -400,7 +411,7 @@ "max": 255 } }, - "35": { + "36": { "category": "base", "name": "contrast", "title": "对比度", @@ -414,7 +425,7 @@ "max": 7 } }, - "36": { + "37": { "category": "base", "name": "gamma", "title": "伽马值", @@ -428,13 +439,13 @@ "max": 5.000000 } }, - "37": { + "38": { "category": "base", "name": "grp-3", "title": "图像处理", "type": "group" }, - "38": { + "39": { "category": "base", "name": "is-erase-black-frame", "title": "消除黑框", @@ -444,7 +455,7 @@ "default": true, "size": 4 }, - "39": { + "40": { "category": "base", "name": "is-dark-sample", "title": "深色样张", @@ -453,9 +464,9 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["26!=对折", "38!=true", "19!=匹配原始尺寸", "19!=最大扫描尺寸", "19!=最大扫描尺寸自动裁切", "31!=true"] + "depend_and": ["27!=对折", "39!=true", "20!=匹配原始尺寸", "20!=最大扫描尺寸", "20!=最大扫描尺寸自动裁切", "32!=true"] }, - "40": { + "41": { "category": "advanced", "name": "threshold", "title": "阈值", @@ -468,9 +479,9 @@ "min": 30, "max": 50 }, - "depend_or": ["38==true", "19==匹配原始尺寸", "19==最大扫描尺寸", "19==最大扫描尺寸自动裁切", "31==true"] + "depend_or": ["39==true", "20==匹配原始尺寸", "20==最大扫描尺寸", "20==最大扫描尺寸自动裁切", "32==true"] }, - "41": { + "42": { "category": "advanced", "name": "anti-noise-level", "title": "背景抗噪等级", @@ -483,9 +494,9 @@ "min": 1, "max": 20 }, - "depend_or": ["38==true", "19==匹配原始尺寸", "19==最大扫描尺寸", "19==最大扫描尺寸自动裁切", "31==true"] + "depend_or": ["39==true", "20==匹配原始尺寸", "20==最大扫描尺寸", "20==最大扫描尺寸自动裁切", "32==true"] }, - "42": { + "43": { "category": "advanced", "name": "margin", "title": "边缘缩进", @@ -498,9 +509,9 @@ "min": 5, "max": 30 }, - "depend_or": ["38==true", "19==匹配原始尺寸", "19==最大扫描尺寸自动裁切", "31==true", "19==最大扫描尺寸"] + "depend_or": ["39==true", "20==匹配原始尺寸", "20==最大扫描尺寸自动裁切", "32==true", "20==最大扫描尺寸"] }, - "43": { + "44": { "category": "advanced", "name": "bkg-fill-mode", "title": "背景填充方式", @@ -510,9 +521,9 @@ "default": "凸多边形", "size": 40, "range": ["凸多边形", "凹多边形"], - "depend_or": ["38==true"] + "depend_or": ["39==true"] }, - "44": { + "45": { "category": "base", "name": "is-anti-permeate", "title": "防止渗透", @@ -522,7 +533,7 @@ "default": false, "size": 4 }, - "45": { + "46": { "category": "base", "name": "permeate-level", "title": " 防止渗透等级", @@ -532,9 +543,9 @@ "default": "较弱", "size": 16, "range": ["弱", "较弱", "一般", "较强", "强"], - "depend_or": ["44==true"] + "depend_or": ["45==true"] }, - "46": { + "47": { "category": "base", "name": "is-rid-hole-l", "title": "穿孔移除—左侧", @@ -544,7 +555,7 @@ "default": false, "size": 4 }, - "47": { + "48": { "category": "base", "name": "search-hole-range-l", "title": " 左侧穿孔搜索范围占幅面比例", @@ -557,9 +568,9 @@ "min": 0.000000, "max": 0.500000 }, - "depend_or": ["46==true"] + "depend_or": ["47==true"] }, - "48": { + "49": { "category": "base", "name": "is-rid-hole-r", "title": "穿孔移除—右侧", @@ -569,7 +580,7 @@ "default": false, "size": 4 }, - "49": { + "50": { "category": "base", "name": "search-hole-range-r", "title": " 右侧穿孔搜索范围占幅面比例", @@ -582,9 +593,9 @@ "min": 0.000000, "max": 0.500000 }, - "depend_or": ["48==true"] + "depend_or": ["49==true"] }, - "50": { + "51": { "category": "base", "name": "is-rid-hole-t", "title": "穿孔移除—上侧", @@ -594,7 +605,7 @@ "default": false, "size": 4 }, - "51": { + "52": { "category": "base", "name": "search-hole-range-t", "title": " 上侧穿孔搜索范围占幅面比例", @@ -607,9 +618,9 @@ "min": 0.000000, "max": 0.500000 }, - "depend_or": ["50==true"] + "depend_or": ["51==true"] }, - "52": { + "53": { "category": "base", "name": "is-rid-hole-b", "title": "穿孔移除—下侧", @@ -619,7 +630,7 @@ "default": false, "size": 4 }, - "53": { + "54": { "category": "base", "name": "search-hole-range-b", "title": " 下侧穿孔搜索范围占幅面比例", @@ -632,9 +643,9 @@ "min": 0.000000, "max": 0.500000 }, - "depend_or": ["52==true"] + "depend_or": ["53==true"] }, - "54": { + "55": { "category": "base", "name": "is-fill-color", "title": "色彩填充", @@ -643,15 +654,15 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["38==true"] + "depend_and": ["39==true"] }, - "55": { + "56": { "category": "base", "name": "grp-4", "title": "送纸方式设置", "type": "group" }, - "56": { + "57": { "category": "base", "name": "is-ultrosonic", "title": "超声波检测", @@ -661,7 +672,7 @@ "default": true, "size": 4 }, - "57": { + "58": { "category": "base", "name": "scan-mode", "title": "扫描张数", @@ -672,7 +683,7 @@ "size": 32, "range": ["连续扫描", "扫描指定张数"] }, - "58": { + "59": { "category": "base", "name": "scan-count", "title": " 扫描数量", @@ -681,9 +692,9 @@ "cur": 1, "default": 1, "size": 4, - "depend_or": ["57==扫描指定张数"] + "depend_or": ["58==扫描指定张数"] }, - "59": { + "60": { "category": "base", "name": "direction", "title": "文稿方向", @@ -694,7 +705,7 @@ "size": 40, "range": ["0°", "90°", "180°", "-90°"] }, - "60": { + "61": { "category": "base", "name": "is-rotate-bkg-180", "title": "背面旋转180°", @@ -703,6 +714,6 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["26!=单面", "26!=对折"] + "depend_and": ["27!=单面", "27!=对折"] } } \ No newline at end of file diff --git a/docs/G400.txt b/docs/G400.txt index 270e7d2..854cfdd 100644 --- a/docs/G400.txt +++ b/docs/G400.txt @@ -1,6 +1,6 @@ { "device_type": "G400", - "option_count": 61, + "option_count": 62, "1": { "category": "base", "name": "restore", @@ -43,8 +43,8 @@ "title": "多流输出类型", "desc": "", "type": "string", - "cur": "无", - "default": "无", + "cur": "彩色+灰度+黑白", + "default": "彩色+灰度+黑白", "size": 32, "range": ["彩色+灰度+黑白", "彩色+灰度", "彩色+黑白", "灰度+黑白"], "depend_or": ["4==true"] @@ -74,9 +74,20 @@ "min": 0, "max": 255 }, - "depend_or": ["6==黑白"] + "depend_or": ["4==true", "6==黑白"] }, "8": { + "category": "base", + "name": "reverse-bw", + "title": "黑白图像反色输出(正常颜色为:0-黑色;1-白色)", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["4==true", "6==黑白"] + }, + "9": { "category": "base", "name": "filter", "title": "灰度或黑白图像 - 除色", @@ -88,7 +99,7 @@ "range": ["不除色", "除红色", "除绿色", "除蓝色", "红色增强", "绿色增强", "蓝色增强"], "depend_and": ["4!=true", "6!=24位彩色", "6!=颜色自动识别"] }, - "9": { + "10": { "category": "base", "name": "is-rid-multiout-red", "title": "24位彩色图像 - 多流输出除红", @@ -99,7 +110,7 @@ "size": 4, "depend_and": ["4!=true", "6!=256级灰度", "6!=黑白", "6!=颜色自动识别"] }, - "10": { + "11": { "category": "base", "name": "is-rid-answer-sheet-red", "title": "24位彩色图像 - 答题卡除红", @@ -110,7 +121,7 @@ "size": 4, "depend_and": ["4!=true", "6!=256级灰度", "6!=黑白", "6!=颜色自动识别"] }, - "11": { + "12": { "category": "base", "name": "is-erase-bkg", "title": "背景移除", @@ -121,7 +132,7 @@ "size": 4, "depend_and": ["4!=true", "6!=256级灰度", "6!=黑白", "6!=颜色自动识别"] }, - "12": { + "13": { "category": "base", "name": "bkg-color-range", "title": " 背景色彩浮动范围", @@ -134,9 +145,9 @@ "min": 1, "max": 128 }, - "depend_or": ["11==true"] + "depend_or": ["12==true"] }, - "13": { + "14": { "category": "base", "name": "sharpen", "title": "锐化与模糊", @@ -148,7 +159,7 @@ "range": ["无", "锐化", "进一步锐化", "模糊", "进一步模糊"], "depend_and": ["4!=true", "6!=黑白", "6!=颜色自动识别"] }, - "14": { + "15": { "category": "base", "name": "is-rid-morr", "title": "去除摩尔纹", @@ -159,7 +170,7 @@ "size": 4, "depend_and": ["4!=true", "6!=黑白", "6!=颜色自动识别"] }, - "15": { + "16": { "category": "base", "name": "is-rid-grid", "title": "除网纹", @@ -170,7 +181,7 @@ "size": 4, "depend_and": ["4!=true", "6!=黑白", "6!=颜色自动识别"] }, - "16": { + "17": { "category": "base", "name": "is-err-extension", "title": "错误扩散", @@ -181,7 +192,7 @@ "size": 4, "depend_or": ["6==黑白"] }, - "17": { + "18": { "category": "base", "name": "is-noise-optimize", "title": "黑白图像噪点优化", @@ -192,7 +203,7 @@ "size": 4, "depend_or": ["6==黑白"] }, - "18": { + "19": { "category": "base", "name": "noise-size", "title": " 噪点优化尺寸", @@ -205,9 +216,9 @@ "min": 10, "max": 50 }, - "depend_or": ["17==true"] + "depend_or": ["18==true"] }, - "19": { + "20": { "category": "base", "name": "paper", "title": "纸张尺寸", @@ -218,7 +229,7 @@ "size": 48, "range": ["A3", "A4", "A4横向", "A5", "A5横向", "A6", "A6横向", "B4", "B5", "B5横向", "B6", "B6横向", "Letter", "Letter横向", "Double Letter", "LEGAL", "匹配原始尺寸", "最大扫描尺寸自动裁切", "最大扫描尺寸", "三联试卷"] }, - "20": { + "21": { "category": "base", "name": "is-custom-area", "title": "自定义扫描区域", @@ -227,9 +238,9 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["19!=匹配原始尺寸", "19!=三联试卷", "19!=最大扫描尺寸", "19!=最大扫描尺寸自动裁切"] + "depend_and": ["20!=匹配原始尺寸", "20!=三联试卷", "20!=最大扫描尺寸", "20!=最大扫描尺寸自动裁切"] }, - "21": { + "22": { "category": "base", "name": "tl-x", "title": "扫描区域左侧(mm)", @@ -242,9 +253,9 @@ "min": 0.000000, "max": 210.000000 }, - "depend_and": ["20==true"] + "depend_and": ["21==true"] }, - "22": { + "23": { "category": "base", "name": "br-x", "title": "扫描区域右侧(mm)", @@ -257,9 +268,9 @@ "min": 0.000000, "max": 210.000000 }, - "depend_and": ["20==true"] + "depend_and": ["21==true"] }, - "23": { + "24": { "category": "base", "name": "tl-y", "title": "扫描区域上侧(mm)", @@ -272,9 +283,9 @@ "min": 0.000000, "max": 297.000000 }, - "depend_and": ["20==true"] + "depend_and": ["21==true"] }, - "24": { + "25": { "category": "base", "name": "br-y", "title": "扫描区域下侧(mm)", @@ -287,9 +298,9 @@ "min": 0.000000, "max": 297.000000 }, - "depend_and": ["20==true"] + "depend_and": ["21==true"] }, - "25": { + "26": { "category": "base", "name": "is-size-check", "title": "尺寸检测", @@ -298,9 +309,9 @@ "cur": false, "default": false, "size": 4, - "depend_or": ["19==A3", "19==A4", "19==A4横向", "19==A5", "19==A6", "19==A6横向", "19==B4", "19==B5", "19==B5横向", "19==B6", "19==B6横向", "19==Double Letter", "19==LEGAL", "19==Letter", "19==Letter横向"] + "depend_or": ["20==A3", "20==A4", "20==A4横向", "20==A5", "20==A6", "20==A6横向", "20==B4", "20==B5", "20==B5横向", "20==B6", "20==B6横向", "20==Double Letter", "20==LEGAL", "20==Letter", "20==Letter横向"] }, - "26": { + "27": { "category": "base", "name": "page", "title": "扫描页面", @@ -311,7 +322,7 @@ "size": 50, "range": ["单面", "双面", "跳过空白页(通用)", "跳过空白页(发票纸)", "对折"] }, - "27": { + "28": { "category": "base", "name": "blank-sensitivity", "title": " 跳过空白页灵敏度", @@ -324,9 +335,9 @@ "min": 1, "max": 100 }, - "depend_or": ["26==跳过空白页(发票纸)", "26==跳过空白页(通用)"] + "depend_or": ["27==跳过空白页(发票纸)", "27==跳过空白页(通用)"] }, - "28": { + "29": { "category": "base", "name": "resolution", "title": "分辨率", @@ -337,7 +348,7 @@ "size": 4, "range": [100, 150, 200, 300] }, - "29": { + "30": { "category": "base", "name": "is-exchange", "title": "交换正反面", @@ -346,9 +357,9 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["26!=单面"] + "depend_and": ["27!=单面"] }, - "30": { + "31": { "category": "base", "name": "is-split", "title": "图像拆分", @@ -357,9 +368,9 @@ "cur": false, "default": false, "size": 4, - "depend_or": ["26!=对折"] + "depend_or": ["27!=对折"] }, - "31": { + "32": { "category": "base", "name": "is-anti-skew", "title": "自动纠偏", @@ -368,15 +379,15 @@ "cur": true, "default": true, "size": 4, - "depend_or": ["26!=对折"] + "depend_or": ["27!=对折"] }, - "32": { + "33": { "category": "base", "name": "grp-2", "title": "亮度", "type": "group" }, - "33": { + "34": { "category": "base", "name": "is-custom-gamma", "title": "启用色调曲线", @@ -386,7 +397,7 @@ "default": false, "size": 4 }, - "34": { + "35": { "category": "base", "name": "brightness", "title": "亮度值", @@ -400,7 +411,7 @@ "max": 255 } }, - "35": { + "36": { "category": "base", "name": "contrast", "title": "对比度", @@ -414,7 +425,7 @@ "max": 7 } }, - "36": { + "37": { "category": "base", "name": "gamma", "title": "伽马值", @@ -428,13 +439,13 @@ "max": 5.000000 } }, - "37": { + "38": { "category": "base", "name": "grp-3", "title": "图像处理", "type": "group" }, - "38": { + "39": { "category": "base", "name": "is-erase-black-frame", "title": "消除黑框", @@ -444,7 +455,7 @@ "default": true, "size": 4 }, - "39": { + "40": { "category": "base", "name": "is-dark-sample", "title": "深色样张", @@ -453,9 +464,9 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["26!=对折", "38!=true", "19!=匹配原始尺寸", "19!=最大扫描尺寸", "19!=最大扫描尺寸自动裁切", "31!=true"] + "depend_and": ["27!=对折", "39!=true", "20!=匹配原始尺寸", "20!=最大扫描尺寸", "20!=最大扫描尺寸自动裁切", "32!=true"] }, - "40": { + "41": { "category": "advanced", "name": "threshold", "title": "阈值", @@ -468,9 +479,9 @@ "min": 30, "max": 50 }, - "depend_or": ["38==true", "19==匹配原始尺寸", "19==最大扫描尺寸", "19==最大扫描尺寸自动裁切", "31==true"] + "depend_or": ["39==true", "20==匹配原始尺寸", "20==最大扫描尺寸", "20==最大扫描尺寸自动裁切", "32==true"] }, - "41": { + "42": { "category": "advanced", "name": "anti-noise-level", "title": "背景抗噪等级", @@ -483,9 +494,9 @@ "min": 1, "max": 20 }, - "depend_or": ["38==true", "19==匹配原始尺寸", "19==最大扫描尺寸", "19==最大扫描尺寸自动裁切", "31==true"] + "depend_or": ["39==true", "20==匹配原始尺寸", "20==最大扫描尺寸", "20==最大扫描尺寸自动裁切", "32==true"] }, - "42": { + "43": { "category": "advanced", "name": "margin", "title": "边缘缩进", @@ -498,9 +509,9 @@ "min": 5, "max": 30 }, - "depend_or": ["38==true", "19==匹配原始尺寸", "19==最大扫描尺寸自动裁切", "31==true", "19==最大扫描尺寸"] + "depend_or": ["39==true", "20==匹配原始尺寸", "20==最大扫描尺寸自动裁切", "32==true", "20==最大扫描尺寸"] }, - "43": { + "44": { "category": "advanced", "name": "bkg-fill-mode", "title": "背景填充方式", @@ -510,9 +521,9 @@ "default": "凸多边形", "size": 40, "range": ["凸多边形", "凹多边形"], - "depend_or": ["38==true"] + "depend_or": ["39==true"] }, - "44": { + "45": { "category": "base", "name": "is-anti-permeate", "title": "防止渗透", @@ -522,7 +533,7 @@ "default": false, "size": 4 }, - "45": { + "46": { "category": "base", "name": "permeate-level", "title": " 防止渗透等级", @@ -532,9 +543,9 @@ "default": "较弱", "size": 16, "range": ["弱", "较弱", "一般", "较强", "强"], - "depend_or": ["44==true"] + "depend_or": ["45==true"] }, - "46": { + "47": { "category": "base", "name": "is-rid-hole-l", "title": "穿孔移除—左侧", @@ -544,7 +555,7 @@ "default": false, "size": 4 }, - "47": { + "48": { "category": "base", "name": "search-hole-range-l", "title": " 左侧穿孔搜索范围占幅面比例", @@ -557,9 +568,9 @@ "min": 0.000000, "max": 0.500000 }, - "depend_or": ["46==true"] + "depend_or": ["47==true"] }, - "48": { + "49": { "category": "base", "name": "is-rid-hole-r", "title": "穿孔移除—右侧", @@ -569,7 +580,7 @@ "default": false, "size": 4 }, - "49": { + "50": { "category": "base", "name": "search-hole-range-r", "title": " 右侧穿孔搜索范围占幅面比例", @@ -582,9 +593,9 @@ "min": 0.000000, "max": 0.500000 }, - "depend_or": ["48==true"] + "depend_or": ["49==true"] }, - "50": { + "51": { "category": "base", "name": "is-rid-hole-t", "title": "穿孔移除—上侧", @@ -594,7 +605,7 @@ "default": false, "size": 4 }, - "51": { + "52": { "category": "base", "name": "search-hole-range-t", "title": " 上侧穿孔搜索范围占幅面比例", @@ -607,9 +618,9 @@ "min": 0.000000, "max": 0.500000 }, - "depend_or": ["50==true"] + "depend_or": ["51==true"] }, - "52": { + "53": { "category": "base", "name": "is-rid-hole-b", "title": "穿孔移除—下侧", @@ -619,7 +630,7 @@ "default": false, "size": 4 }, - "53": { + "54": { "category": "base", "name": "search-hole-range-b", "title": " 下侧穿孔搜索范围占幅面比例", @@ -632,9 +643,9 @@ "min": 0.000000, "max": 0.500000 }, - "depend_or": ["52==true"] + "depend_or": ["53==true"] }, - "54": { + "55": { "category": "base", "name": "is-fill-color", "title": "色彩填充", @@ -643,15 +654,15 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["38==true"] + "depend_and": ["39==true"] }, - "55": { + "56": { "category": "base", "name": "grp-4", "title": "送纸方式设置", "type": "group" }, - "56": { + "57": { "category": "base", "name": "is-ultrosonic", "title": "超声波检测", @@ -661,7 +672,7 @@ "default": true, "size": 4 }, - "57": { + "58": { "category": "base", "name": "scan-mode", "title": "扫描张数", @@ -672,7 +683,7 @@ "size": 32, "range": ["连续扫描", "扫描指定张数"] }, - "58": { + "59": { "category": "base", "name": "scan-count", "title": " 扫描数量", @@ -681,9 +692,9 @@ "cur": 1, "default": 1, "size": 4, - "depend_or": ["57==扫描指定张数"] + "depend_or": ["58==扫描指定张数"] }, - "59": { + "60": { "category": "base", "name": "direction", "title": "文稿方向", @@ -694,7 +705,7 @@ "size": 40, "range": ["0°", "90°", "180°", "-90°", "自动文本方向识别°"] }, - "60": { + "61": { "category": "base", "name": "is-rotate-bkg-180", "title": "背面旋转180°", @@ -703,6 +714,6 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["26!=单面", "26!=对折", "59!=自动文本方向识别°"] + "depend_and": ["27!=单面", "27!=对折", "60!=自动文本方向识别°"] } } \ No newline at end of file diff --git a/docs/G402-lsc.txt b/docs/G402-lsc.txt new file mode 100644 index 0000000..2b314d4 --- /dev/null +++ b/docs/G402-lsc.txt @@ -0,0 +1,719 @@ +{ + "device_type": "G402-lsc", + "option_count": 62, + "1": { + "category": "base", + "name": "restore", + "title": "恢复默认设置", + "desc": "恢复默认设置", + "type": "button", + "cur": "button", + "default": "button", + "size": 0 + }, + "2": { + "category": "advanced", + "name": "help", + "title": "帮助", + "desc": "显示软件帮助文档", + "type": "button", + "cur": "true", + "default": "true", + "size": 4 + }, + "3": { + "category": "base", + "name": "grp-1", + "title": "基本设置", + "type": "group" + }, + "4": { + "category": "base", + "name": "is-multiout", + "title": "多流输出", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4 + }, + "5": { + "category": "base", + "name": "multiout-type", + "title": "多流输出类型", + "desc": "", + "type": "string", + "cur": "彩色+灰度+黑白", + "default": "彩色+灰度+黑白", + "size": 32, + "range": ["彩色+灰度+黑白", "彩色+灰度", "彩色+黑白", "灰度+黑白"], + "depend_or": ["4==true"] + }, + "6": { + "category": "base", + "name": "mode", + "title": "颜色模式", + "desc": "设置颜色位深", + "type": "string", + "cur": "24位彩色", + "default": "24位彩色", + "size": 32, + "range": ["24位彩色", "256级灰度", "黑白", "颜色自动识别"], + "depend_or": ["4==false"] + }, + "7": { + "category": "base", + "name": "binary-threshold", + "title": "黑白图像阈值", + "desc": "", + "type": "int", + "cur": 20, + "default": 20, + "size": 4, + "range": { + "min": 0, + "max": 255 + }, + "depend_or": ["4==true", "6==黑白"] + }, + "8": { + "category": "base", + "name": "reverse-bw", + "title": "黑白图像反色输出(正常颜色为:0-黑色;1-白色)", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["4==true", "6==黑白"] + }, + "9": { + "category": "base", + "name": "filter", + "title": "灰度或黑白图像 - 除色", + "desc": "除去图像彩色", + "type": "string", + "cur": "不除色", + "default": "不除色", + "size": 24, + "range": ["不除色", "除红色", "除绿色", "除蓝色", "红色增强", "绿色增强", "蓝色增强"], + "depend_and": ["4!=true", "6!=24位彩色", "6!=颜色自动识别"] + }, + "10": { + "category": "base", + "name": "is-rid-multiout-red", + "title": "24位彩色图像 - 多流输出除红", + "desc": "多通道输出中,去除红色", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["4!=true", "6!=256级灰度", "6!=黑白", "6!=颜色自动识别"] + }, + "11": { + "category": "base", + "name": "is-rid-answer-sheet-red", + "title": "24位彩色图像 - 答题卡除红", + "desc": "答题卡扫描中去除红色", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["4!=true", "6!=256级灰度", "6!=黑白", "6!=颜色自动识别"] + }, + "12": { + "category": "base", + "name": "is-erase-bkg", + "title": "背景移除", + "desc": "移除彩色图像背景", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["4!=true", "6!=256级灰度", "6!=黑白", "6!=颜色自动识别"] + }, + "13": { + "category": "base", + "name": "bkg-color-range", + "title": " 背景色彩浮动范围", + "desc": "设定背景色彩的浮动范围,在该范围内的都当作背景移除", + "type": "int", + "cur": 20, + "default": 20, + "size": 4, + "range": { + "min": 1, + "max": 128 + }, + "depend_or": ["12==true"] + }, + "14": { + "category": "base", + "name": "sharpen", + "title": "锐化与模糊", + "desc": "锐化与模糊", + "type": "string", + "cur": "无", + "default": "无", + "size": 24, + "range": ["无", "锐化", "进一步锐化", "模糊", "进一步模糊"], + "depend_and": ["4!=true", "6!=黑白", "6!=颜色自动识别"] + }, + "15": { + "category": "base", + "name": "is-rid-morr", + "title": "去除摩尔纹", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["4!=true", "6!=黑白", "6!=颜色自动识别"] + }, + "16": { + "category": "base", + "name": "is-rid-grid", + "title": "除网纹", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["4!=true", "6!=黑白", "6!=颜色自动识别"] + }, + "17": { + "category": "base", + "name": "is-err-extension", + "title": "错误扩散", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["6==黑白"] + }, + "18": { + "category": "base", + "name": "is-noise-optimize", + "title": "黑白图像噪点优化", + "desc": "噪点优化", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["6==黑白"] + }, + "19": { + "category": "base", + "name": "noise-size", + "title": " 噪点优化尺寸", + "desc": "噪点优化尺寸", + "type": "int", + "cur": 30, + "default": 30, + "size": 4, + "range": { + "min": 10, + "max": 50 + }, + "depend_or": ["18==true"] + }, + "20": { + "category": "base", + "name": "paper", + "title": "纸张尺寸", + "desc": "设置纸张大小", + "type": "string", + "cur": "匹配原始尺寸", + "default": "匹配原始尺寸", + "size": 48, + "range": ["A3", "A4", "A4横向", "A5", "A5横向", "A6", "A6横向", "B4", "B5", "B5横向", "B6", "B6横向", "Letter", "Letter横向", "Double Letter", "LEGAL", "匹配原始尺寸", "最大扫描尺寸自动裁切", "最大扫描尺寸", "三联试卷"] + }, + "21": { + "category": "base", + "name": "is-custom-area", + "title": "自定义扫描区域", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["20!=匹配原始尺寸", "20!=三联试卷", "20!=最大扫描尺寸", "20!=最大扫描尺寸自动裁切"] + }, + "22": { + "category": "base", + "name": "tl-x", + "title": "扫描区域左侧(mm)", + "desc": "自定义扫描区域左上角x坐标", + "type": "float", + "cur": 0.000000, + "default": 0.000000, + "size": 4, + "range": { + "min": 0.000000, + "max": 210.000000 + }, + "depend_and": ["21==true"] + }, + "23": { + "category": "base", + "name": "br-x", + "title": "扫描区域右侧(mm)", + "desc": "", + "type": "float", + "cur": 210.000000, + "default": 210.000000, + "size": 4, + "range": { + "min": 0.000000, + "max": 210.000000 + }, + "depend_and": ["21==true"] + }, + "24": { + "category": "base", + "name": "tl-y", + "title": "扫描区域上侧(mm)", + "desc": "自定义扫描区域左上角y坐标", + "type": "float", + "cur": 0.000000, + "default": 0.000000, + "size": 4, + "range": { + "min": 0.000000, + "max": 297.000000 + }, + "depend_and": ["21==true"] + }, + "25": { + "category": "base", + "name": "br-y", + "title": "扫描区域下侧(mm)", + "desc": "自定义扫描区域右下角y坐标", + "type": "float", + "cur": 297.000000, + "default": 297.000000, + "size": 4, + "range": { + "min": 0.000000, + "max": 297.000000 + }, + "depend_and": ["21==true"] + }, + "26": { + "category": "base", + "name": "is-size-check", + "title": "尺寸检测", + "desc": "检测纸张实际尺寸", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["20==A3", "20==A4", "20==A4横向", "20==A5", "20==A6", "20==A6横向", "20==B4", "20==B5", "20==B5横向", "20==B6", "20==B6横向", "20==Double Letter", "20==LEGAL", "20==Letter", "20==Letter横向"] + }, + "27": { + "category": "base", + "name": "page", + "title": "扫描页面", + "desc": "设置页面扫描方式", + "type": "string", + "cur": "双面", + "default": "双面", + "size": 50, + "range": ["单面", "双面", "跳过空白页(通用)", "跳过空白页(发票纸)", "对折"] + }, + "28": { + "category": "base", + "name": "blank-sensitivity", + "title": " 跳过空白页灵敏度", + "desc": "灵敏度越高,则越容易跳过", + "type": "int", + "cur": 50, + "default": 50, + "size": 4, + "range": { + "min": 1, + "max": 100 + }, + "depend_or": ["27==跳过空白页(发票纸)", "27==跳过空白页(通用)"] + }, + "29": { + "category": "base", + "name": "resolution", + "title": "分辨率", + "desc": "扫描仪分辨率", + "type": "int", + "cur": 200, + "default": 200, + "size": 4, + "range": [100, 150, 200, 300] + }, + "30": { + "category": "base", + "name": "is-exchange", + "title": "交换正反面", + "desc": "交换正反面", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["27!=单面"] + }, + "31": { + "category": "base", + "name": "is-split", + "title": "图像拆分", + "desc": "自动拆分图像", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["27!=对折"] + }, + "32": { + "category": "base", + "name": "is-anti-skew", + "title": "自动纠偏", + "desc": "自动纠偏", + "type": "bool", + "cur": true, + "default": true, + "size": 4, + "depend_or": ["27!=对折"] + }, + "33": { + "category": "base", + "name": "grp-2", + "title": "亮度", + "type": "group" + }, + "34": { + "category": "base", + "name": "is-custom-gamma", + "title": "启用色调曲线", + "desc": "通过色调曲线来设置图像伽玛值", + "type": "bool", + "cur": false, + "default": false, + "size": 4 + }, + "35": { + "category": "base", + "name": "brightness", + "title": "亮度值", + "desc": "调整图片亮度", + "type": "int", + "cur": 128, + "default": 128, + "size": 4, + "range": { + "min": 1, + "max": 255 + } + }, + "36": { + "category": "base", + "name": "contrast", + "title": "对比度", + "desc": "调整图片对比度", + "type": "int", + "cur": 4, + "default": 4, + "size": 4, + "range": { + "min": 1, + "max": 7 + } + }, + "37": { + "category": "base", + "name": "gamma", + "title": "伽马值", + "desc": "调整图片伽玛值", + "type": "float", + "cur": 1.000000, + "default": 1.000000, + "size": 4, + "range": { + "min": 0.010000, + "max": 5.000000 + } + }, + "38": { + "category": "base", + "name": "grp-3", + "title": "图像处理", + "type": "group" + }, + "39": { + "category": "base", + "name": "is-erase-black-frame", + "title": "消除黑框", + "desc": "消除黑框", + "type": "bool", + "cur": true, + "default": true, + "size": 4 + }, + "40": { + "category": "base", + "name": "is-dark-sample", + "title": "深色样张", + "desc": "深色样张", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["27!=对折", "39!=true", "20!=匹配原始尺寸", "20!=最大扫描尺寸", "20!=最大扫描尺寸自动裁切", "32!=true"] + }, + "41": { + "category": "advanced", + "name": "threshold", + "title": "阈值", + "desc": "阈值", + "type": "int", + "cur": 40, + "default": 40, + "size": 4, + "range": { + "min": 30, + "max": 50 + }, + "depend_or": ["39==true", "20==匹配原始尺寸", "20==最大扫描尺寸", "20==最大扫描尺寸自动裁切", "32==true"] + }, + "42": { + "category": "advanced", + "name": "anti-noise-level", + "title": "背景抗噪等级", + "desc": "背景抗噪等级", + "type": "int", + "cur": 8, + "default": 8, + "size": 4, + "range": { + "min": 1, + "max": 20 + }, + "depend_or": ["39==true", "20==匹配原始尺寸", "20==最大扫描尺寸", "20==最大扫描尺寸自动裁切", "32==true"] + }, + "43": { + "category": "advanced", + "name": "margin", + "title": "边缘缩进", + "desc": "边缘缩进", + "type": "int", + "cur": 5, + "default": 5, + "size": 4, + "range": { + "min": 5, + "max": 30 + }, + "depend_or": ["39==true", "20==匹配原始尺寸", "20==最大扫描尺寸自动裁切", "32==true", "20==最大扫描尺寸"] + }, + "44": { + "category": "advanced", + "name": "bkg-fill-mode", + "title": "背景填充方式", + "desc": "背景填充方式", + "type": "string", + "cur": "凸多边形", + "default": "凸多边形", + "size": 40, + "range": ["凸多边形", "凹多边形"], + "depend_or": ["39==true"] + }, + "45": { + "category": "base", + "name": "is-anti-permeate", + "title": "防止渗透", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4 + }, + "46": { + "category": "base", + "name": "permeate-level", + "title": " 防止渗透等级", + "desc": "", + "type": "string", + "cur": "较弱", + "default": "较弱", + "size": 16, + "range": ["弱", "较弱", "一般", "较强", "强"], + "depend_or": ["45==true"] + }, + "47": { + "category": "base", + "name": "is-rid-hole-l", + "title": "穿孔移除—左侧", + "desc": "移除纸张中的穿孔", + "type": "bool", + "cur": false, + "default": false, + "size": 4 + }, + "48": { + "category": "base", + "name": "search-hole-range-l", + "title": " 左侧穿孔搜索范围占幅面比例", + "desc": "穿孔搜索范围占幅面比例", + "type": "float", + "cur": 0.100000, + "default": 0.100000, + "size": 4, + "range": { + "min": 0.000000, + "max": 0.500000 + }, + "depend_or": ["47==true"] + }, + "49": { + "category": "base", + "name": "is-rid-hole-r", + "title": "穿孔移除—右侧", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4 + }, + "50": { + "category": "base", + "name": "search-hole-range-r", + "title": " 右侧穿孔搜索范围占幅面比例", + "desc": "", + "type": "float", + "cur": 0.100000, + "default": 0.100000, + "size": 4, + "range": { + "min": 0.000000, + "max": 0.500000 + }, + "depend_or": ["49==true"] + }, + "51": { + "category": "base", + "name": "is-rid-hole-t", + "title": "穿孔移除—上侧", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4 + }, + "52": { + "category": "base", + "name": "search-hole-range-t", + "title": " 上侧穿孔搜索范围占幅面比例", + "desc": "", + "type": "float", + "cur": 0.100000, + "default": 0.100000, + "size": 4, + "range": { + "min": 0.000000, + "max": 0.500000 + }, + "depend_or": ["51==true"] + }, + "53": { + "category": "base", + "name": "is-rid-hole-b", + "title": "穿孔移除—下侧", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4 + }, + "54": { + "category": "base", + "name": "search-hole-range-b", + "title": " 下侧穿孔搜索范围占幅面比例", + "desc": "", + "type": "float", + "cur": 0.100000, + "default": 0.100000, + "size": 4, + "range": { + "min": 0.000000, + "max": 0.500000 + }, + "depend_or": ["53==true"] + }, + "55": { + "category": "base", + "name": "is-fill-color", + "title": "色彩填充", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["39==true"] + }, + "56": { + "category": "base", + "name": "grp-4", + "title": "送纸方式设置", + "type": "group" + }, + "57": { + "category": "base", + "name": "is-ultrosonic", + "title": "超声波检测", + "desc": "超声波检测送纸状态", + "type": "bool", + "cur": true, + "default": true, + "size": 4 + }, + "58": { + "category": "base", + "name": "scan-mode", + "title": "扫描张数", + "desc": "扫描纸张数量", + "type": "string", + "cur": "连续扫描", + "default": "连续扫描", + "size": 32, + "range": ["连续扫描", "扫描指定张数"] + }, + "59": { + "category": "base", + "name": "scan-count", + "title": " 扫描数量", + "desc": "扫描指定数量", + "type": "int", + "cur": 1, + "default": 1, + "size": 4, + "depend_or": ["58==扫描指定张数"] + }, + "60": { + "category": "base", + "name": "direction", + "title": "文稿方向", + "desc": "文稿方向", + "type": "string", + "cur": "0°", + "default": "0°", + "size": 40, + "range": ["0°", "90°", "180°", "-90°"] + }, + "61": { + "category": "base", + "name": "is-rotate-bkg-180", + "title": "背面旋转180°", + "desc": "背面扫描的图像旋转180°", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["27!=单面", "27!=对折"] + } +} \ No newline at end of file diff --git a/docs/G402-x86.txt b/docs/G402-x86.txt index 06d4188..e3d3d39 100644 --- a/docs/G402-x86.txt +++ b/docs/G402-x86.txt @@ -1,6 +1,6 @@ { "device_type": "G402-x86", - "option_count": 60, + "option_count": 61, "1": { "category": "base", "name": "restore", @@ -43,8 +43,8 @@ "title": "多流输出类型", "desc": "", "type": "string", - "cur": "无", - "default": "无", + "cur": "彩色+灰度+黑白", + "default": "彩色+灰度+黑白", "size": 32, "range": ["彩色+灰度+黑白", "彩色+灰度", "彩色+黑白", "灰度+黑白"], "depend_or": ["4==true"] @@ -74,9 +74,20 @@ "min": 0, "max": 255 }, - "depend_or": ["6==黑白"] + "depend_or": ["4==true", "6==黑白"] }, "8": { + "category": "base", + "name": "reverse-bw", + "title": "黑白图像反色输出(正常颜色为:0-黑色;1-白色)", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["4==true", "6==黑白"] + }, + "9": { "category": "base", "name": "filter", "title": "灰度或黑白图像 - 除色", @@ -88,7 +99,7 @@ "range": ["不除色", "除红色", "除绿色", "除蓝色", "红色增强", "绿色增强", "蓝色增强"], "depend_and": ["4!=true", "6!=24位彩色", "6!=颜色自动识别"] }, - "9": { + "10": { "category": "base", "name": "is-rid-multiout-red", "title": "24位彩色图像 - 多流输出除红", @@ -99,7 +110,7 @@ "size": 4, "depend_and": ["4!=true", "6!=256级灰度", "6!=黑白", "6!=颜色自动识别"] }, - "10": { + "11": { "category": "base", "name": "is-rid-answer-sheet-red", "title": "24位彩色图像 - 答题卡除红", @@ -110,7 +121,7 @@ "size": 4, "depend_and": ["4!=true", "6!=256级灰度", "6!=黑白", "6!=颜色自动识别"] }, - "11": { + "12": { "category": "base", "name": "is-erase-bkg", "title": "背景移除", @@ -121,7 +132,7 @@ "size": 4, "depend_and": ["4!=true", "6!=256级灰度", "6!=黑白", "6!=颜色自动识别"] }, - "12": { + "13": { "category": "base", "name": "bkg-color-range", "title": " 背景色彩浮动范围", @@ -134,9 +145,9 @@ "min": 1, "max": 128 }, - "depend_or": ["11==true"] + "depend_or": ["12==true"] }, - "13": { + "14": { "category": "base", "name": "sharpen", "title": "锐化与模糊", @@ -148,7 +159,7 @@ "range": ["无", "锐化", "进一步锐化", "模糊", "进一步模糊"], "depend_and": ["4!=true", "6!=黑白", "6!=颜色自动识别"] }, - "14": { + "15": { "category": "base", "name": "is-rid-morr", "title": "去除摩尔纹", @@ -159,7 +170,7 @@ "size": 4, "depend_and": ["4!=true", "6!=黑白", "6!=颜色自动识别"] }, - "15": { + "16": { "category": "base", "name": "is-rid-grid", "title": "除网纹", @@ -170,7 +181,7 @@ "size": 4, "depend_and": ["4!=true", "6!=黑白", "6!=颜色自动识别"] }, - "16": { + "17": { "category": "base", "name": "is-err-extension", "title": "错误扩散", @@ -181,7 +192,7 @@ "size": 4, "depend_or": ["6==黑白"] }, - "17": { + "18": { "category": "base", "name": "is-noise-optimize", "title": "黑白图像噪点优化", @@ -192,7 +203,7 @@ "size": 4, "depend_or": ["6==黑白"] }, - "18": { + "19": { "category": "base", "name": "noise-size", "title": " 噪点优化尺寸", @@ -205,9 +216,9 @@ "min": 10, "max": 50 }, - "depend_or": ["17==true"] + "depend_or": ["18==true"] }, - "19": { + "20": { "category": "base", "name": "paper", "title": "纸张尺寸", @@ -218,7 +229,7 @@ "size": 48, "range": ["A3", "A4", "A4横向", "A5", "A5横向", "A6", "A6横向", "B4", "B5", "B5横向", "B6", "B6横向", "Letter", "Letter横向", "Double Letter", "LEGAL", "匹配原始尺寸"] }, - "20": { + "21": { "category": "base", "name": "is-custom-area", "title": "自定义扫描区域", @@ -227,9 +238,9 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["19!=匹配原始尺寸", "19!=三联试卷", "19!=最大扫描尺寸", "19!=最大扫描尺寸自动裁切"] + "depend_and": ["20!=匹配原始尺寸", "20!=三联试卷", "20!=最大扫描尺寸", "20!=最大扫描尺寸自动裁切"] }, - "21": { + "22": { "category": "base", "name": "tl-x", "title": "扫描区域左侧(mm)", @@ -242,9 +253,9 @@ "min": 0.000000, "max": 210.000000 }, - "depend_and": ["20==true"] + "depend_and": ["21==true"] }, - "22": { + "23": { "category": "base", "name": "br-x", "title": "扫描区域右侧(mm)", @@ -257,9 +268,9 @@ "min": 0.000000, "max": 210.000000 }, - "depend_and": ["20==true"] + "depend_and": ["21==true"] }, - "23": { + "24": { "category": "base", "name": "tl-y", "title": "扫描区域上侧(mm)", @@ -272,9 +283,9 @@ "min": 0.000000, "max": 297.000000 }, - "depend_and": ["20==true"] + "depend_and": ["21==true"] }, - "24": { + "25": { "category": "base", "name": "br-y", "title": "扫描区域下侧(mm)", @@ -287,9 +298,9 @@ "min": 0.000000, "max": 297.000000 }, - "depend_and": ["20==true"] + "depend_and": ["21==true"] }, - "25": { + "26": { "category": "base", "name": "page", "title": "扫描页面", @@ -300,7 +311,7 @@ "size": 40, "range": ["单面", "双面", "跳过空白页(通用)", "跳过空白页(发票纸)", "对折"] }, - "26": { + "27": { "category": "base", "name": "blank-sensitivity", "title": " 跳过空白页灵敏度", @@ -313,9 +324,9 @@ "min": 1, "max": 100 }, - "depend_or": ["25==跳过空白页(发票纸)", "25==跳过空白页(通用)"] + "depend_or": ["26==跳过空白页(发票纸)", "26==跳过空白页(通用)"] }, - "27": { + "28": { "category": "base", "name": "resolution", "title": "分辨率", @@ -326,7 +337,7 @@ "size": 4, "range": [100, 150, 200, 300] }, - "28": { + "29": { "category": "base", "name": "is-exchange", "title": "交换正反面", @@ -335,9 +346,9 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["25!=单面"] + "depend_and": ["26!=单面"] }, - "29": { + "30": { "category": "base", "name": "is-split", "title": "图像拆分", @@ -346,9 +357,9 @@ "cur": false, "default": false, "size": 4, - "depend_or": ["25!=对折"] + "depend_or": ["26!=对折"] }, - "30": { + "31": { "category": "base", "name": "is-anti-skew", "title": "自动纠偏", @@ -357,15 +368,15 @@ "cur": true, "default": true, "size": 4, - "depend_or": ["25!=对折"] + "depend_or": ["26!=对折"] }, - "31": { + "32": { "category": "base", "name": "grp-2", "title": "亮度", "type": "group" }, - "32": { + "33": { "category": "base", "name": "is-custom-gamma", "title": "启用色调曲线", @@ -375,7 +386,7 @@ "default": false, "size": 4 }, - "33": { + "34": { "category": "base", "name": "brightness", "title": "亮度值", @@ -389,7 +400,7 @@ "max": 255 } }, - "34": { + "35": { "category": "base", "name": "contrast", "title": "对比度", @@ -403,7 +414,7 @@ "max": 7 } }, - "35": { + "36": { "category": "base", "name": "gamma", "title": "伽马值", @@ -417,13 +428,13 @@ "max": 5.000000 } }, - "36": { + "37": { "category": "base", "name": "grp-3", "title": "图像处理", "type": "group" }, - "37": { + "38": { "category": "base", "name": "is-erase-black-frame", "title": "消除黑框", @@ -433,7 +444,7 @@ "default": true, "size": 4 }, - "38": { + "39": { "category": "base", "name": "is-dark-sample", "title": "深色样张", @@ -442,9 +453,9 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["25!=对折", "37!=true", "19!=匹配原始尺寸", "19!=最大扫描尺寸", "19!=最大扫描尺寸自动裁切", "30!=true"] + "depend_and": ["26!=对折", "38!=true", "20!=匹配原始尺寸", "20!=最大扫描尺寸", "20!=最大扫描尺寸自动裁切", "31!=true"] }, - "39": { + "40": { "category": "advanced", "name": "threshold", "title": "阈值", @@ -457,9 +468,9 @@ "min": 30, "max": 50 }, - "depend_or": ["37==true", "19==匹配原始尺寸", "19==最大扫描尺寸", "19==最大扫描尺寸自动裁切", "30==true"] + "depend_or": ["38==true", "20==匹配原始尺寸", "20==最大扫描尺寸", "20==最大扫描尺寸自动裁切", "31==true"] }, - "40": { + "41": { "category": "advanced", "name": "anti-noise-level", "title": "背景抗噪等级", @@ -472,9 +483,9 @@ "min": 1, "max": 20 }, - "depend_or": ["37==true", "19==匹配原始尺寸", "19==最大扫描尺寸", "19==最大扫描尺寸自动裁切", "30==true"] + "depend_or": ["38==true", "20==匹配原始尺寸", "20==最大扫描尺寸", "20==最大扫描尺寸自动裁切", "31==true"] }, - "41": { + "42": { "category": "advanced", "name": "margin", "title": "边缘缩进", @@ -487,9 +498,9 @@ "min": 5, "max": 30 }, - "depend_or": ["37==true", "19==匹配原始尺寸", "19==最大扫描尺寸自动裁切", "30==true", "19==最大扫描尺寸"] + "depend_or": ["38==true", "20==匹配原始尺寸", "20==最大扫描尺寸自动裁切", "31==true", "20==最大扫描尺寸"] }, - "42": { + "43": { "category": "advanced", "name": "bkg-fill-mode", "title": "背景填充方式", @@ -499,9 +510,9 @@ "default": "凸多边形", "size": 40, "range": ["凸多边形", "凹多边形"], - "depend_or": ["37==true"] + "depend_or": ["38==true"] }, - "43": { + "44": { "category": "base", "name": "is-anti-permeate", "title": "防止渗透", @@ -511,7 +522,7 @@ "default": false, "size": 4 }, - "44": { + "45": { "category": "base", "name": "permeate-level", "title": " 防止渗透等级", @@ -521,9 +532,9 @@ "default": "较弱", "size": 16, "range": ["弱", "较弱", "一般", "较强", "强"], - "depend_or": ["43==true"] + "depend_or": ["44==true"] }, - "45": { + "46": { "category": "base", "name": "is-rid-hole-l", "title": "穿孔移除—左侧", @@ -533,7 +544,7 @@ "default": false, "size": 4 }, - "46": { + "47": { "category": "base", "name": "search-hole-range-l", "title": " 左侧穿孔搜索范围占幅面比例", @@ -546,9 +557,9 @@ "min": 0.000000, "max": 0.500000 }, - "depend_or": ["45==true"] + "depend_or": ["46==true"] }, - "47": { + "48": { "category": "base", "name": "is-rid-hole-r", "title": "穿孔移除—右侧", @@ -558,7 +569,7 @@ "default": false, "size": 4 }, - "48": { + "49": { "category": "base", "name": "search-hole-range-r", "title": " 右侧穿孔搜索范围占幅面比例", @@ -571,9 +582,9 @@ "min": 0.000000, "max": 0.500000 }, - "depend_or": ["47==true"] + "depend_or": ["48==true"] }, - "49": { + "50": { "category": "base", "name": "is-rid-hole-t", "title": "穿孔移除—上侧", @@ -583,7 +594,7 @@ "default": true, "size": 4 }, - "50": { + "51": { "category": "base", "name": "search-hole-range-t", "title": " 上侧穿孔搜索范围占幅面比例", @@ -596,9 +607,9 @@ "min": 0.000000, "max": 0.500000 }, - "depend_or": ["49==true"] + "depend_or": ["50==true"] }, - "51": { + "52": { "category": "base", "name": "is-rid-hole-b", "title": "穿孔移除—下侧", @@ -608,7 +619,7 @@ "default": false, "size": 4 }, - "52": { + "53": { "category": "base", "name": "search-hole-range-b", "title": " 下侧穿孔搜索范围占幅面比例", @@ -621,9 +632,9 @@ "min": 0.000000, "max": 0.500000 }, - "depend_or": ["51==true"] + "depend_or": ["52==true"] }, - "53": { + "54": { "category": "base", "name": "is-fill-color", "title": "色彩填充", @@ -632,15 +643,15 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["37==true"] + "depend_and": ["38==true"] }, - "54": { + "55": { "category": "base", "name": "grp-4", "title": "送纸方式设置", "type": "group" }, - "55": { + "56": { "category": "base", "name": "is-ultrosonic", "title": "超声波检测", @@ -650,7 +661,7 @@ "default": true, "size": 4 }, - "56": { + "57": { "category": "base", "name": "scan-mode", "title": "扫描张数", @@ -661,7 +672,7 @@ "size": 32, "range": ["连续扫描", "扫描指定张数"] }, - "57": { + "58": { "category": "base", "name": "scan-count", "title": " 扫描数量", @@ -670,9 +681,9 @@ "cur": 1, "default": 1, "size": 4, - "depend_or": ["56==扫描指定张数"] + "depend_or": ["57==扫描指定张数"] }, - "58": { + "59": { "category": "base", "name": "direction", "title": "文稿方向", @@ -683,7 +694,7 @@ "size": 40, "range": ["0°", "90°", "180°", "-90°"] }, - "59": { + "60": { "category": "base", "name": "is-rotate-bkg-180", "title": "背面旋转180°", @@ -692,6 +703,6 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["25!=单面", "25!=对折", "58!=自动文本方向识别°"] + "depend_and": ["26!=单面", "26!=对折", "59!=自动文本方向识别°"] } } \ No newline at end of file diff --git a/docs/G402.txt b/docs/G402.txt index acaedd9..a29bc4a 100644 --- a/docs/G402.txt +++ b/docs/G402.txt @@ -1,6 +1,6 @@ { "device_type": "G402", - "option_count": 60, + "option_count": 61, "1": { "category": "base", "name": "restore", @@ -43,8 +43,8 @@ "title": "多流输出类型", "desc": "", "type": "string", - "cur": "无", - "default": "无", + "cur": "彩色+灰度+黑白", + "default": "彩色+灰度+黑白", "size": 32, "range": ["彩色+灰度+黑白", "彩色+灰度", "彩色+黑白", "灰度+黑白"], "depend_or": ["4==true"] @@ -74,9 +74,20 @@ "min": 0, "max": 255 }, - "depend_or": ["6==黑白"] + "depend_or": ["6==黑白", "4==true"] }, "8": { + "category": "base", + "name": "reverse-bw", + "title": "黑白图像反色输出(正常颜色为:0-黑色;1-白色)", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["4==true", "6==黑白"] + }, + "9": { "category": "base", "name": "filter", "title": "灰度或黑白图像 - 除色", @@ -88,7 +99,7 @@ "range": ["不除色", "除红色", "除绿色", "除蓝色", "红色增强", "绿色增强", "蓝色增强"], "depend_and": ["4!=true", "6!=24位彩色", "6!=颜色自动识别"] }, - "9": { + "10": { "category": "base", "name": "is-rid-multiout-red", "title": "24位彩色图像 - 多流输出除红", @@ -99,7 +110,7 @@ "size": 4, "depend_and": ["4!=true", "6!=256级灰度", "6!=黑白", "6!=颜色自动识别"] }, - "10": { + "11": { "category": "base", "name": "is-rid-answer-sheet-red", "title": "24位彩色图像 - 答题卡除红", @@ -110,7 +121,7 @@ "size": 4, "depend_and": ["4!=true", "6!=256级灰度", "6!=黑白", "6!=颜色自动识别"] }, - "11": { + "12": { "category": "base", "name": "is-erase-bkg", "title": "背景移除", @@ -121,7 +132,7 @@ "size": 4, "depend_and": ["4!=true", "6!=256级灰度", "6!=黑白", "6!=颜色自动识别"] }, - "12": { + "13": { "category": "base", "name": "bkg-color-range", "title": " 背景色彩浮动范围", @@ -134,9 +145,9 @@ "min": 1, "max": 128 }, - "depend_or": ["11==true"] + "depend_or": ["12==true"] }, - "13": { + "14": { "category": "base", "name": "sharpen", "title": "锐化与模糊", @@ -148,7 +159,7 @@ "range": ["无", "锐化", "进一步锐化", "模糊", "进一步模糊"], "depend_and": ["4!=true", "6!=黑白", "6!=颜色自动识别"] }, - "14": { + "15": { "category": "base", "name": "is-rid-morr", "title": "去除摩尔纹", @@ -159,7 +170,7 @@ "size": 4, "depend_and": ["4!=true", "6!=黑白", "6!=颜色自动识别"] }, - "15": { + "16": { "category": "base", "name": "is-rid-grid", "title": "除网纹", @@ -170,7 +181,7 @@ "size": 4, "depend_and": ["4!=true", "6!=黑白", "6!=颜色自动识别"] }, - "16": { + "17": { "category": "base", "name": "is-err-extension", "title": "错误扩散", @@ -181,7 +192,7 @@ "size": 4, "depend_or": ["6==黑白"] }, - "17": { + "18": { "category": "base", "name": "is-noise-optimize", "title": "黑白图像噪点优化", @@ -192,7 +203,7 @@ "size": 4, "depend_or": ["6==黑白"] }, - "18": { + "19": { "category": "base", "name": "noise-size", "title": " 噪点优化尺寸", @@ -205,9 +216,9 @@ "min": 10, "max": 50 }, - "depend_or": ["17==true"] + "depend_or": ["18==true"] }, - "19": { + "20": { "category": "base", "name": "paper", "title": "纸张尺寸", @@ -218,7 +229,7 @@ "size": 48, "range": ["A3", "A4", "A4横向", "A5", "A5横向", "A6", "A6横向", "B4", "B5", "B5横向", "B6", "B6横向", "Letter", "Letter横向", "Double Letter", "LEGAL", "匹配原始尺寸"] }, - "20": { + "21": { "category": "base", "name": "is-custom-area", "title": "自定义扫描区域", @@ -227,9 +238,9 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["19!=匹配原始尺寸", "19!=三联试卷", "19!=最大扫描尺寸", "19!=最大扫描尺寸自动裁切"] + "depend_and": ["20!=匹配原始尺寸", "20!=三联试卷", "20!=最大扫描尺寸", "20!=最大扫描尺寸自动裁切"] }, - "21": { + "22": { "category": "base", "name": "tl-x", "title": "扫描区域左侧(mm)", @@ -242,9 +253,9 @@ "min": 0.000000, "max": 210.000000 }, - "depend_and": ["20==true"] + "depend_and": ["21==true"] }, - "22": { + "23": { "category": "base", "name": "br-x", "title": "扫描区域右侧(mm)", @@ -257,9 +268,9 @@ "min": 0.000000, "max": 210.000000 }, - "depend_and": ["20==true"] + "depend_and": ["21==true"] }, - "23": { + "24": { "category": "base", "name": "tl-y", "title": "扫描区域上侧(mm)", @@ -272,9 +283,9 @@ "min": 0.000000, "max": 297.000000 }, - "depend_and": ["20==true"] + "depend_and": ["21==true"] }, - "24": { + "25": { "category": "base", "name": "br-y", "title": "扫描区域下侧(mm)", @@ -287,9 +298,9 @@ "min": 0.000000, "max": 297.000000 }, - "depend_and": ["20==true"] + "depend_and": ["21==true"] }, - "25": { + "26": { "category": "base", "name": "page", "title": "扫描页面", @@ -300,7 +311,7 @@ "size": 40, "range": ["单面", "双面", "跳过空白页(通用)", "跳过空白页(发票纸)", "对折"] }, - "26": { + "27": { "category": "base", "name": "blank-sensitivity", "title": " 跳过空白页灵敏度", @@ -313,9 +324,9 @@ "min": 1, "max": 100 }, - "depend_or": ["25==跳过空白页(发票纸)", "25==跳过空白页(通用)"] + "depend_or": ["26==跳过空白页(发票纸)", "26==跳过空白页(通用)"] }, - "27": { + "28": { "category": "base", "name": "resolution", "title": "分辨率", @@ -326,7 +337,7 @@ "size": 4, "range": [100, 150, 200, 300] }, - "28": { + "29": { "category": "base", "name": "is-exchange", "title": "交换正反面", @@ -335,9 +346,9 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["25!=单面"] + "depend_and": ["26!=单面"] }, - "29": { + "30": { "category": "base", "name": "is-split", "title": "图像拆分", @@ -346,9 +357,9 @@ "cur": false, "default": false, "size": 4, - "depend_or": ["25!=对折"] + "depend_or": ["26!=对折"] }, - "30": { + "31": { "category": "base", "name": "is-anti-skew", "title": "自动纠偏", @@ -357,15 +368,15 @@ "cur": true, "default": true, "size": 4, - "depend_or": ["25!=对折"] + "depend_or": ["26!=对折"] }, - "31": { + "32": { "category": "base", "name": "grp-2", "title": "亮度", "type": "group" }, - "32": { + "33": { "category": "base", "name": "is-custom-gamma", "title": "启用色调曲线", @@ -375,7 +386,7 @@ "default": false, "size": 4 }, - "33": { + "34": { "category": "base", "name": "brightness", "title": "亮度值", @@ -389,7 +400,7 @@ "max": 255 } }, - "34": { + "35": { "category": "base", "name": "contrast", "title": "对比度", @@ -403,7 +414,7 @@ "max": 7 } }, - "35": { + "36": { "category": "base", "name": "gamma", "title": "伽马值", @@ -417,13 +428,13 @@ "max": 5.000000 } }, - "36": { + "37": { "category": "base", "name": "grp-3", "title": "图像处理", "type": "group" }, - "37": { + "38": { "category": "base", "name": "is-erase-black-frame", "title": "消除黑框", @@ -433,7 +444,7 @@ "default": true, "size": 4 }, - "38": { + "39": { "category": "base", "name": "is-dark-sample", "title": "深色样张", @@ -442,9 +453,9 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["25!=对折", "37!=true", "19!=匹配原始尺寸", "19!=最大扫描尺寸", "19!=最大扫描尺寸自动裁切", "30!=true"] + "depend_and": ["26!=对折", "38!=true", "20!=匹配原始尺寸", "20!=最大扫描尺寸", "20!=最大扫描尺寸自动裁切", "31!=true"] }, - "39": { + "40": { "category": "advanced", "name": "threshold", "title": "阈值", @@ -457,9 +468,9 @@ "min": 30, "max": 50 }, - "depend_or": ["37==true", "19==匹配原始尺寸", "19==最大扫描尺寸", "19==最大扫描尺寸自动裁切", "30==true"] + "depend_or": ["38==true", "20==匹配原始尺寸", "20==最大扫描尺寸", "20==最大扫描尺寸自动裁切", "31==true"] }, - "40": { + "41": { "category": "advanced", "name": "anti-noise-level", "title": "背景抗噪等级", @@ -472,9 +483,9 @@ "min": 1, "max": 20 }, - "depend_or": ["37==true", "19==匹配原始尺寸", "19==最大扫描尺寸", "19==最大扫描尺寸自动裁切", "30==true"] + "depend_or": ["38==true", "20==匹配原始尺寸", "20==最大扫描尺寸", "20==最大扫描尺寸自动裁切", "31==true"] }, - "41": { + "42": { "category": "advanced", "name": "margin", "title": "边缘缩进", @@ -487,9 +498,9 @@ "min": 5, "max": 30 }, - "depend_or": ["37==true", "19==匹配原始尺寸", "19==最大扫描尺寸自动裁切", "30==true", "19==最大扫描尺寸"] + "depend_or": ["38==true", "20==匹配原始尺寸", "20==最大扫描尺寸自动裁切", "31==true", "20==最大扫描尺寸"] }, - "42": { + "43": { "category": "advanced", "name": "bkg-fill-mode", "title": "背景填充方式", @@ -499,9 +510,9 @@ "default": "凸多边形", "size": 40, "range": ["凸多边形", "凹多边形"], - "depend_or": ["37==true"] + "depend_or": ["38==true"] }, - "43": { + "44": { "category": "base", "name": "is-anti-permeate", "title": "防止渗透", @@ -511,7 +522,7 @@ "default": false, "size": 4 }, - "44": { + "45": { "category": "base", "name": "permeate-level", "title": " 防止渗透等级", @@ -521,9 +532,9 @@ "default": "较弱", "size": 16, "range": ["弱", "较弱", "一般", "较强", "强"], - "depend_or": ["43==true"] + "depend_or": ["44==true"] }, - "45": { + "46": { "category": "base", "name": "is-rid-hole-l", "title": "穿孔移除—左侧", @@ -533,7 +544,7 @@ "default": false, "size": 4 }, - "46": { + "47": { "category": "base", "name": "search-hole-range-l", "title": " 左侧穿孔搜索范围占幅面比例", @@ -546,9 +557,9 @@ "min": 0.000000, "max": 0.500000 }, - "depend_or": ["45==true"] + "depend_or": ["46==true"] }, - "47": { + "48": { "category": "base", "name": "is-rid-hole-r", "title": "穿孔移除—右侧", @@ -558,7 +569,7 @@ "default": false, "size": 4 }, - "48": { + "49": { "category": "base", "name": "search-hole-range-r", "title": " 右侧穿孔搜索范围占幅面比例", @@ -571,9 +582,9 @@ "min": 0.000000, "max": 0.500000 }, - "depend_or": ["47==true"] + "depend_or": ["48==true"] }, - "49": { + "50": { "category": "base", "name": "is-rid-hole-t", "title": "穿孔移除—上侧", @@ -583,7 +594,7 @@ "default": false, "size": 4 }, - "50": { + "51": { "category": "base", "name": "search-hole-range-t", "title": " 上侧穿孔搜索范围占幅面比例", @@ -596,9 +607,9 @@ "min": 0.000000, "max": 0.500000 }, - "depend_or": ["49==true"] + "depend_or": ["50==true"] }, - "51": { + "52": { "category": "base", "name": "is-rid-hole-b", "title": "穿孔移除—下侧", @@ -608,7 +619,7 @@ "default": false, "size": 4 }, - "52": { + "53": { "category": "base", "name": "search-hole-range-b", "title": " 下侧穿孔搜索范围占幅面比例", @@ -621,9 +632,9 @@ "min": 0.000000, "max": 0.500000 }, - "depend_or": ["51==true"] + "depend_or": ["52==true"] }, - "53": { + "54": { "category": "base", "name": "is-fill-color", "title": "色彩填充", @@ -632,15 +643,15 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["37==true"] + "depend_and": ["38==true"] }, - "54": { + "55": { "category": "base", "name": "grp-4", "title": "送纸方式设置", "type": "group" }, - "55": { + "56": { "category": "base", "name": "is-ultrosonic", "title": "超声波检测", @@ -650,7 +661,7 @@ "default": true, "size": 4 }, - "56": { + "57": { "category": "base", "name": "scan-mode", "title": "扫描张数", @@ -661,7 +672,7 @@ "size": 32, "range": ["连续扫描", "扫描指定张数"] }, - "57": { + "58": { "category": "base", "name": "scan-count", "title": " 扫描数量", @@ -670,9 +681,9 @@ "cur": 1, "default": 1, "size": 4, - "depend_or": ["56==扫描指定张数"] + "depend_or": ["57==扫描指定张数"] }, - "58": { + "59": { "category": "base", "name": "direction", "title": "文稿方向", @@ -683,7 +694,7 @@ "size": 40, "range": ["0°", "90°", "180°", "-90°", "自动文本方向识别°"] }, - "59": { + "60": { "category": "base", "name": "is-rotate-bkg-180", "title": "背面旋转180°", @@ -692,6 +703,6 @@ "cur": false, "default": false, "size": 4, - "depend_and": ["25!=单面", "25!=对折", "58!=自动文本方向识别°"] + "depend_and": ["26!=单面", "26!=对折", "59!=自动文本方向识别°"] } } \ No newline at end of file diff --git a/docs/G439-lsc.txt b/docs/G439-lsc.txt new file mode 100644 index 0000000..ce9d089 --- /dev/null +++ b/docs/G439-lsc.txt @@ -0,0 +1,644 @@ +{ + "device_type": "G439-lsc", + "option_count": 56, + "1": { + "category": "base", + "name": "restore", + "title": "恢复默认设置", + "desc": "恢复默认设置", + "type": "button", + "cur": "button", + "default": "button", + "size": 0 + }, + "2": { + "category": "advanced", + "name": "help", + "title": "帮助", + "desc": "显示软件帮助文档", + "type": "button", + "cur": "true", + "default": "true", + "size": 4 + }, + "3": { + "category": "base", + "name": "grp-1", + "title": "基本设置", + "type": "group" + }, + "4": { + "category": "base", + "name": "is-multiout", + "title": "多流输出", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4 + }, + "5": { + "category": "base", + "name": "multiout-type", + "title": "多流输出类型", + "desc": "", + "type": "string", + "cur": "彩色+灰度+黑白", + "default": "彩色+灰度+黑白", + "size": 32, + "range": ["彩色+灰度+黑白", "彩色+灰度", "彩色+黑白", "灰度+黑白"], + "depend_or": ["4==true"] + }, + "6": { + "category": "base", + "name": "mode", + "title": "颜色模式", + "desc": "设置颜色位深", + "type": "string", + "cur": "24位彩色", + "default": "24位彩色", + "size": 32, + "range": ["24位彩色", "256级灰度", "黑白", "颜色自动识别"], + "depend_or": ["4==false"] + }, + "7": { + "category": "base", + "name": "binary-threshold", + "title": "黑白图像阈值", + "desc": "", + "type": "int", + "cur": 20, + "default": 20, + "size": 4, + "range": { + "min": 0, + "max": 255 + }, + "depend_or": ["4==true", "6==黑白"] + }, + "8": { + "category": "base", + "name": "reverse-bw", + "title": "黑白图像反色输出(正常颜色为:0-黑色;1-白色)", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["4==true", "6==黑白"] + }, + "9": { + "category": "base", + "name": "filter", + "title": "灰度或黑白图像 - 除色", + "desc": "除去图像彩色", + "type": "string", + "cur": "不除色", + "default": "不除色", + "size": 24, + "range": ["不除色", "除红色", "除绿色", "除蓝色", "红色增强", "绿色增强", "蓝色增强"], + "depend_and": ["4!=true", "6!=24位彩色", "6!=颜色自动识别"] + }, + "10": { + "category": "base", + "name": "is-rid-multiout-red", + "title": "24位彩色图像 - 多流输出除红", + "desc": "多通道输出中,去除红色", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["4!=true", "6!=256级灰度", "6!=黑白", "6!=颜色自动识别"] + }, + "11": { + "category": "base", + "name": "is-rid-answer-sheet-red", + "title": "24位彩色图像 - 答题卡除红", + "desc": "答题卡扫描中去除红色", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["4!=true", "6!=256级灰度", "6!=黑白", "6!=颜色自动识别"] + }, + "12": { + "category": "base", + "name": "is-erase-bkg", + "title": "背景移除", + "desc": "移除彩色图像背景", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["4!=true", "6!=256级灰度", "6!=黑白", "6!=颜色自动识别"] + }, + "13": { + "category": "base", + "name": "bkg-color-range", + "title": " 背景色彩浮动范围", + "desc": "设定背景色彩的浮动范围,在该范围内的都当作背景移除", + "type": "int", + "cur": 20, + "default": 20, + "size": 4, + "range": { + "min": 1, + "max": 128 + }, + "depend_or": ["12==true"] + }, + "14": { + "category": "base", + "name": "sharpen", + "title": "锐化与模糊", + "desc": "锐化与模糊", + "type": "string", + "cur": "无", + "default": "无", + "size": 24, + "range": ["无", "锐化", "进一步锐化", "模糊", "进一步模糊"], + "depend_and": ["4!=true", "6!=黑白", "6!=颜色自动识别"] + }, + "15": { + "category": "base", + "name": "is-rid-morr", + "title": "去除摩尔纹", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["4!=true", "6!=黑白", "6!=颜色自动识别"] + }, + "16": { + "category": "base", + "name": "is-rid-grid", + "title": "除网纹", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["4!=true", "6!=黑白", "6!=颜色自动识别"] + }, + "17": { + "category": "base", + "name": "is-err-extension", + "title": "错误扩散", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["6==黑白"] + }, + "18": { + "category": "base", + "name": "is-noise-optimize", + "title": "黑白图像噪点优化", + "desc": "噪点优化", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["6==黑白"] + }, + "19": { + "category": "base", + "name": "noise-size", + "title": " 噪点优化尺寸", + "desc": "噪点优化尺寸", + "type": "int", + "cur": 30, + "default": 30, + "size": 4, + "range": { + "min": 10, + "max": 50 + }, + "depend_or": ["18==true"] + }, + "20": { + "category": "base", + "name": "paper", + "title": "纸张尺寸", + "desc": "设置纸张大小", + "type": "string", + "cur": "匹配原始尺寸", + "default": "匹配原始尺寸", + "size": 48, + "range": ["A3", "A4", "A4横向", "A5", "A5横向", "A6", "A6横向", "B4", "B5", "B5横向", "B6", "B6横向", "Letter", "Letter横向", "Double Letter", "LEGAL", "匹配原始尺寸", "最大扫描尺寸自动裁切", "最大扫描尺寸", "三联试卷"] + }, + "21": { + "category": "base", + "name": "is-custom-area", + "title": "自定义扫描区域", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["20!=匹配原始尺寸", "20!=三联试卷", "20!=最大扫描尺寸", "20!=最大扫描尺寸自动裁切"] + }, + "22": { + "category": "base", + "name": "tl-x", + "title": "扫描区域左侧(mm)", + "desc": "自定义扫描区域左上角x坐标", + "type": "float", + "cur": 0.000000, + "default": 0.000000, + "size": 4, + "range": { + "min": 0.000000, + "max": 210.000000 + }, + "depend_and": ["21==true"] + }, + "23": { + "category": "base", + "name": "br-x", + "title": "扫描区域右侧(mm)", + "desc": "", + "type": "float", + "cur": 210.000000, + "default": 210.000000, + "size": 4, + "range": { + "min": 0.000000, + "max": 210.000000 + }, + "depend_and": ["21==true"] + }, + "24": { + "category": "base", + "name": "tl-y", + "title": "扫描区域上侧(mm)", + "desc": "自定义扫描区域左上角y坐标", + "type": "float", + "cur": 0.000000, + "default": 0.000000, + "size": 4, + "range": { + "min": 0.000000, + "max": 297.000000 + }, + "depend_and": ["21==true"] + }, + "25": { + "category": "base", + "name": "br-y", + "title": "扫描区域下侧(mm)", + "desc": "自定义扫描区域右下角y坐标", + "type": "float", + "cur": 297.000000, + "default": 297.000000, + "size": 4, + "range": { + "min": 0.000000, + "max": 297.000000 + }, + "depend_and": ["21==true"] + }, + "26": { + "category": "base", + "name": "is-size-check", + "title": "尺寸检测", + "desc": "检测纸张实际尺寸", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["20==A3", "20==A4", "20==A4横向", "20==A5", "20==A6", "20==A6横向", "20==B4", "20==B5", "20==B5横向", "20==B6", "20==B6横向", "20==Double Letter", "20==LEGAL", "20==Letter", "20==Letter横向"] + }, + "27": { + "category": "base", + "name": "page", + "title": "扫描页面", + "desc": "设置页面扫描方式", + "type": "string", + "cur": "双面", + "default": "双面", + "size": 50, + "range": ["单面", "双面", "跳过空白页(通用)", "跳过空白页(发票纸)", "对折"] + }, + "28": { + "category": "base", + "name": "blank-sensitivity", + "title": " 跳过空白页灵敏度", + "desc": "灵敏度越高,则越容易跳过", + "type": "int", + "cur": 50, + "default": 50, + "size": 4, + "range": { + "min": 1, + "max": 100 + }, + "depend_or": ["27==跳过空白页(发票纸)", "27==跳过空白页(通用)"] + }, + "29": { + "category": "base", + "name": "resolution", + "title": "分辨率", + "desc": "扫描仪分辨率", + "type": "int", + "cur": 200, + "default": 200, + "size": 4, + "range": [100, 150, 200, 300] + }, + "30": { + "category": "base", + "name": "is-exchange", + "title": "交换正反面", + "desc": "交换正反面", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["27!=单面"] + }, + "31": { + "category": "base", + "name": "is-split", + "title": "图像拆分", + "desc": "自动拆分图像", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["27!=对折"] + }, + "32": { + "category": "base", + "name": "is-anti-skew", + "title": "自动纠偏", + "desc": "自动纠偏", + "type": "bool", + "cur": true, + "default": true, + "size": 4, + "depend_or": ["27!=对折"] + }, + "33": { + "category": "base", + "name": "grp-2", + "title": "亮度", + "type": "group" + }, + "34": { + "category": "base", + "name": "is-custom-gamma", + "title": "启用色调曲线", + "desc": "通过色调曲线来设置图像伽玛值", + "type": "bool", + "cur": false, + "default": false, + "size": 4 + }, + "35": { + "category": "base", + "name": "brightness", + "title": "亮度值", + "desc": "调整图片亮度", + "type": "int", + "cur": 128, + "default": 128, + "size": 4, + "range": { + "min": 1, + "max": 255 + } + }, + "36": { + "category": "base", + "name": "contrast", + "title": "对比度", + "desc": "调整图片对比度", + "type": "int", + "cur": 4, + "default": 4, + "size": 4, + "range": { + "min": 1, + "max": 7 + } + }, + "37": { + "category": "base", + "name": "gamma", + "title": "伽马值", + "desc": "调整图片伽玛值", + "type": "float", + "cur": 1.000000, + "default": 1.000000, + "size": 4, + "range": { + "min": 0.010000, + "max": 5.000000 + } + }, + "38": { + "category": "base", + "name": "grp-3", + "title": "图像处理", + "type": "group" + }, + "39": { + "category": "base", + "name": "is-erase-black-frame", + "title": "消除黑框", + "desc": "消除黑框", + "type": "bool", + "cur": true, + "default": true, + "size": 4 + }, + "40": { + "category": "base", + "name": "is-dark-sample", + "title": "深色样张", + "desc": "深色样张", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["27!=对折", "39!=true", "20!=匹配原始尺寸", "20!=最大扫描尺寸", "20!=最大扫描尺寸自动裁切", "32!=true"] + }, + "41": { + "category": "advanced", + "name": "threshold", + "title": "阈值", + "desc": "阈值", + "type": "int", + "cur": 40, + "default": 40, + "size": 4, + "range": { + "min": 30, + "max": 50 + }, + "depend_or": ["39==true", "20==匹配原始尺寸", "20==最大扫描尺寸", "20==最大扫描尺寸自动裁切", "32==true"] + }, + "42": { + "category": "advanced", + "name": "anti-noise-level", + "title": "背景抗噪等级", + "desc": "背景抗噪等级", + "type": "int", + "cur": 8, + "default": 8, + "size": 4, + "range": { + "min": 1, + "max": 20 + }, + "depend_or": ["39==true", "20==匹配原始尺寸", "20==最大扫描尺寸", "20==最大扫描尺寸自动裁切", "32==true"] + }, + "43": { + "category": "advanced", + "name": "margin", + "title": "边缘缩进", + "desc": "边缘缩进", + "type": "int", + "cur": 5, + "default": 5, + "size": 4, + "range": { + "min": 5, + "max": 30 + }, + "depend_or": ["39==true", "20==匹配原始尺寸", "20==最大扫描尺寸自动裁切", "32==true", "20==最大扫描尺寸"] + }, + "44": { + "category": "advanced", + "name": "bkg-fill-mode", + "title": "背景填充方式", + "desc": "背景填充方式", + "type": "string", + "cur": "凸多边形", + "default": "凸多边形", + "size": 40, + "range": ["凸多边形", "凹多边形"], + "depend_or": ["39==true"] + }, + "45": { + "category": "base", + "name": "is-anti-permeate", + "title": "防止渗透", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4 + }, + "46": { + "category": "base", + "name": "permeate-level", + "title": " 防止渗透等级", + "desc": "", + "type": "string", + "cur": "较弱", + "default": "较弱", + "size": 16, + "range": ["弱", "较弱", "一般", "较强", "强"], + "depend_or": ["45==true"] + }, + "47": { + "category": "base", + "name": "cfg-47", + "title": "穿孔移除", + "desc": "移除纸张中的穿孔", + "type": "bool", + "cur": false, + "default": false, + "size": 4 + }, + "48": { + "category": "base", + "name": "cfg-48", + "title": " 穿孔搜索范围占幅面比例", + "desc": "穿孔搜索范围占幅面比例", + "type": "float", + "cur": 0.100000, + "default": 0.100000, + "size": 4, + "range": { + "min": 0.010000, + "max": 0.500000 + }, + "depend_or": ["47==true"] + }, + "49": { + "category": "base", + "name": "is-fill-color", + "title": "色彩填充", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["39==true"] + }, + "50": { + "category": "base", + "name": "grp-4", + "title": "送纸方式设置", + "type": "group" + }, + "51": { + "category": "base", + "name": "is-ultrosonic", + "title": "超声波检测", + "desc": "超声波检测送纸状态", + "type": "bool", + "cur": true, + "default": true, + "size": 4 + }, + "52": { + "category": "base", + "name": "scan-mode", + "title": "扫描张数", + "desc": "扫描纸张数量", + "type": "string", + "cur": "连续扫描", + "default": "连续扫描", + "size": 32, + "range": ["连续扫描", "扫描指定张数"] + }, + "53": { + "category": "base", + "name": "scan-count", + "title": " 扫描数量", + "desc": "扫描指定数量", + "type": "int", + "cur": 1, + "default": 1, + "size": 4, + "depend_or": ["52==扫描指定张数"] + }, + "54": { + "category": "base", + "name": "direction", + "title": "文稿方向", + "desc": "文稿方向", + "type": "string", + "cur": "0°", + "default": "0°", + "size": 40, + "range": ["0°", "90°", "180°", "-90°"] + }, + "55": { + "category": "base", + "name": "is-rotate-bkg-180", + "title": "背面旋转180°", + "desc": "背面扫描的图像旋转180°", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["27!=单面", "27!=对折", "54!=自动文本方向识别°"] + } +} \ No newline at end of file diff --git a/docs/G439.txt b/docs/G439.txt new file mode 100644 index 0000000..7dc5e1d --- /dev/null +++ b/docs/G439.txt @@ -0,0 +1,666 @@ +{ + "device_type": "G439", + "option_count": 58, + "1": { + "category": "base", + "name": "restore", + "title": "恢复默认设置", + "desc": "恢复默认设置", + "type": "button", + "cur": "button", + "default": "button", + "size": 0 + }, + "2": { + "category": "advanced", + "name": "help", + "title": "帮助", + "desc": "显示软件帮助文档", + "type": "button", + "cur": "true", + "default": "true", + "size": 4 + }, + "3": { + "category": "base", + "name": "grp-1", + "title": "基本设置", + "type": "group" + }, + "4": { + "category": "base", + "name": "is-multiout", + "title": "多流输出", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4 + }, + "5": { + "category": "base", + "name": "multiout-type", + "title": "多流输出类型", + "desc": "", + "type": "string", + "cur": "彩色+灰度+黑白", + "default": "彩色+灰度+黑白", + "size": 32, + "range": ["彩色+灰度+黑白", "彩色+灰度", "彩色+黑白", "灰度+黑白"], + "depend_or": ["4==true"] + }, + "6": { + "category": "base", + "name": "mode", + "title": "颜色模式", + "desc": "设置颜色位深", + "type": "string", + "cur": "24位彩色", + "default": "24位彩色", + "size": 32, + "range": ["24位彩色", "256级灰度", "黑白", "颜色自动识别"], + "depend_or": ["4==false"] + }, + "7": { + "category": "base", + "name": "binary-threshold", + "title": "黑白图像阈值", + "desc": "", + "type": "int", + "cur": 20, + "default": 20, + "size": 4, + "range": { + "min": 0, + "max": 255 + }, + "depend_or": ["4==true", "6==黑白"] + }, + "8": { + "category": "base", + "name": "reverse-bw", + "title": "黑白图像反色输出(正常颜色为:0-黑色;1-白色)", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["4==true", "6==黑白"] + }, + "9": { + "category": "base", + "name": "filter", + "title": "灰度或黑白图像 - 除色", + "desc": "除去图像彩色", + "type": "string", + "cur": "不除色", + "default": "不除色", + "size": 24, + "range": ["不除色", "除红色", "除绿色", "除蓝色", "红色增强", "绿色增强", "蓝色增强"], + "depend_and": ["4!=true", "6!=24位彩色", "6!=颜色自动识别"] + }, + "10": { + "category": "base", + "name": "is-rid-multiout-red", + "title": "24位彩色图像 - 多流输出除红", + "desc": "多通道输出中,去除红色", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["4!=true", "6!=256级灰度", "6!=黑白", "6!=颜色自动识别"] + }, + "11": { + "category": "base", + "name": "is-rid-answer-sheet-red", + "title": "24位彩色图像 - 答题卡除红", + "desc": "答题卡扫描中去除红色", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["4!=true", "6!=256级灰度", "6!=黑白", "6!=颜色自动识别"] + }, + "12": { + "category": "base", + "name": "is-erase-bkg", + "title": "背景移除", + "desc": "移除彩色图像背景", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["4!=true", "6!=256级灰度", "6!=黑白", "6!=颜色自动识别"] + }, + "13": { + "category": "base", + "name": "bkg-color-range", + "title": " 背景色彩浮动范围", + "desc": "设定背景色彩的浮动范围,在该范围内的都当作背景移除", + "type": "int", + "cur": 20, + "default": 20, + "size": 4, + "range": { + "min": 1, + "max": 128 + }, + "depend_or": ["12==true"] + }, + "14": { + "category": "base", + "name": "sharpen", + "title": "锐化与模糊", + "desc": "锐化与模糊", + "type": "string", + "cur": "无", + "default": "无", + "size": 24, + "range": ["无", "锐化", "进一步锐化", "模糊", "进一步模糊"], + "depend_and": ["4!=true", "6!=黑白", "6!=颜色自动识别"] + }, + "15": { + "category": "base", + "name": "is-rid-morr", + "title": "去除摩尔纹", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["4!=true", "6!=黑白", "6!=颜色自动识别"] + }, + "16": { + "category": "base", + "name": "is-rid-grid", + "title": "除网纹", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["4!=true", "6!=黑白", "6!=颜色自动识别"] + }, + "17": { + "category": "base", + "name": "is-err-extension", + "title": "错误扩散", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["6==黑白"] + }, + "18": { + "category": "base", + "name": "is-noise-optimize", + "title": "黑白图像噪点优化", + "desc": "噪点优化", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["6==黑白"] + }, + "19": { + "category": "base", + "name": "noise-size", + "title": " 噪点优化尺寸", + "desc": "噪点优化尺寸", + "type": "int", + "cur": 30, + "default": 30, + "size": 4, + "range": { + "min": 10, + "max": 50 + }, + "depend_or": ["18==true"] + }, + "20": { + "category": "base", + "name": "paper", + "title": "纸张尺寸", + "desc": "设置纸张大小", + "type": "string", + "cur": "匹配原始尺寸", + "default": "匹配原始尺寸", + "size": 48, + "range": ["A3", "A4", "A4横向", "A5", "A5横向", "A6", "A6横向", "B4", "B5", "B5横向", "B6", "B6横向", "Letter", "Letter横向", "Double Letter", "LEGAL", "匹配原始尺寸", "最大扫描尺寸自动裁切", "最大扫描尺寸", "三联试卷"] + }, + "21": { + "category": "base", + "name": "is-custom-area", + "title": "自定义扫描区域", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["20!=匹配原始尺寸", "20!=三联试卷", "20!=最大扫描尺寸", "20!=最大扫描尺寸自动裁切"] + }, + "22": { + "category": "base", + "name": "tl-x", + "title": "扫描区域左侧(mm)", + "desc": "自定义扫描区域左上角x坐标", + "type": "float", + "cur": 0.000000, + "default": 0.000000, + "size": 4, + "range": { + "min": 0.000000, + "max": 210.000000 + }, + "depend_and": ["21==true"] + }, + "23": { + "category": "base", + "name": "br-x", + "title": "扫描区域右侧(mm)", + "desc": "", + "type": "float", + "cur": 210.000000, + "default": 210.000000, + "size": 4, + "range": { + "min": 0.000000, + "max": 210.000000 + }, + "depend_and": ["21==true"] + }, + "24": { + "category": "base", + "name": "tl-y", + "title": "扫描区域上侧(mm)", + "desc": "自定义扫描区域左上角y坐标", + "type": "float", + "cur": 0.000000, + "default": 0.000000, + "size": 4, + "range": { + "min": 0.000000, + "max": 297.000000 + }, + "depend_and": ["21==true"] + }, + "25": { + "category": "base", + "name": "br-y", + "title": "扫描区域下侧(mm)", + "desc": "自定义扫描区域右下角y坐标", + "type": "float", + "cur": 297.000000, + "default": 297.000000, + "size": 4, + "range": { + "min": 0.000000, + "max": 297.000000 + }, + "depend_and": ["21==true"] + }, + "26": { + "category": "base", + "name": "is-size-check", + "title": "尺寸检测", + "desc": "检测纸张实际尺寸", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["20==A3", "20==A4", "20==A4横向", "20==A5", "20==A6", "20==A6横向", "20==B4", "20==B5", "20==B5横向", "20==B6", "20==B6横向", "20==Double Letter", "20==LEGAL", "20==Letter", "20==Letter横向"] + }, + "27": { + "category": "base", + "name": "page", + "title": "扫描页面", + "desc": "设置页面扫描方式", + "type": "string", + "cur": "双面", + "default": "双面", + "size": 50, + "range": ["单面", "双面", "跳过空白页(通用)", "跳过空白页(发票纸)", "对折"] + }, + "28": { + "category": "base", + "name": "blank-sensitivity", + "title": " 跳过空白页灵敏度", + "desc": "灵敏度越高,则越容易跳过", + "type": "int", + "cur": 50, + "default": 50, + "size": 4, + "range": { + "min": 1, + "max": 100 + }, + "depend_or": ["27==跳过空白页(发票纸)", "27==跳过空白页(通用)"] + }, + "29": { + "category": "base", + "name": "resolution", + "title": "分辨率", + "desc": "扫描仪分辨率", + "type": "int", + "cur": 200, + "default": 200, + "size": 4, + "range": [100, 150, 200, 300] + }, + "30": { + "category": "base", + "name": "is-exchange", + "title": "交换正反面", + "desc": "交换正反面", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["27!=单面"] + }, + "31": { + "category": "base", + "name": "is-split", + "title": "图像拆分", + "desc": "自动拆分图像", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_or": ["27!=对折"] + }, + "32": { + "category": "base", + "name": "is-anti-skew", + "title": "自动纠偏", + "desc": "自动纠偏", + "type": "bool", + "cur": true, + "default": true, + "size": 4, + "depend_or": ["27!=对折"] + }, + "33": { + "category": "base", + "name": "grp-2", + "title": "亮度", + "type": "group" + }, + "34": { + "category": "base", + "name": "is-custom-gamma", + "title": "启用色调曲线", + "desc": "通过色调曲线来设置图像伽玛值", + "type": "bool", + "cur": false, + "default": false, + "size": 4 + }, + "35": { + "category": "base", + "name": "brightness", + "title": "亮度值", + "desc": "调整图片亮度", + "type": "int", + "cur": 128, + "default": 128, + "size": 4, + "range": { + "min": 1, + "max": 255 + } + }, + "36": { + "category": "base", + "name": "contrast", + "title": "对比度", + "desc": "调整图片对比度", + "type": "int", + "cur": 4, + "default": 4, + "size": 4, + "range": { + "min": 1, + "max": 7 + } + }, + "37": { + "category": "base", + "name": "gamma", + "title": "伽马值", + "desc": "调整图片伽玛值", + "type": "float", + "cur": 1.000000, + "default": 1.000000, + "size": 4, + "range": { + "min": 0.010000, + "max": 5.000000 + } + }, + "38": { + "category": "base", + "name": "grp-3", + "title": "图像处理", + "type": "group" + }, + "39": { + "category": "base", + "name": "is-photo-mode", + "title": "照片模式", + "desc": "选择该模式以保留图片水印", + "type": "bool", + "cur": false, + "default": false, + "size": 4 + }, + "40": { + "category": "base", + "name": "is-erase-black-frame", + "title": "消除黑框", + "desc": "消除黑框", + "type": "bool", + "cur": true, + "default": true, + "size": 4 + }, + "41": { + "category": "base", + "name": "is-dark-sample", + "title": "深色样张", + "desc": "深色样张", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["27!=对折", "40!=true", "20!=匹配原始尺寸", "20!=最大扫描尺寸", "20!=最大扫描尺寸自动裁切", "32!=true"] + }, + "42": { + "category": "advanced", + "name": "threshold", + "title": "阈值", + "desc": "阈值", + "type": "int", + "cur": 40, + "default": 40, + "size": 4, + "range": { + "min": 30, + "max": 50 + }, + "depend_or": ["40==true", "20==匹配原始尺寸", "20==最大扫描尺寸", "20==最大扫描尺寸自动裁切", "32==true"] + }, + "43": { + "category": "advanced", + "name": "anti-noise-level", + "title": "背景抗噪等级", + "desc": "背景抗噪等级", + "type": "int", + "cur": 8, + "default": 8, + "size": 4, + "range": { + "min": 1, + "max": 20 + }, + "depend_or": ["40==true", "20==匹配原始尺寸", "20==最大扫描尺寸", "20==最大扫描尺寸自动裁切", "32==true"] + }, + "44": { + "category": "advanced", + "name": "margin", + "title": "边缘缩进", + "desc": "边缘缩进", + "type": "int", + "cur": 5, + "default": 5, + "size": 4, + "range": { + "min": 5, + "max": 30 + }, + "depend_or": ["40==true", "20==匹配原始尺寸", "20==最大扫描尺寸自动裁切", "32==true", "20==最大扫描尺寸"] + }, + "45": { + "category": "advanced", + "name": "bkg-fill-mode", + "title": "背景填充方式", + "desc": "背景填充方式", + "type": "string", + "cur": "凸多边形", + "default": "凸多边形", + "size": 40, + "range": ["凸多边形", "凹多边形"], + "depend_or": ["40==true"] + }, + "46": { + "category": "base", + "name": "is-anti-permeate", + "title": "防止渗透", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4 + }, + "47": { + "category": "base", + "name": "permeate-level", + "title": " 防止渗透等级", + "desc": "", + "type": "string", + "cur": "较弱", + "default": "较弱", + "size": 16, + "range": ["弱", "较弱", "一般", "较强", "强"], + "depend_or": ["46==true"] + }, + "48": { + "category": "base", + "name": "cfg-48", + "title": "穿孔移除", + "desc": "移除纸张中的穿孔", + "type": "bool", + "cur": false, + "default": false, + "size": 4 + }, + "49": { + "category": "base", + "name": "cfg-49", + "title": " 穿孔搜索范围占幅面比例", + "desc": "穿孔搜索范围占幅面比例", + "type": "float", + "cur": 0.100000, + "default": 0.100000, + "size": 4, + "range": { + "min": 0.010000, + "max": 0.500000 + }, + "depend_or": ["48==true"] + }, + "50": { + "category": "base", + "name": "is-fill-color", + "title": "色彩填充", + "desc": "", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["40==true"] + }, + "51": { + "category": "base", + "name": "grp-4", + "title": "送纸方式设置", + "type": "group" + }, + "52": { + "category": "base", + "name": "is-ultrosonic", + "title": "超声波检测", + "desc": "超声波检测送纸状态", + "type": "bool", + "cur": true, + "default": true, + "size": 4 + }, + "53": { + "category": "base", + "name": "double-feed", + "title": "双张图片处理", + "desc": "检测到双张进纸后的处理方式", + "type": "string", + "cur": "丢弃图像并停止扫描", + "default": "丢弃图像并停止扫描", + "size": 40, + "range": ["丢弃图像并停止扫描", "上传图像并停止扫描"], + "depend_or": ["52==true"] + }, + "54": { + "category": "base", + "name": "scan-mode", + "title": "扫描张数", + "desc": "扫描纸张数量", + "type": "string", + "cur": "连续扫描", + "default": "连续扫描", + "size": 32, + "range": ["连续扫描", "扫描指定张数"] + }, + "55": { + "category": "base", + "name": "scan-count", + "title": " 扫描数量", + "desc": "扫描指定数量", + "type": "int", + "cur": 1, + "default": 1, + "size": 4, + "depend_or": ["54==扫描指定张数"] + }, + "56": { + "category": "base", + "name": "direction", + "title": "文稿方向", + "desc": "文稿方向", + "type": "string", + "cur": "0°", + "default": "0°", + "size": 40, + "range": ["0°", "90°", "180°", "-90°", "自动文本方向识别°"] + }, + "57": { + "category": "base", + "name": "is-rotate-bkg-180", + "title": "背面旋转180°", + "desc": "背面扫描的图像旋转180°", + "type": "bool", + "cur": false, + "default": false, + "size": 4, + "depend_and": ["27!=单面", "27!=对折", "56!=自动文本方向识别°"] + } +} \ No newline at end of file