1. An information processing apparatus comprising: a processor that acquires an input image including a marker having a position detection pattern; detects the position detection pattern using identification data for detecting the position detection pattern included in the input image, the identification data being from a plurality of position detection patterns having different forms from each other; extracts, from the input image, the marker corresponding to the detected position detection pattern; reads data associated with the extracted marker; and generates a correct image from a combined image in which pieces of image data of the position detection patterns having different forms and a plurality of background images not including the position detection pattern are combined, stores the generated correct image, generates an incorrect image from the background images not including the position detection pattern, and stores the generated incorrect image, wherein the identification data includes the correct image and the incorrect image, and a position of the position detection pattern included in the input image is detected using the correct image and the incorrect image.