1. An image processing apparatus comprising: a detection unit configured to detect a predetermined image in a captured image; determination unit configured to determine, based on a position of the predetermined image detected by the detection unit, a position regarding setting of image analysis processing; and a setting unit configured to perform, based on the position determined by the determination unit, setting regarding the image analysis processing to be performed on an image of a monitoring target range, wherein the image analysis processing includes detection processing to detect an event, regarding an object different from the predetermined image, at the determined position.