<p>An air conditioner is provided to the indoor unit with an air flow direction-changing blade which changes the direction of air discharged from the outlet opening, and also with an image-capturing device which is provided with an obstacle-detecting means for detecting whether or not an obstacle is present, and the air conditioner performs air-conditioning operation by controlling the air flow direction-changing blade on the basis of the result of the detection by the obstacle-detecting means. Obstacles are divided into at least two or more groups according to the heights of the obstacles measured from the floor surface, and the air flow direction-changing blade is controlled according to the heights.</p>