Step-by-step explanation:
Template matching is the process by which the mind identifies objects by comparison to [a particular kind of] stored mental representation. According to the theory, the mind carries around a vast storehouse of images that can be compared with visual input. An object is identified by "matching" the mental image.