1 | initial version |
it's not about thresholding images, but about setting a maximal threshold number for the prediction distance.
if the found distance from the prediction distance is larger, than your threshold value, the prediction willl return -1 (for not regognized) as id.
(understandable confusion, but threshold can mean a couple of things in cv)