* This example program checks the right position of a label on
* a shampoo bottle.
* First, two shape models for the bottle and the label are created.
* Then, the models are searched in a sequence of images,
* and it is checked, if their relative position is within the
* a shampoo bottle.
* First, two shape models for the bottle and the label are created.
* Then, the models are searched in a sequence of images,
* and it is checked, if their relative position is within the
* specified tolerances.
检查标签在沐浴露瓶子上的位置是否正确
第一步,创建两个模板,一个是瓶子的,另一个是标签的
然后,通过匹配检查他们的相对位置是否在规定的范围