1. A system for error detection, comprising: a non-transitory memory device for storing computer-readable program code; and a processor in communication with the memory device, the processor being operative with the computer-readable program code to perform operations comprising: preparing a training set based on at least a first set of recognition data associated with a first sensor, wherein the first set of recognition data comprises records that store recognized identifiers associated with vehicles, training a confusion matrix based on the training set, detecting at least one erroneous record in a second set of recognition data associated with the first sensor wherein the second set of recognition data comprises records that store recognized identifiers associated with the vehicles, and determining correction of the erroneous record by comparing similarity with records associated with other sensors using the trained confusion matrix; wherein: the training set is prepared by: identifying, based on at least one predetermined abnormal pattern, an erroneous record from the first set of recognition data that is likely to be falsely recognized, the at least one predetermined abnormal pattern specifying a pre-determined frequency for a record within a pre-determined amount of time; and pairing the identified erroneous record with a nearby matching record that provides a true value; the nearby matching record is identified using a search criteria that ensures that the erroneous record and the matching record are captured within a predetermined time interval, the erroneous record and the matching record are captured by sensors that are within a predetermined, yet geographically disparate distance along key road segments, and the erroneous record and the matching record are substantially similar.