Text this: Moments and moment invariants in pattern recognition