docs: 添加涉密文件自检工具实施计划
This commit is contained in:
30
UmiOCR-data/py_src/ocr/output/__init__.py
Normal file
30
UmiOCR-data/py_src/ocr/output/__init__.py
Normal file
@@ -0,0 +1,30 @@
|
||||
from .output_txt import OutputTxt
|
||||
from .output_txt_plain import OutputTxtPlain
|
||||
from .output_txt_individual import OutputTxtIndividual
|
||||
from .output_md import OutputMD
|
||||
from .output_jsonl import OutputJsonl
|
||||
from .output_csv import OutputCsv
|
||||
from .output_pdf_layered import OutputPdfLayered
|
||||
from .output_pdf_one_layer import OutputPdfOneLayer
|
||||
|
||||
"""纯文本输出器。初始化传入参数字典:
|
||||
outputArgd = {
|
||||
"outputDir": "", # 输出路径
|
||||
"outputDirType": "", # 输出目录类型,"source" 为原文件目录,"specify"为指定目录
|
||||
"outputFileName": "", # 输出文件名(前缀)
|
||||
"startDatetime": "", # 开始日期字符串(标准格式)
|
||||
"ignoreBlank": True/False, # 忽略空白文件
|
||||
}
|
||||
"""
|
||||
Output = {
|
||||
# 纯文本输出器
|
||||
"txt": OutputTxt,
|
||||
"txtPlain": OutputTxtPlain,
|
||||
"txtIndividual": OutputTxtIndividual,
|
||||
"md": OutputMD,
|
||||
"jsonl": OutputJsonl,
|
||||
"csv": OutputCsv,
|
||||
# PDF输出器,需要额外的参数 "originPath" 原始文件路径
|
||||
"pdfLayered": OutputPdfLayered,
|
||||
"pdfOneLayer": OutputPdfOneLayer,
|
||||
}
|
||||
Reference in New Issue
Block a user