How to get tracking confidence from KCF Tracker in opencv-contrib-python?

Viewed 190
1 Answers

For some reason, that value is not shared. As you pointed out, you can see in the OpenCV source that the value is calculated in a local max_val variable and not persisted or shared in any way. Of course, you could edit the code to save max_val in some public class variable, and then re-compile, if you want to go to that much trouble.

Related