-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path截图识别公式(科大讯飞api)_20221129_113739.json
55 lines (55 loc) · 6.1 KB
/
截图识别公式(科大讯飞api)_20221129_113739.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"Row": 1,
"Col": 0,
"ActionType": 24,
"Title": "截图识别公式(科大讯飞api)",
"Description": "下载python脚本https://github.com/xlsufo/formulaOCR,再进行设置即可",
"Icon": "https://files.getquicker.net/_icons/065DA9E6C03A697F46B95033B457D72F9053DED7.png",
"Path": null,
"DelayMs": 0,
"Data": "{\"LimitSingleInstance\":true,\"SummaryExpression\":\"$$\",\"SubPrograms\":[],\"Variables\":[{\"Key\":\"text\",\"Type\":0,\"Desc\":\"默认的文本变量\",\"DefaultValue\":\"\",\"SaveState\":false,\"IsInput\":false,\"IsOutput\":false,\"ParamName\":null,\"InputParamInfo\":null,\"OutputParamInfo\":null,\"TableDef\":null,\"CustomType\":null},{\"Key\":\"screen_capture\",\"Type\":3,\"Desc\":\"截取公式图片\",\"DefaultValue\":\"\",\"SaveState\":false,\"IsInput\":false,\"IsOutput\":false,\"ParamName\":null,\"InputParamInfo\":null,\"OutputParamInfo\":null,\"TableDef\":null,\"CustomType\":null},{\"Key\":\"error_info\",\"Type\":0,\"Desc\":\"错误信息\",\"DefaultValue\":\"\",\"SaveState\":false,\"IsInput\":false,\"IsOutput\":false,\"ParamName\":null,\"InputParamInfo\":null,\"OutputParamInfo\":null,\"TableDef\":null,\"CustomType\":null},{\"Key\":\"default_model\",\"Type\":0,\"Desc\":\"\",\"DefaultValue\":\"正常\",\"SaveState\":true,\"IsInput\":false,\"IsOutput\":false,\"ParamName\":\"\",\"InputParamInfo\":null,\"OutputParamInfo\":null,\"TableDef\":null,\"CustomType\":null},{\"Key\":\"latexText\",\"Type\":0,\"Desc\":\"\",\"DefaultValue\":\"\",\"SaveState\":false,\"IsInput\":false,\"IsOutput\":false,\"ParamName\":\"\",\"InputParamInfo\":null,\"OutputParamInfo\":null,\"TableDef\":null,\"CustomType\":null}],\"Steps\":[{\"StepRunnerKey\":\"sys:group\",\"InputParams\":{\"skipErr\":{\"VarKey\":null,\"Value\":\"0\"}},\"OutputParams\":{},\"IfSteps\":[{\"StepRunnerKey\":\"sys:screenCapture\",\"InputParams\":{\"type\":{\"VarKey\":null,\"Value\":\"select\"},\"delay\":{\"VarKey\":null,\"Value\":\"0\"},\"toClip\":{\"VarKey\":null,\"Value\":\"0\"},\"stopIfFail\":{\"VarKey\":null,\"Value\":\"1\"}},\"OutputParams\":{\"img\":\"screen_capture\",\"rect\":null,\"isSuccess\":null},\"IfSteps\":null,\"ElseSteps\":null,\"Note\":\"截取公式\",\"Disabled\":false,\"Collapsed\":false,\"DelayMs\":0},{\"StepRunnerKey\":\"sys:writeClipboard\",\"InputParams\":{\"type\":{\"VarKey\":null,\"Value\":\"image\"},\"imageVar\":{\"VarKey\":\"screen_capture\",\"Value\":null},\"successMsg\":{\"VarKey\":null,\"Value\":\"$= \\\"图片已写入剪贴板\\\"\"},\"stopIfFail\":{\"VarKey\":null,\"Value\":\"1\"}},\"OutputParams\":{\"isSuccess\":null},\"IfSteps\":null,\"ElseSteps\":null,\"Note\":\"\",\"Disabled\":false,\"Collapsed\":false,\"DelayMs\":0},{\"StepRunnerKey\":\"sys:simpleIf\",\"InputParams\":{\"condition\":{\"VarKey\":null,\"Value\":\"$$ '{error_info}'!=''\"}},\"OutputParams\":{},\"IfSteps\":[{\"StepRunnerKey\":\"sys:notify\",\"InputParams\":{\"msg\":{\"VarKey\":null,\"Value\":\"$= String.Format(\\\"识别公式失败,原因: {0}。\\\", {error_info})\"},\"maxLines\":{\"VarKey\":null,\"Value\":\"0\"},\"type\":{\"VarKey\":null,\"Value\":\"Error\"}},\"OutputParams\":{},\"IfSteps\":null,\"ElseSteps\":null,\"Note\":\"\",\"Disabled\":false,\"Collapsed\":false,\"DelayMs\":0},{\"StepRunnerKey\":\"sys:stop\",\"InputParams\":{\"method\":{\"VarKey\":null,\"Value\":\"default\"},\"isError\":{\"VarKey\":null,\"Value\":\"0\"},\"return\":{\"VarKey\":null,\"Value\":\"\"}},\"OutputParams\":{},\"IfSteps\":null,\"ElseSteps\":null,\"Note\":\"\",\"Disabled\":false,\"Collapsed\":false,\"DelayMs\":0}],\"ElseSteps\":null,\"Note\":\"如果发生错误\",\"Disabled\":false,\"Collapsed\":true,\"DelayMs\":0}],\"ElseSteps\":null,\"Note\":\"发起解析公式请求并写入剪贴板\",\"Disabled\":false,\"Collapsed\":false,\"DelayMs\":0},{\"StepRunnerKey\":\"sys:runScript\",\"InputParams\":{\"script\":{\"VarKey\":null,\"Value\":\"python C:\\\\Users\\\\xls\\\\Desktop\\\\itr_teach_python3_demo\\\\itr_teach_python3_demo\\\\WebITRTeach.py\"},\"type\":{\"VarKey\":null,\"Value\":\"CMD_H\"},\"encoding\":{\"VarKey\":null,\"Value\":\"default\"},\"outputEncoding\":{\"VarKey\":null,\"Value\":\"utf8\"},\"workingDir\":{\"VarKey\":null,\"Value\":\"\"},\"runAsAdmin\":{\"VarKey\":null,\"Value\":\"0\"},\"waitToExit\":{\"VarKey\":null,\"Value\":\"0\"}},\"OutputParams\":{\"stdout\":\"latexText\"},\"IfSteps\":null,\"ElseSteps\":null,\"Note\":\"\",\"Disabled\":false,\"Collapsed\":false,\"DelayMs\":0},{\"StepRunnerKey\":\"sys:writeClipboard\",\"InputParams\":{\"type\":{\"VarKey\":null,\"Value\":\"auto\"},\"input\":{\"VarKey\":\"latexText\",\"Value\":null},\"successMsg\":{\"VarKey\":null,\"Value\":\"$= \\\"公式已写入剪贴板\\\"\"},\"stopIfFail\":{\"VarKey\":null,\"Value\":\"1\"}},\"OutputParams\":{\"isSuccess\":null},\"IfSteps\":null,\"ElseSteps\":null,\"Note\":\"\",\"Disabled\":false,\"Collapsed\":false,\"DelayMs\":0}]}",
"Data2": null,
"Data3": null,
"Children": null,
"Id": "240f7893-7946-4024-b843-34fdd73619ab",
"TemplateId": null,
"TemplateRevision": 0,
"UseTemplate": false,
"LastEditTimeUtc": "2022-11-06T14:26:14.4061093+08:00",
"SharedActionId": "2434f982-a269-48df-140e-08dabfe512ee",
"ShareTimeUtc": "2022-11-06T14:49:10.0444261+08:00",
"CreateTimeUtc": null,
"AsSubProgram": false,
"SkipWhenStopRunningActions": false,
"SkipCheckUpdate": false,
"AutoUpdate": false,
"KeepInfoWhenUpdate": false,
"MinQuickerVersion": "",
"ContextMenuData": "",
"AllowScrollTrigger": false,
"EnableEvaluateVariable": false,
"IsTextProcessor": false,
"IsImageProcessor": false,
"Association": {
"MatchProcess": null,
"IsImageProcessor": false,
"ReturnImageFromFirstScreenShotStep": true,
"IsTextProcessor": false,
"ReturnTextFromGetSelectedTextStep": true,
"TextMatchExpression": "",
"TextMinLength": 0,
"TextMaxLength": 0,
"IsHtmlProcessor": false,
"IsFileProcessor": false,
"FileMinCount": 0,
"FileMaxCount": 0,
"AllowedFileExtensions": "",
"RequireAllFileMatchExt": false,
"SearchBoxPlaceholder": "",
"IsWindowProcessor": false,
"EnableRealtimeSearch": false,
"BrowserContextMenu": null,
"UrlPattern": ""
},
"DoNotClosePanel": false
}