Save Image

Description

Saves images to a specified path in real-time.

Overview

Saves images in real time.

Scenarios

  • When saving image results after algorithm processing (e.g., detection overlay images, segmentation result images) for quality inspection records

  • When building image datasets by batch collecting each frame with timestamped archiving

  • When deployed on an industrial PC that needs to upload image data to a server in real time

Inputs and Outputs

Inputs

Image: Input image. Supports any image data type.

Enable Switch: Enables the node function. Default is True. If the input is False, no data will be saved.

Outputs

File Name: The base file name used for this save operation (without extension). Outputs null when the enable switch is False or there is no valid input.

Parameters

Initialization Parameters

Save to FTP

Description

Main switch for background FTP upload functionality.

Tuning Instructions

  • False (Default): Saves files locally only.

  • True: Attempts to upload to the specified FTP server after local save.

Parameter Range

Default: False

Delete Local Data

Description

Handles local files after a successful FTP upload.

Tuning Instructions

  • True (Default): Deletes local file after sync to save space.

  • False: Retains both local and remote copies.

Parameter Range

Default: True

FTP IP Address

Description

IP address of the FTP server.

Parameter Range

Default: 192.168.33.18

FTP Port

Description

Listening port number of the FTP service.

Parameter Range

Default: 8089

FTP Username

Description

Username for FTP server login.

Parameter Range

Default: admin

FTP Password

Description

Password for FTP server login.

Parameter Range

Default: qy123456

FTP Directory

Description

Target storage directory on the FTP server.

Parameter Range

Default: data

Run Parameters

Save Path

Description

Used to specify the target folder path for saving files.

Tuning Instructions

If no path is entered, the operator will by default save to the ATOM cache directory.

Save Name

Description

Specifies the name prefix of the saved file, without the file extension.

Tuning Instructions

It is recommended to use a descriptive name to facilitate subsequent retrieval and management. Default name: data

Parameter Range

Default: data

Save Single File Only

Description

Sets the file saving strategy: save as a single file or multiple files.

Tuning Instructions

  • False (Default): Automatically appends a timestamp to the filename (e.g., data_20231027120000_z.tiff) to avoid overwriting.

  • True: Uses the fixed name prefix, overwriting existing files and only keeping the result of the last execution.

Parameter Range

Default: False

Max Storage Memory

Description

Sets the maximum total size of files allowed in the save directory. When the limit is exceeded, the software deletes the oldest files of the same type.

Tuning Instructions

Range: [0.00001, 10] GB, Default value: 10 GB.

Parameter Range

Values/Range: [1e-05, 4000.0]

Default: 10.0

Unit: GB