1. An image processing apparatus comprising: a unit that sequentially acquires an image of each frame output from an image sensing device; a detection unit that recognizes a situation appearing in the image, through recognition processing performed on the image, and, if the recognized situation is a prescribed situation, detects an object of a type related to the prescribed situation from the image and from an image of each frame containing the image; and a determination unit that determines whether objects come in contact with each other in a physical space, based on a result of the detection by the detection unit.