1. An information processing apparatus comprising: a reception unit configured to receive a designation of a position in a wide range captured image captured by an image capture apparatus that has an optical system for capturing the wide range captured image; a generation unit configured to generate a corrected partial region image that is obtained by performing a distortion correction, that reduces a distortion due to the optical system of the image capture apparatus, on a partial image corresponding to the position designated on the wide range captured image; and a setting unit configured to set a passage detection line, for detecting a passage of a moving object, on the corrected partial region image in accordance with a designation by a user.