Find template matches
VisionConfigured target required
vision.find-template-matchesReturn all local template matches after deterministic non-maximum suppression.
Example use
Find all matching icons in an image and iterate over the returned list.
Node preview
Right-drag to pan and scroll to zoom. Expand inputs and edit parameters to see how ports change. This preview does not run the node; reopening the page restores the example.
Loading node preview…
Data inputs 5
- Source image
imageImage Image to search.
RequiredDefault:None- Template image
templateImage Exact immutable template variant used for this workflow.
RequiredDefault:None- Search region
regionRegion Ratio or pixel rectangle inside the source image.
Default availableDefault:{"height":1,"unit":"ratio","width":1,"x":0,"y":0}Value format examples
{"height":0.5,"unit":"ratio","width":0.5,"x":0.25,"y":0.25}- Match threshold
thresholdNumber Minimum normalized score from 0 to 1.
Default availableDefault:0.8- Minimum distance
minimum-distanceInteger Minimum pixel distance between retained match centers; 0 uses half the smaller template edge.
Default availableDefault:0- Minimum: -9007199254740991
- Maximum: 9007199254740991
Value format examples
042
Data outputs 1
- Matches
matchesTemplate match Score-sorted list of typed template matches.
Version and node identity
Version 1.0.0
sha256:c0e74aa17aa8d778b1f510b6cbc9dee56e44f9ccf143be9b15ec116781bc5c21