1. An image processing apparatus comprising: a hardware processor; and a memory storing instructions executable by the hardware processor, wherein the hardware processor executes the instructions stored in the memory to execute: an acquisition task that acquires information from each of a plurality of images, wherein the information is related to a part of an object detected in each of the plurality of images; a designation task that accepts designation of a type of a target object, wherein the type is related to the part of the object detected in the plurality of images; a selection task that selects, from among the plurality of images, at least one image based on the type designated by the designation task, a detection task that detects the target object with regard to the images selected by the selection task.