Text this: Fast shape recognition through dual constraint reduction and adaptive orthogonal wavelet transform.