Classification of closed planar shapes can be done by Contour Sequence Moments.
Refer: L.Gupta and M.D.Srinath, (1987), Contour sequence moments for the classification of closed planar shapes,Pattern Recognition 26, 267-272
Article Behavior of Normalized Moments under Distortion and Optimization