Just want to clear out my confusion. I've tested openCV template matching method to match some numbers. First I have this sequence of number 0 1 2 3 4 5 1 2 3 4 5 (after binarization probably the character width is different). How does template matching works to match number '1'? Does it;
slides through all the window until it found 2 matches (2 output), or stop after it match the first '1', or find the highest correlation between the two number '1' and choose either one.