Read Color Image

Description

Reads local color image files or folders.

Overview

Reads local color images.

Scenarios

  • When the pipeline needs to load a color image from disk as input

  • When batch processing multiple color images in a folder, feeding them one by one to downstream nodes

  • During debugging when repeatedly testing with the same image or image set

Inputs and Outputs

Inputs

Empty Input: Enable at least one input mapping on this node if you want it and downstream nodes to run with the graph.

Outputs

Color Image: The loaded BGR 3-channel color image.

Parameters

Enable Directory Mode

Description

Switches the data reading mode between single-file mode and folder mode.

Tuning Instructions

  • Disabled (Default): Reads data from a single uploaded file.

  • Enabled: Reads one or more files from the specified folder. Directly input the local folder path, or click the button on the right to select a folder in the file window. By default, files in the folder are read sequentially and cyclically with each execution.

Parameter Range

Default: False

Color Image File

Description

Path to the file to be read.

Tuning Instructions

Select the specific file to read.

Parameter Range

Values/Range:

  • .jpg

  • .png

  • .jpeg

Color Image Folder

Description

Path to the folder to be read.

Tuning Instructions

Select the folder containing the files to read.