running video file with several thousand frames. matchTemplate crashes only on the first time i call it, then runs fine every time afterwards. first time called, Live and template are two different frames. attached screenshots of input images, error messages. have had this behavior for months -- sometimes shows up sometimes program runs without the crash. suggestions what i can look at, tweak, etc.
[C:\fakepath\Capture2.GIF](/upfiles/1464020655627660.gif)
..
----------
[ screenshot failed to capture green arrow showing matchTemplate was the culprit]
[C:\fakepath\Capture1.GIF](/upfiles/14640210367759221.gif)
↧