Pattern Recognition: Human and Mechanical