The method cv2.matchTemplate
gives a translation-invariant template matching on an image, but not scale-invariant.
How to do a scale-invariant (or even rotation-invariant) template matching with Open CV for Python?
Is there a way to use a log-polar FFT template matcher built-in in OpenCV for Python?
(here is a C++ version)
Note:
I'd like to avoid the "simple trick" of matching many times in loop with scaled versions of the same template, as shown in Multi-scale Template Matching using Python and OpenCV
Related: https://answers.opencv.org/question/169613/how-does-macthtemplate-deal-with-scali
https://pypi.org/project/imreg/ is related but no longer developed and with no documentation