Nodes/comfyui-dsocr-bbox/RapidOCR Text Mask (PP-OCR)
ComfyUI Node

RapidOCR Text Mask (PP-OCR)

Runs PP-OCR models through RapidOCR ONNXRuntime and turns every text detection into a standard ComfyUI MASK. CUDA requires onnxruntime-gpu.

By maomaozi·Created about a month ago·Updated about a month ago· 0
RapidOCR Text Mask (PP-OCR)
  • image
  • mask
  • detections_json
speed_profilebalanced
minimum_confidence0.72
padding8
mask_shapepolygon
acceleratorauto
cpu_threads0
invert_maskfalse
CategoryDeepSeek OCR

Inputs (8)

NameTypeDefaultDescription
imageIMAGE
speed_profileCOMBObalanced3 options: fast, balanced, thorough
minimum_confidenceFLOAT0.720–1
paddingINT80–256
mask_shapeCOMBOpolygon2 options: polygon, rectangle
acceleratorCOMBOauto3 options: auto, cpu, cuda
cpu_threadsINT00–128
invert_maskBOOLEANfalse

Outputs (2)

NameTypeDescription
maskMASK
detections_jsonSTRING