1. An information processing apparatus comprising: a recognition unit that has image recognition methods of a plurality of types, the recognition unit recognizing, in a case where image data of a first document and image data of a second document are generated by a generation unit that reads a document and generates image data of the document, the type of the first document from the image data of the first document and recognizing the type of the second document from the image data of the second document using an image recognition method corresponding to the type of the first document among the image recognition methods of the plurality of types, the first document and the second document being included in a plurality of documents.