I see a few possibilities.
If you save your stopped image as a jpeg, then load it to create the template, you will have lost a lot of important image information. The template would be low quality in this case. If you have to save an image, use a lossless format (bmp, png, tiff) instead of jpg.
The moving image has some blur due to the motion. This blur is probably confusing the pattern matching some. It may not look like much, but to the pattern matching algorithm it is significant.
One possible solution would be brighter lighting and a faster shutter speed. This would reduce the motion blur and improve pattern matching.
Another possible solution would be training the pattern matching from a moving image. This way, the two images would match better.
In LabVIEW, you can tweak the pattern matching settings using the Advanced Settings vis. There are three settings for the mode: aggressive, normal, and conservative. Normal is the default, but you will frequently get much better results if you switch to conservative.
Bruce
Bruce Ammons
Ammons Engineering