A study of the selection and recognition of handprinted characters