Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Just apply a threshold on results.argmax(), i.e. if it is above a certain threshold then assume you have found a match. Afaik, if the size of the image you are searching is equal in the searched images, then you can even set the threshold to 1.0, otherwise pick a lower one.