A non-transitory computer-readable storage medium storing a position detection program which causes a processor to perform processing for object recognition, the processing includes: acquiring a plurality of pieces of three-dimensional data of simple shapes that are not similar to each other; carrying out learning by using the plurality of acquired pieces of data; acquiring an image obtained by imaging by an imaging unit; and detecting a position of an object from the acquired image by using a first learning model generated based on the learning.
Non-transitory computer-readable storage medium for storing position detection program, position detection method, and position detection apparatus