Draw Detections
This function block is designed to visually mark detected objects on an image. It draws rectangles around specified coordinates and annotates them with text indicating the detection status (e.g., "Ok" or "Nok").
📥 Inputs
Image
The image on which the detections will be drawn.
Coordinate_List
A list containing the coordinates for the rectangles that will be drawn around detected objects. Coordinates should be provided as pairs.
Object_Count
A list indicating the count of objects detected at each specified coordinate.
Trigger
A boolean input that, when activated, will trigger the drawing process.
📤 Outputs
Result Image
The output image with the drawn rectangles and annotations.
🕹️ Controls
There are no specific controls in the UI for this function block; it operates based on the provided inputs.
🎨 Features
Visual Annotations
Draws rectangles and provides text feedback directly on the image to easily identify detection results.
Flexible Input Structure
Can accept lists of coordinates and object counts in a variety of structures, making it adaptable to different scenarios.
📝 Usage Instructions
Connect Input Image: Connect an image to the
Image
input where detections should be displayed.Specify Detections: Provide a list of coordinates via the
Coordinate_List
input, where each coordinate is a pair marking the corners of a rectangle.Object Count: Connect a corresponding list of object counts to the
Object_Count
input.Activate Trigger: Send a
Trigger
signal to begin the drawing process. If this signal is not activated, no drawing will occur.
📊 Evaluation
Upon evaluation, this block outputs the modified image with rectangles and text indicating the detection results based on the provided coordinates and counts.
💡 Tips and Tricks
🛠️ Troubleshooting
Last updated