A mobile terminal comprising: a main body; a camera mounted in the main body and configured to capture an external environment; a display unit configured to display an image obtained by the camera in real time; a sensing unit configured to sense a motion of the main body while the camera is activated; a memory configured to store therein the image displayed on the display unit in response to a capture control command being applied; characterized by a controller configured to: when a moving path of the motion of the main body forms a continuous virtual track having a curved shape while displaying the image, determine whether or not a virtual central point of the virtual track is included in a capturing region of the camera based on a capturing direction of the camera; generate object-oriented images (620, 621) displayed on the display unit when the virtual central point is included in the capturing region of the camera; and generate a panoramic image formed by continuous images displayed on the display unit when the virtual central point is not included in the capturing region of the camera; and control the display unit to output one image of the object-oriented images or the panoramic image, wherein the panoramic image is obtained by capturing and processing a plurality of images of the external environment in the capturing direction, wherein the object-oriented images are obtained by capturing a specific object included in the image at multiple angles, wherein the one image of the object-oriented images which is captured at a specific angle is changed into another image of the object-oriented images which is captured at a different angle in response to a touch input applied to the display unit while displaying the one image of the object-oriented images. a main body; a camera mounted in the main body and configured to capture an external environment; a display unit configured to display an image obtained by the camera in real time; a sensing unit configured to sense a motion of the main body while the camera is activated; a memory configured to store therein the image displayed on the display unit in response to a capture control command being applied; characterized by a controller configured to: when a moving path of the motion of the main body forms a continuous virtual track having a curved shape while displaying the image, determine whether or not a virtual central point of the virtual track is included in a capturing region of the camera based on a capturing direction of the camera; generate object-oriented images (620, 621) displayed on the display unit when the virtual central point is included in the capturing region of the camera; and generate a panoramic image formed by continuous images displayed on the display unit when the virtual central point is not included in the capturing region of the camera; and control the display unit to output one image of the object-oriented images or the panoramic image, wherein the panoramic image is obtained by capturing and processing a plurality of images of the external environment in the capturing direction, wherein the object-oriented images are obtained by capturing a specific object included in the image at multiple angles, wherein the one image of the object-oriented images which is captured at a specific angle is changed into another image of the object-oriented images which is captured at a different angle in response to a touch input applied to the display unit while displaying the one image of the object-oriented images. when a moving path of the motion of the main body forms a continuous virtual track having a curved shape while displaying the image, determine whether or not a virtual central point of the virtual track is included in a capturing region of the camera based on a capturing direction of the camera; generate object-oriented images (620, 621) displayed on the display unit when the virtual central point is included in the capturing region of the camera; and generate a panoramic image formed by continuous images displayed on the display unit when the virtual central point is not included in the capturing region of the camera; and control the display unit to output one image of the object-oriented images or the panoramic image, wherein the panoramic image is obtained by capturing and processing a plurality of images of the external environment in the capturing direction, wherein the object-oriented images are obtained by capturing a specific object included in the image at multiple angles, wherein the one image of the object-oriented images which is captured at a specific angle is changed into another image of the object-oriented images which is captured at a different angle in response to a touch input applied to the display unit while displaying the one image of the object-oriented images.