<p>An air conditioner provided with an image-capturing device for detecting whether or not an obstacle is present, wherein the image-capturing device determines, separately from walls present around a region to be air conditioned, whether or not an obstacle is present in each of divided, obstacle position-determining regions.</p>