3. The device of claim 1 , where the one or more processors are further to: identify, based on one or more features included in the image data, a document type associated with the image data, and where the one or more processors, when identifying the segment of interest within the image data, are to: identify the segment of interest based on the document type.
1. A device, comprising: one or more memory devices; and one or more processors, communicatively connected to the one or more memory devices, to: receive image data representing a document, the document including: text, and a plurality of edges; identify, based on the plurality of edges, a segment of interest within the image data; crop the segment of interest to obtain a portion of the image data; perform optical character recognition on the portion of the image data, the optical character recognition producing recognized text; obtain, based on the recognized text, validation data, the validation data including verification text; determine whether the recognized text is verified based on the verification text, the recognized text including a recognized account identifier, the recognized account identifier being compared to a corresponding account from a database, information from the corresponding account being compared to other information recognized in the image data to determine whether the recognized account identifier is accurate; and perform an action based on a result of the determination.