Appearance
Resize Image
Overview
This node changes the resolution of an image to specific dimensions. It's often used to prepare data for model inputs or to standardize display sizes on a dashboard.
Use Resize Image when:
- An AI model requires a fixed input resolution (e.g., 640x480).
- You want to reduce bandwidth usage for reporting.
⚠️ Warning
Be mindful of the aspect ratio. If the new dimensions don't match the original ratio, the image may appear stretched.
Inputs
| Name | Type | Description |
|---|---|---|
| image | image | The original image to be resized. |
Outputs
| Name | Type | Description |
|---|---|---|
| resized_image | image | The resulting image after resizing. |
Parameters
| Parameter | Default | Valid values | Unit | Tunable |
|---|---|---|---|---|
| Width | 640 | integer | px | ✅ |
| Height | 480 | integer | px | ✅ |
Width
Sets the target width of the image in pixels.
Height
Sets the target height of the image in pixels.
Example
Downscale for AI processing
A high-resolution 4K camera stream is downscaled to 640x480 to meet the input requirements of a AI model node.
Configuration:
- Width:
640 - Height:
480
Result: The model receives an image of the correct size for efficient inference.
Related links
Reference:
- Crop Image — cutting out image sections
- Rotate Image — changing image orientation