I am using opencv 3.2. I want to cut out a part from the outline of the object and use it as a template, and I want to find it from the query image.
for example:
I use the positional relationship between the center of gravity of the outline and the contour point as a template and I am looking for a matching part from the query image.(I think that it is a childish way) However, as objects rotate, the number of contour points will vary, so matching may not work.
I would like advice on how to realize robust contour point matching. I also would like to give advice on how to measure similarity.