This commit is contained in:
恍兮惚兮 2024-05-01 11:33:04 +08:00
parent 46857e6221
commit a7bc3574d3
7 changed files with 2283 additions and 939 deletions

View File

@ -15,7 +15,16 @@
"network": 1, "network": 1,
"hookmagpie": true, "hookmagpie": true,
"imagewrapmode": 0, "imagewrapmode": 0,
"relationlinks":[["LunaTranslator","https://github.com/HIllya51/LunaTranslator"],["vndb","https://vndb.org/"]], "relationlinks": [
[
"LunaTranslator",
"https://github.com/HIllya51/LunaTranslator"
],
[
"vndb",
"https://vndb.org/"
]
],
"hooklossless": true, "hooklossless": true,
"direct_filterrepeat": false, "direct_filterrepeat": false,
"allow_set_text_name": false, "allow_set_text_name": false,
@ -68,7 +77,10 @@
"textthreaddelay": 500, "textthreaddelay": 500,
"flushbuffersize": 3000, "flushbuffersize": 3000,
"transuigeo": [ "transuigeo": [
500,500,1200,200 500,
500,
1200,
200
], ],
"hist_geo": [ "hist_geo": [
100, 100,
@ -242,7 +254,8 @@
"use": true, "use": true,
"tip": "鼠标穿透窗口", "tip": "鼠标穿透窗口",
"icon": "fa.mouse-pointer" "icon": "fa.mouse-pointer"
},"backtransbutton": { },
"backtransbutton": {
"use": true, "use": true,
"tip": "背景窗口透明", "tip": "背景窗口透明",
"icon": "fa.lightbulb-o" "icon": "fa.lightbulb-o"
@ -753,10 +766,12 @@
"baiduocr_X": { "baiduocr_X": {
"use": false, "use": false,
"name": "baiduOCR_X" "name": "baiduOCR_X"
},"txocr": { },
"txocr": {
"use": false, "use": false,
"name": "tencent.ocr" "name": "tencent.ocr"
},"txocrtrans": { },
"txocrtrans": {
"use": false, "use": false,
"name": "tencent.ImageTranslate" "name": "tencent.ImageTranslate"
}, },
@ -930,7 +945,8 @@
"color": "blue", "color": "blue",
"type": "dev", "type": "dev",
"name": "有道" "name": "有道"
},"dev_sogou": { },
"dev_sogou": {
"use": false, "use": false,
"color": "blue", "color": "blue",
"type": "dev", "type": "dev",

View File

@ -6,55 +6,83 @@
"Secret Key": "", "Secret Key": "",
"接口": 0, "接口": 0,
"次数统计": "0" "次数统计": "0"
},"argstype":{ },
"argstype": {
"注册网址": { "注册网址": {
"type": "label", "type": "label",
"islink": true "islink": true
}, },
"接口": { "接口": {
"type": "combo", "type": "combo",
"list":["通用文字识别(标准版)","通用文字识别(标准含位置版)","通用文字识别(高精度版)","通用文字识别(高精度含位置版)"] "list": [
"通用文字识别(标准版)",
"通用文字识别(标准含位置版)",
"通用文字识别(高精度版)",
"通用文字识别(高精度含位置版)"
]
} }
} }
},"txocr": { },
"txocr": {
"args": { "args": {
"注册网址": "https://cloud.tencent.com/document/product/866/33526", "注册网址": "https://cloud.tencent.com/document/product/866/33526",
"SecretId": "", "SecretId": "",
"SecretKey": "", "SecretKey": "",
"Region": 0 "Region": 0
},"argstype":{ },
"argstype": {
"注册网址": { "注册网址": {
"type": "label", "type": "label",
"islink": true "islink": true
}, },
"Region": { "Region": {
"type": "combo", "type": "combo",
"list":["ap-beijing","ap-guangzhou","ap-hongkong","ap-seoul","ap-shanghai","ap-singapore","na-toronto"] "list": [
"ap-beijing",
"ap-guangzhou",
"ap-hongkong",
"ap-seoul",
"ap-shanghai",
"ap-singapore",
"na-toronto"
]
} }
} }
},"txocrtrans": { },
"txocrtrans": {
"args": { "args": {
"注册网址": "https://cloud.tencent.com/document/product/551/17232", "注册网址": "https://cloud.tencent.com/document/product/551/17232",
"SecretId": "", "SecretId": "",
"SecretKey": "", "SecretKey": "",
"ProjectId": "0", "ProjectId": "0",
"Region": 0 "Region": 0
},"argstype":{ },
"argstype": {
"注册网址": { "注册网址": {
"type": "label", "type": "label",
"islink": true "islink": true
}, },
"Region": { "Region": {
"type": "combo", "type": "combo",
"list":["ap-beijing","ap-guangzhou","ap-hongkong","ap-seoul","ap-shanghai","ap-singapore","na-toronto"] "list": [
"ap-beijing",
"ap-guangzhou",
"ap-hongkong",
"ap-seoul",
"ap-shanghai",
"ap-singapore",
"na-toronto"
]
} }
} }
},"feishu": { },
"feishu": {
"args": { "args": {
"注册网址": "https://open.feishu.cn/document/ukTMukTMukTM/ukDNz4SO0MjL5QzM/auth-v3/auth/tenant_access_token_internal", "注册网址": "https://open.feishu.cn/document/ukTMukTMukTM/ukDNz4SO0MjL5QzM/auth-v3/auth/tenant_access_token_internal",
"app_id": "", "app_id": "",
"app_secret": "" "app_secret": ""
},"argstype":{ },
"argstype": {
"注册网址": { "注册网址": {
"type": "label", "type": "label",
"islink": true "islink": true
@ -66,7 +94,8 @@
"注册网址": "https://docsumo.com/", "注册网址": "https://docsumo.com/",
"token": "", "token": "",
"次数统计": "0" "次数统计": "0"
},"argstype":{ },
"argstype": {
"注册网址": { "注册网址": {
"type": "label", "type": "label",
"islink": true "islink": true
@ -80,16 +109,19 @@
"APP_KEY": "", "APP_KEY": "",
"APP_SECRET": "", "APP_SECRET": "",
"次数统计": "0" "次数统计": "0"
},"argstype":{ },
"argstype": {
"注册网址": { "注册网址": {
"type": "label", "type": "label",
"islink": true "islink": true
}, },
"接口": { "接口": {
"type": "combo", "type": "combo",
"list":["免费试用","通用文字识别 API"] "list": [
"免费试用",
"通用文字识别 API"
]
} }
} }
}, },
"youdaocrtrans": { "youdaocrtrans": {
@ -99,16 +131,19 @@
"APP_KEY": "", "APP_KEY": "",
"APP_SECRET": "", "APP_SECRET": "",
"次数统计": "0" "次数统计": "0"
},"argstype":{ },
"argstype": {
"注册网址": { "注册网址": {
"type": "label", "type": "label",
"islink": true "islink": true
}, },
"接口": { "接口": {
"type": "combo", "type": "combo",
"list":["免费试用","图片翻译 API"] "list": [
"免费试用",
"图片翻译 API"
]
} }
} }
}, },
"ocrspace": { "ocrspace": {
@ -117,14 +152,18 @@
"apikey": "", "apikey": "",
"次数统计": "0", "次数统计": "0",
"interface": 0 "interface": 0
},"argstype":{ },
"argstype": {
"注册网址": { "注册网址": {
"type": "label", "type": "label",
"islink": true "islink": true
}, },
"interface": { "interface": {
"type": "combo", "type": "combo",
"list":["pro","free"] "list": [
"pro",
"free"
]
} }
} }
}, },
@ -134,11 +173,13 @@
"密钥获取": "https://console.volcengine.com/iam/keymanage/", "密钥获取": "https://console.volcengine.com/iam/keymanage/",
"Access Key ID": "", "Access Key ID": "",
"Secret Access Key": "" "Secret Access Key": ""
},"argstype":{ },
"argstype": {
"注册网址": { "注册网址": {
"type": "label", "type": "label",
"islink": true "islink": true
},"密钥获取":{ },
"密钥获取": {
"type": "label", "type": "label",
"islink": true "islink": true
} }
@ -150,11 +191,13 @@
"路径": "", "路径": "",
"语言": 0, "语言": 0,
"附加参数": "--psm 6" "附加参数": "--psm 6"
},"argstype":{ },
"argstype": {
"下载": { "下载": {
"type": "label", "type": "label",
"islink": true "islink": true
},"路径":{ },
"路径": {
"type": "file", "type": "file",
"dir": false, "dir": false,
"filter": "tesseract.exe", "filter": "tesseract.exe",
@ -162,7 +205,10 @@
}, },
"语言": { "语言": {
"type": "combo", "type": "combo",
"list_function":["ocrengines.tesseract5","list_langs"] "list_function": [
"ocrengines.tesseract5",
"list_langs"
]
} }
} }
}, },

