🔶Save Detection Results

Function Description

This operator is used to save detection results (JSON files) generated during image detection workflows and corresponding original images (multiple PNG images packaged into a ZIP file) to a specified local location. The data can be directly uploaded to annotation websites for use.

Usage Scenarios

Save detection result data for upload to annotation websites as original data for subsequent manual fine annotation or adjustment.

Input Output

Input

Detection Results :Detection results output from upstream detection operators, containing target category names, polygon lists, bounding boxes, confidence scores, and other information.

Image :Original input image corresponding to the detection results. The operator will save this image together with the detection results. If multiple images are input, by default only the first image is processed and saved.

Output

Save Path :Outputs the absolute folder path after successfully saving data.

Parameter Description

Save Path

Parameter Description

Used to specify the target folder path for file saving.

Parameter Adjustment

  • Specify Path: Directly input a valid folder path, or click the icon on the right to select a folder path.

  • No Path Specified: Leave the path empty, and the operator will default to creating a file_save_dir subfolder in the .transfertech atom folder as the storage path. This is convenient for temporary saving or when you don’t care about the specific storage location.

Path Check: The operator will check whether the specified path is valid. If the path points to an existing file (rather than a folder) or the path is invalid, the operator will report an error. If the specified path doesn’t exist, it will attempt to create it.

Save Name

Parameter Description

Specify the save file name, no need to include file extension.

Parameter Adjustment

It’s recommended to use descriptive names for easy subsequent retrieval and management, avoiding special characters.

Default Name: data

Save Single File Only

Parameter Description

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

Parameter Adjustment

  • Disable (Default): Generate multiple files, automatically add timestamps after the specified filename to avoid duplicate names, suitable for scenarios that need to record historical data or multiple run results.

  • Enable: The operator will attempt to use the specified name as the filename to save data each time it runs. If the file already exists, new data will overwrite the old file. Suitable for scenarios that need fixed filename output, such as overwriting previous results.

Maximum Storage Memory

Parameter Description

Sets the maximum total size allowed for files stored in the save directory. When the total size of related files in the folder exceeds this limit, the software will attempt to delete the earliest created files of the same type in that directory to free up space.

Parameter Adjustment

Please set this value based on available disk space and data retention requirements:

  • Smaller Value: Will delete old files more frequently, saving disk space, but may cause historical data to be lost more quickly.

  • Larger Value: Allows saving more historical data, but will occupy more disk space.

Parameter Range

[0.00001, 10], Default: 10, Unit: GB

Enable Smoothing

Parameter Description

Controls whether to apply smoothing processing to polygon contours in the input detection results, only for polygons with more than 4 vertices.

Parameter Adjustment

  • Enable (Default): Attempt to smooth polygon edges, usually used to reduce redundant control points for easier subsequent manual annotation adjustment.

  • Disable: Directly use original, unmodified polygon vertex data.

Annotation Smoothing Parameter

Parameter Description

Controls the intensity of polygon contour smoothing processing, determining the precision of contour approximation.

Parameter Adjustment

  • Larger Value: Fewer polygon vertices. Appropriately reducing vertex count can facilitate subsequent manual annotation adjustment; too few vertices will lose significant details, causing excessive deviation from the original polygon contour. If the vertex count after smoothing is too few (less than 3), the operator will attempt to use the minimum bounding rectangle as the contour.

  • Smaller Value: More polygon vertices, contour closer to original detection results. However, values that are too small may result in retaining too many vertices, making manual adjustment more difficult.

Parameter Range

[0.01, 50], Default: 1