Text this: An invariant approach to statistical analysis of shapes