EasyOCR高级

节点中英文对比
EasyOCR高级
  • image
  • images
  • masks
  • json_str
  • text
  • language_list_help
  • gpu
    language_name
    decoder
    beamWidth
    batch_size
    workers
    allowlist
    blocklist
    paragraph
    min_size
    contrast_ths
    adjust_contrast
    text_threshold
    low_text
    link_threshold
    canvas_size
    mag_ratio
    slope_ths
    ycenter_ths
    height_ths
    width_ths
    add_margin
    is_enable
    EasyOCR高级
  • image
  • images
  • masks
  • json_str
  • text
  • language_list_help
  • gpu
    language_name
    decoder
    beamWidth
    batch_size
    workers
    allowlist
    blocklist
    paragraph
    min_size
    contrast_ths
    adjust_contrast
    text_threshold
    low_text
    link_threshold
    canvas_size
    mag_ratio
    slope_ths
    ycenter_ths
    height_ths
    width_ths
    add_margin
    is_enable
    EasyOCR高级 - 参数说明
    输入参数
    image
    输入的图片对象。
    输出参数
    images
    图像对象,可带标注信息。
    masks
    文字区域掩码。
    json_str
    OCR 结果的 JSON 格式,包含文字及坐标。
    text
    识别得到的纯文本。
    language_list_help
    输出语言的缩写清单。
    控件参数
    gpu
    是否启用 GPU 加速,true 时可提升识别速度。
    language_name
    需要识别的语言列表(如 ch_sim,en 表示简体中文和英文)。
    decoder
    解码器类型(如 greedy、beamsearch),影响识别准确性和速度。
    beamWidth
    束宽搜索参数,数值越大准确率越高但速度更慢。
    batch_size
    批处理大小,影响并行处理性能。
    workers
    并发工作线程数,适合大规模处理任务。
    allowlist
    允许识别的字符集。
    blocklist
    屏蔽的字符集。
    paragraph
    是否启用段落模式,true 表示按段落输出。
    min_size
    最小检测文字尺寸,过小的文字会被忽略。
    contrast_ths
    对比度阈值,用于区分文字与背景。
    adjust_contrast
    对比度调整强度。
    text_threshold
    文字置信度阈值,过滤低质量识别结果。
    low_text
    低文字检测阈值,调低可识别更模糊文字。
    link_threshold
    字符连通性阈值,影响分词结果。
    canvas_size
    图像在处理前的缩放尺寸(默认 2560)。
    mag_ratio
    图像放大比例,增强小字体识别。
    slope_ths
    斜率阈值,调整倾斜文字的检测能力。
    ycenter_ths
    文字中心对齐阈值。
    height_ths
    高度比阈值,过滤异常文字块。
    width_ths
    宽度比阈值,过滤异常文字块。
    add_margin
    在检测框周围增加边距,提高截取完整度。
    is_enable
    控制节点是否启用,设为 False 时不会执行文字识别任务。
    暂无节点说明
    节点列表 首页