Match Anything (ELOFTR)
This function block performs keypoint matching between two images and returns matched keypoints and confidence scores. It can optionally draw matches as a visualization image for quick inspection.
π₯ Inputs
Image A The first image to be matched.
Image B The second image to be matched.
π€ Outputs
Visualization An annotated image showing matched keypoints and connecting lines (generated only when this output is connected).
Keypoints A List of keypoint coordinates detected in Image A.
Keypoints B List of keypoint coordinates detected in Image B.
Scores Matching confidence scores for each keypoint pair.
πΉοΈ Controls
Show Matches Toggle to draw lines between matched keypoints on the Visualization image.
Threshold Slider to set matching threshold (0β100). Higher values filter out lower-confidence matches.
π― Features
Matches keypoints between two images and provides per-match confidence scores.
Optional visual output that concatenates images and draws keypoints and matching lines.
Threshold control lets you tune precision vs recall of matches.
Uses available hardware (CPU or GPU) to run inference when supported.
π How it runs
Provide two images to
Image AandImage B.The block computes matching keypoints and scores between the images.
If the
Visualizationoutput is connected, an annotated image showing keypoints and (optionally) connecting lines will be produced.Keypoints A,Keypoints B, andScoresreturn lists that can be consumed by downstream blocks.
π‘ Tips and Tricks
Use
Image Resizebefore this block to bring both images to comparable sizes for more stable matching.If your source images are low resolution, try preprocessing with
Super Resolutionto improve keypoint quality.To inspect the output visually, connect
Visualizationto aShow Imageblock for a full-size viewer.Use
Image ROI Selectto focus matching on a region of interest and reduce spurious matches from irrelevant areas.Export matched keypoints and scores with
Data to JSONorCSV Exportfor logging or further analysis.Combine with
Image Loggerto save visualizations automatically when matches meet a desired condition.
π οΈ Troubleshooting
No matches found: try lowering the
Thresholdto allow more candidate matches, or crop the images withImage ROI Selectto remove clutter.Too many poor matches: raise the
Thresholdto keep only higher-confidence matches.Visualization not generated: ensure the
Visualizationoutput socket is connected β the visual image is created only when requested.Missing dependencies or hardware acceleration: this block requires model runtime packages and will run on CPU; if GPU acceleration is expected but not used, check your system GPU availability and the environment where the application runs.
Last updated