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 an analysis processing result including information related to at least an object direction of an object detected from a plurality of images; a designation task that designates a type of a target object; and a determination task that determines, from among the plurality of images processed to obtain the analysis processing result, at least one image applied to detection processing of the target object corresponding to the type designated by the designation task and the information related to at least the object direction of the object included in the analysis processing result acquired by the acquisition task.