Line Detector
This function block is for detecting lines in images using different line detection techniques. It provides options to select the detection method and to configure parameters that affect line detection.
📥 Inputs
Image Any
The input image in which lines will be detected.
📤 Outputs
Lined Image
The output image with detected lines drawn on it.
Number of Lines
The total count of lines that were detected in the input image.
Lines
Provides the coordinates of the detected lines, which can be used for further processing.
🕹️ Controls
Line Detection Type
A dropdown menu to select the detection method: either "Deterministic" or "Probabilistic".
Confidence
A slider to set the sensitivity threshold for the line detection process.
Min. Line Gap
A slider to set the minimum distance between detected line segments (applicable for the Probabilistic method).
Max. Line Gap
A slider to define the maximum distance between segments to treat them as a single line (applicable for the Probabilistic method).
🎨 Features
Two Line Detection Methods
Users can choose between two line detection methods, allowing flexibility based on the image content.
Dynamic Parameter Adjustment
Adjustability of parameters like confidence and gaps provides control over the line detection process to cater for various types of images.
Visual Output
Lines detected are visually represented on the output image, making it easy to analyze results.
📝 Usage Instructions
Input an Image: Connect any image to the
Image Any
input.Select Detection Method: Choose between "Deterministic" or "Probabilistic" from the
Line Detection Type
dropdown.Adjust Parameters: Use the sliders to set confidence, minimum line gap, and maximum line gap according to your requirements.
Run the Block: Evaluate the block to detect lines in the image.
📊 Evaluation
Upon evaluation, the function block processes the input image for line detection based on the specified parameters, returning the modified image, line count, and detected line coordinates.
💡 Tips and Tricks
🛠️ Troubleshooting
Last updated