I want to compare two handwriting Chinese characters to get the similarity score(percent). We think that one is the normative writing, and the other is to evaluate the similarity with the normative one.
Handwriting with a higher similarity score should: 1 The structure is most similar to the normative one. 2 Strokes are smooth. 3 Stroke shapes are most similar to the normative one.
The two handwriting characters are in two images with the same size, and all with white background color and black foreground color.
How to get the most accurate similarity score and have a faster speed?
Should I use cvMatchTemplate? and get the similarity score(max_val) with cvMinMaxLoc?
Or use HausdorffDistanceExtractor, and getRankProportion () as the similarity score?
Or use ShapeContextDistanceExtractor, and call computeDistance (img1, img2) to get the distance as similarity? But how to convert it to a percentage form?
Any suggestions would be appreciated.
Thanks!