Image Logger
The Image Logger function block is designed to save images to a specified folder with a user-defined filename. It maintains a limit on the total number of images stored in the folder, automatically deleting the oldest images as necessary.
📥 Inputs
Folder Path
The path to the folder where images will be saved.
File Name
The base name for the saved image files. Each saved image will append a unique identifier.
Image Limit
The maximum number of images allowed in the specified folder. If the limit is reached, the oldest images will be deleted.
Input Image
The image data that you want to save.
Trigger
A boolean value to initiate the saving process. The image will only be saved when this signal is true.
📤 Outputs
This function block does not produce any outputs.
🕹️ Controls
No specific controls are available in this block—image saving is managed through input parameters and the trigger.
🎨 Features
Dynamic Image Saving
Automatically saves the provided image whenever the trigger is activated.
Image Limit Management
Keeps the total number of images under the specified limit by deleting the oldest images when necessary.
Flexibility
Supports customized folder paths and file names for organized storage.
📝 Usage Instructions
Specify Folder Path: Connect a string containing the path to the folder where you want to save images.
Set File Name: Connect a string specifying the base name for saved image files.
Define Image Limit: Specify the maximum number of images to keep in the folder.
Input Image: Connect the image you wish to save.
Trigger Saving: Send a true signal to the
Trigger
input to save the image.
📊 Evaluation
When activated via the trigger, this function block saves the provided input image to the specified folder with the specified filename. It manages the number of images stored by deleting the oldest files as needed.
💡 Tips and Tricks
🛠️ Troubleshooting
Last updated