Match Shapes
This function block is used to compare two shapes by analyzing their contours, outputting a resemblance score that indicates how similar the shapes are.
📥 Inputs
Contour
The first contour that you want to compare against another.
Contour
The second contour for similarity comparison.
📤 Outputs
Resemblance
A numerical output (between 0 and 1) indicating the degree of similarity between the two given shapes, where 1 means they match exactly, and 0 means they do not match.
🕹️ Controls
Resemblance
A label that displays the calculated resemblance score between the two input shapes.
🎨 Features
Contour Analysis
The block performs contour analysis to accurately compare and measure the similarity of shapes based on their geometric properties.
Dynamic Output
The score updates in real-time as inputs change, providing immediate feedback.
📝 Usage Instructions
Input Contours: Make sure to connect two contours to the inputs of this function block for comparison.
Run the Block: Execute the block to analyze the shapes.
View Results: Observe the resemblance score displayed in the
Resemblance
label.
📊 Evaluation
When the block is run, it compares the two shapes and returns a resemblance score based on their relative shapes and features.
💡 Tips and Tricks
🛠️ Troubleshooting
Last updated