View File

@ -10,13 +10,16 @@
"_remove_ascii": { "_remove_ascii": {
"use": false, "use": false,
"name": "过滤ASCII字符集" "name": "过滤ASCII字符集"
},"_remove_control":{ },
"_remove_control": {
"use": false, "use": false,
"name": "过滤控制字符" "name": "过滤控制字符"
},"_remove_chaos":{ },
"_remove_chaos": {
"use": false, "use": false,
"name": "过滤其他乱码" "name": "过滤其他乱码"
},"_remove_not_in_ja_bracket":{ },
"_remove_not_in_ja_bracket": {
"use": false, "use": false,
"name": "过滤「」以外的字符" "name": "过滤「」以外的字符"
}, },
@ -57,7 +60,8 @@
"step": 1 "step": 1
} }
} }
},"_3_2": { },
"_3_2": {
"use": false, "use": false,
"name": "去除重复行_S1S1S1S2S2S2->S1S2" "name": "去除重复行_S1S1S1S2S2S2->S1S2"
}, },
@ -76,19 +80,24 @@
"_91": { "_91": {
"use": false, "use": false,
"name": "过滤数字" "name": "过滤数字"
},"_92": { },
"_92": {
"use": false, "use": false,
"name": "过滤英文字母" "name": "过滤英文字母"
}, },
"_7": { "_7": {
"use": true, "use": true,
"name": "简单字符串替换", "name": "简单字符串替换",
"args": { "替换内容": {}} "args": {
"替换内容": {}
}
}, },
"_7_zhuanyi": { "_7_zhuanyi": {
"use": true, "use": true,
"name": "转义字符串替换", "name": "转义字符串替换",
"args": { "替换内容": {}} "args": {
"替换内容": {}
}
}, },
"_8": { "_8": {
"use": false, "use": false,

File diff suppressed because one or more lines are too long

View File

@ -23,13 +23,13 @@
"islink": true "islink": true
} }
} }
},"feishu": { },
"feishu": {
"args": { "args": {
"注册网址": "https://open.feishu.cn/document/ukTMukTMukTM/ukDNz4SO0MjL5QzM/auth-v3/auth/tenant_access_token_internal", "注册网址": "https://open.feishu.cn/document/ukTMukTMukTM/ukDNz4SO0MjL5QzM/auth-v3/auth/tenant_access_token_internal",
"app_id": "", "app_id": "",
"app_secret": "" "app_secret": ""
} },
,
"argstype": { "argstype": {
"注册网址": { "注册网址": {
"type": "label", "type": "label",
@ -43,8 +43,7 @@
"Token": "", "Token": "",
"字数统计": "0", "字数统计": "0",
"次数统计": "0" "次数统计": "0"
} },
,
"argstype": { "argstype": {
"注册网址": { "注册网址": {
"type": "label", "type": "label",
@ -58,8 +57,7 @@
"DeepL-Auth-Key": "", "DeepL-Auth-Key": "",
"字数统计": "0", "字数统计": "0",
"次数统计": "0" "次数统计": "0"
} },
,
"argstype": { "argstype": {
"注册网址": { "注册网址": {
"type": "label", "type": "label",
@ -73,8 +71,7 @@
"DeepL-Auth-Key": "", "DeepL-Auth-Key": "",
"字数统计": "0", "字数统计": "0",
"次数统计": "0" "次数统计": "0"
} },
,
"argstype": { "argstype": {
"注册网址": { "注册网址": {
"type": "label", "type": "label",
@ -104,8 +101,7 @@
"Secret Access Key": "", "Secret Access Key": "",
"字数统计": "0", "字数统计": "0",
"次数统计": "0" "次数统计": "0"
} },
,
"argstype": { "argstype": {
"注册网址": { "注册网址": {
"type": "label", "type": "label",
@ -117,11 +113,11 @@
"args": { "args": {
"注册网址": "https://console.cloud.tencent.com/cam/capi", "注册网址": "https://console.cloud.tencent.com/cam/capi",
"SecretId": "", "SecretId": "",
"SecretKey": "", "Region":0, "SecretKey": "",
"Region": 0,
"字数统计": "0", "字数统计": "0",
"次数统计": "0" "次数统计": "0"
} },
,
"argstype": { "argstype": {
"注册网址": { "注册网址": {
"type": "label", "type": "label",
@ -129,7 +125,25 @@
}, },
"Region": { "Region": {
"type": "combo", "type": "combo",
"list":["ap-beijing","ap-shanghai","ap-chengdu","ap-chongqing","ap-guangzhou","ap-hongkong","ap-mumbai","ap-seoul","ap-shanghai-fsi","ap-shenzhen-fsi","ap-singapore","ap-tokyo","ap-bangkok","eu-frankfurt","na-ashburn","na-siliconvalley","na-toronto"] "list": [
"ap-beijing",
"ap-shanghai",
"ap-chengdu",
"ap-chongqing",
"ap-guangzhou",
"ap-hongkong",
"ap-mumbai",
"ap-seoul",
"ap-shanghai-fsi",
"ap-shenzhen-fsi",
"ap-singapore",
"ap-tokyo",
"ap-bangkok",
"eu-frankfurt",
"na-ashburn",
"na-siliconvalley",
"na-toronto"
]
} }
} }
}, },
@ -139,8 +153,7 @@
"apikey": "", "apikey": "",
"字数统计": "0", "字数统计": "0",
"次数统计": "0" "次数统计": "0"
} },
,
"argstype": { "argstype": {
"注册网址": { "注册网址": {
"type": "label", "type": "label",
@ -155,8 +168,7 @@
"APP_SECRET": "", "APP_SECRET": "",
"字数统计": "0", "字数统计": "0",
"次数统计": "0" "次数统计": "0"
} },
,
"argstype": { "argstype": {
"注册网址": { "注册网址": {
"type": "label", "type": "label",
@ -178,15 +190,18 @@
"自定义promt": "", "自定义promt": "",
"api_type": 0, "api_type": 0,
"流式输出": false "流式输出": false
} },
,
"argstype": { "argstype": {
"流式输出": { "流式输出": {
"type": "switch" "type": "switch"
}, },
"api_type": { "api_type": {
"type": "combo", "type": "combo",
"list":["open_ai","azure","azure_ad"] "list": [
"open_ai",
"azure",
"azure_ad"
]
}, },
"使用自定义promt": { "使用自定义promt": {
"type": "switch" "type": "switch"
@ -212,7 +227,8 @@
"step": 0.1 "step": 0.1
} }
} }
},"claude": { },
"claude": {
"args": { "args": {
"BASE_URL": "https://api.anthropic.com", "BASE_URL": "https://api.anthropic.com",
"model": "claude-3-opus-20240229", "model": "claude-3-opus-20240229",
@ -223,8 +239,7 @@
"使用自定义promt": false, "使用自定义promt": false,
"自定义promt": "", "自定义promt": "",
"流式输出": false "流式输出": false
} },
,
"argstype": { "argstype": {
"流式输出": { "流式输出": {
"type": "switch" "type": "switch"
@ -263,8 +278,7 @@
"使用自定义promt": false, "使用自定义promt": false,
"自定义promt": "", "自定义promt": "",
"流式输出": false "流式输出": false
} },
,
"argstype": { "argstype": {
"流式输出": { "流式输出": {
"type": "switch" "type": "switch"
@ -299,8 +313,7 @@
"使用自定义promt": false, "使用自定义promt": false,
"自定义promt": "", "自定义promt": "",
"流式输出": false "流式输出": false
} },
,
"argstype": { "argstype": {
"流式输出": { "流式输出": {
"type": "switch" "type": "switch"
@ -333,8 +346,7 @@
"用户词典2(可选)": "", "用户词典2(可选)": "",
"用户词典3(可选)": "", "用户词典3(可选)": "",
"备注": "用户词典选择JcUserdic文件夹" "备注": "用户词典选择JcUserdic文件夹"
} },
,
"argstype": { "argstype": {
"备注": { "备注": {
"type": "label" "type": "label"
@ -355,7 +367,6 @@
"type": "file", "type": "file",
"dir": true "dir": true
} }
} }
}, },
"kingsoft": { "kingsoft": {
@ -408,8 +419,7 @@
"type": "switch" "type": "switch"
} }
} }
} },
,
"azure": { "azure": {
"args": { "args": {
"key1": "", "key1": "",
@ -422,8 +432,7 @@
"islink": true "islink": true
} }
} }
} },
,
"ibm": { "ibm": {
"args": { "args": {
"apiurl": "", "apiurl": "",
@ -456,14 +465,12 @@
"api-key": "", "api-key": "",
"使用自定义promt": false, "使用自定义promt": false,
"自定义promt": "" "自定义promt": ""
} },
,
"argstype": { "argstype": {
"注册网址": { "注册网址": {
"type": "label", "type": "label",
"islink": true "islink": true
}, },
"使用自定义promt": { "使用自定义promt": {
"type": "switch" "type": "switch"
} }
@ -489,7 +496,8 @@
"min": 0, "min": 0,
"max": 10000, "max": 10000,
"step": 1 "step": 1
},"最大生成长度":{ },
"最大生成长度": {
"type": "intspin", "type": "intspin",
"min": 0, "min": 0,
"max": 10000, "max": 10000,
@ -500,7 +508,8 @@
"min": 0, "min": 0,
"max": 10000, "max": 10000,
"step": 1 "step": 1
},"柱搜索数":{ },
"柱搜索数": {
"type": "intspin", "type": "intspin",
"min": 0, "min": 0,
"max": 10000, "max": 10000,

View File

@ -1,6 +1,6 @@
PyQt5==5.15.10 PyQt5==5.15.10
PyQt5-Qt5==5.15.2 PyQt5-Qt5==5.15.2
webviewpy==1.1.0 webviewpy
nuitka==2.0.5 nuitka==2.2
imageio imageio
pefile pefile