Find a smaller image within another big one and fast

后端 未结 1 1434
闹比i
闹比i 2021-01-13 23:08

Anyway to make this thing go faster ? coz right now it\'s like 6 seconds on the sourceImage the size of 1024x768 and template 50x50 around. This is using AForge, if anyone k

相关标签:
1条回答
  • 2021-01-13 23:48

    http://opencv.willowgarage.com/wiki/FastMatchTemplate - here you can find interesting idea for speeding up the template matching using two steps, first try to match downsampled images and when found match the original ones with smaller search region.

    Also there is opencv implementation of template matching in matchTemplate function. This function is ported to GPU which can get significant speed up.

    See the following

    http://opencv.willowgarage.com/documentation/cpp/object_detection.html - matchTemplate function. http://opencv.willowgarage.com/wiki/OpenCV_GPU - about OpenCV functionality ported to GPU.

    0 讨论(0)
提交回复
热议问题