--Greetings, we're using SciKit template_matching and getting confidence values > 3. Does that make sense?A simple example with test images is attached.Thanks for the fine work!import numpy, sysfrom skimage import datafrom skimage import iofrom skimage.feature import match_templatedef containsLikelyhood(needleLoc, haystackLoc):haystack = data.imread(haystackLoc, as_grey=True)needle = data.imread(needleLoc, as_grey=True)greyLoc = match_template(haystack, needle)ij = numpy.unravel_index(numpy.argmax(greyLoc), greyLoc.shape)x, y = ij[::-1]height, width = needle.shapereturn greyLoc[y][x], (x, y, width, height)if __name__ == "__main__":print containsLikelyhood("locatedStar.PNG", "screenshot.PNG")
You received this message because you are subscribed to the Google Groups "scikit-image" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.