Add PACS UPP OCR workflow
This commit is contained in:
78
UPP列表处理/数据处理工作区/01_任务配置.template.json
Normal file
78
UPP列表处理/数据处理工作区/01_任务配置.template.json
Normal file
@@ -0,0 +1,78 @@
|
||||
{
|
||||
"project_name": "通用图片表格识别任务",
|
||||
"record_name": "图片表格记录",
|
||||
"input_root": "待处理-[任务名]图片集群",
|
||||
"processed_input_root": "已处理-[任务名]图片集群",
|
||||
"result_root": "数据处理结果区",
|
||||
"result_suffix": "-列表归档结果",
|
||||
"unique_key": "记录编号",
|
||||
"missing_unique_key_action": "keep_for_review",
|
||||
"duplicate_unique_key_action": "keep_later",
|
||||
"fields": [
|
||||
{
|
||||
"name": "记录编号",
|
||||
"required": true,
|
||||
"type": "text",
|
||||
"clean": [
|
||||
"remove_spaces",
|
||||
"upper"
|
||||
],
|
||||
"pattern": "",
|
||||
"description": "主唯一键。请按具体任务改成住院号、检查号、accession_no 或组合键字段。"
|
||||
},
|
||||
{
|
||||
"name": "字段1",
|
||||
"required": false,
|
||||
"type": "text",
|
||||
"clean": [
|
||||
"strip"
|
||||
],
|
||||
"pattern": "",
|
||||
"description": "待替换字段"
|
||||
},
|
||||
{
|
||||
"name": "字段2",
|
||||
"required": false,
|
||||
"type": "text",
|
||||
"clean": [
|
||||
"strip"
|
||||
],
|
||||
"pattern": "",
|
||||
"description": "待替换字段"
|
||||
}
|
||||
],
|
||||
"classification": {
|
||||
"enabled": true,
|
||||
"category_1_name": "业务分类1",
|
||||
"category_2_name": "业务分类2",
|
||||
"default": {
|
||||
"业务分类1": "未分类",
|
||||
"业务分类2": "未分类"
|
||||
},
|
||||
"folder_rules": [
|
||||
{
|
||||
"contains": "示例",
|
||||
"业务分类1": "示例大类",
|
||||
"业务分类2": "示例小类"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ocr": {
|
||||
"engine": "table-v3",
|
||||
"region": "ap-shanghai",
|
||||
"batch_size": 6,
|
||||
"image_padding_y": 24,
|
||||
"rows_per_image": 0,
|
||||
"row_height_px": 0,
|
||||
"skip_header_rows": 0,
|
||||
"auto_skip_header": true,
|
||||
"min_row_ratio": 0.85,
|
||||
"timeout": 90,
|
||||
"sleep": 0.2,
|
||||
"max_retries": 1
|
||||
},
|
||||
"postgres": {
|
||||
"table_name": "Image_Table_Records",
|
||||
"env_prefix": "WORKFLOW_DB"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user