第三方插件 comfyui_llm_party

EasyOCR高级

EasyOCR高级 209

节点中英文对比

按当前节点配置,分别展示中文与英文节点结构。

中文节点
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

    参数说明

    依据当前节点关联的 `NodesItems` 数据展示输入、输出与控件说明。

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

    详细说明

    结合节点用途、参数和调用方式,给出更完整的说明内容。

    暂无节点说明

    同类节点导航

    继续浏览同一分类下的相邻节点,方便串联学习。