1. A method for matching a learned object with a target object, the method comprising using a computer to perform the steps of: providing at least one learned object and at least one target object, wherein the learned object and the target object include at least one line segment; selecting the at least one line segment from the at least one learned object; determining an amount of translation, rotation, and scaling needed to transform the selected at least one line segment of the learned object to have one or more lines substantially the same size as the at least one line segment in the target object; and determining if the learned object matches the target object based at least in part on the step of determining the amount of translation, rotation and scaling needed to transform the selected at least one line segment of the learned object to have one or more line segments substantially the same size as the at least one line segment in the target object.