Skip to content

Releases: multi-template-matching/MultiTemplateMatching-Python

Replace with opencv NMS

03 Aug 10:42
Compare
Choose a tag to compare

This version replaces the original hard-coded NMS with the opencv cv2.dnn.NMSBoxes method.
This simplifies the code and improve portability to other programing languages.
Performance-wise it is similar to potentially slightly faster.
The function signature is the same except the default scoreThreshold is now 0.5

Other changes:

  • the method in MTM.NMS PointInRect and computeIoU have been removed (not used anymore for NMS)
  • tutorials updated with timeit benchmarks

Improve versioning

11 May 11:09
Compare
Choose a tag to compare
  • don't mention any opencv in setup.py (more flexible installation)
  • Define MTM version in a single place

Add computeScoreMap method

28 Apr 14:14
Compare
Choose a tag to compare

Add new convenient method computeScoreMap
No other change, no backward compatibility issue

Autocast 16-bit images to 32-bit for matchTemplate

19 Dec 10:06
Compare
Choose a tag to compare

OpenCV match template only support 8-bit or 16-bit images
In Multi-template matching, if both the images and template are 8-bit then the function matchTemplate is called as such.
In all other cases, the template and image are casted to 32-bit to call matchTemplate.

Use pandas for hits

10 Oct 15:54
b1156be
Compare
Choose a tag to compare
1.5.1

fix formating

Add drawBoxesOnRGB

23 Jul 15:03
Compare
Choose a tag to compare

Add methods:

  • drawBoxesOnRGB
  • drawBoxesOnGray

Removed:

  • drawBoxes

Ie clearer what the function produce
drawBoxesOnGray can be used to make mask for instance

Minor improvements

18 Jul 09:44
Compare
Choose a tag to compare
  • format docstring in numpy style
  • Improve doc in the readme
  • drawBoxes now output a RGB image (initial grayscale image are duplicated as RGB)

Initial stable release

16 Jul 14:52
Compare
Choose a tag to compare

Stable release at time of publication