You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-4Lines changed: 9 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# Multi-Template-Matching
1
+
# Multi-Template-Matching
2
2
Multi-Template-Matching is a package to perform object-recognition in images using one or several smaller template images.
3
3
The template and images should have the same bitdepth (8,16,32-bit) and number of channels (single/Grayscale or RGB).
4
4
The main function `MTM.matchTemplates` returns the best predicted locations provided either a score_threshold and/or the expected number of objects in the image.
@@ -47,9 +47,11 @@ __Returns__
47
47
48
48
The function `findMatches` performs the same detection without the Non-Maxima Supression.
49
49
50
-
## drawBoxes
51
-
The 2nd important function is `drawBoxes` to display the detections as rectangular bounding boxes on the initial image.
The 2nd important function is `drawBoxesOnRGB` to display the detections as rectangular bounding boxes on the initial image.
52
+
To be able to visualise the detection as colored bounding boxes, the function return a RGB copy of the image if a grayscale image is provided.
53
+
It is also possible to draw the detection bounding boxes on the grayscale image using drawBoxesOnGray (for instance to generate a mask of the detections).
0 commit comments