ComfyUI Node
CV EAST Text Detect
Detects scene text with the EAST CNN (cv2.dnn). Place the .onnx model in ComfyUI/models/onnx (e.g. east_text_detection_2026jul.onnx). Outputs axis-aligned bboxes (for the core 'Draw BBoxes' node), rotated quads (Nx4x2 corner points for 'CV Draw Polygon'), and scores. Zero detections is a valid result (empty outputs).
CV EAST Text Detect
- image
- bboxes
- quads
- scores
- det_count
◄model▾►
◄conf_threshold0.50►
◄nms_threshold0.40►
◄input_size320►
Categoryimage/CV/dnn
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image | NPARRAY,IMAGE | Input image. An IMAGE batch is processed frame by frame; an NPARRAY (BGR/RGB/gray, any dtype) is treated as one frame. Accepts a ComfyUI IMAGE/MASK directly (frame 0 of a batch) or an NPARRAY. Arithmetic ops (add, multiply, etc.) process the full IMAGE batch when both inputs have the same batch size. | |
| model | COMBO | EAST .onnx model from ComfyUI/models/onnx. | |
| conf_threshold | FLOAT | 0.500–1 | Minimum confidence to keep a detection. Lower detects more (and more false positives). |
| nms_threshold | FLOAT | 0.400–1 | Non-maximum suppression IoU threshold for merging overlapping text boxes. |
| input_size | INT | 320320–1024 | Square input size for the network. Larger is more accurate but slower. 320 matches the reference demo. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| bboxes | BOUNDING_BOX | Axis-aligned {x, y, width, height, score, label} dicts - feed the core 'Draw BBoxes' node for a quick preview. |
| quads | NPARRAY | (N, 4, 2) float32 rotated corner points per detection. Feed into 'CV Draw Polygon' for precise rotated outlines (set thickness=0 for filled polygons or a mask). |
| scores | NPARRAY | (N,) float32 confidence per detection, same order as bboxes. Empty (0,) when nothing is detected. |
| det_count | INT | Total number of text regions detected. |