An object detection method includes inputting an input image to a learned machine learning model and generating a similarity image from an output of at least one specific layer, and generating a discriminant image to which at least an unknown label is assigned, by comparing a similarity of each pixel in the similarity image to a predetermined threshold value.
OBJECT DETECTION METHOD, OBJECT DETECTION APPARATUS, AND NON-TRANSITORY COMPUTER-READABLE STORAGE MEDIUM STORING COMPUTER PROGRAM