16. The electronic device of claim 14 , wherein the two indicators reflecting the respective positions of both hands are differently displayed.
14. An electronic device for gesture-based key input, comprising: a camera; a display configured to display a virtual keyboard; and a controller configured to: when a typing mode selected from among a single-hand typing mode and a double-hand typing mode is entered, recognize a gesture for an input region on a 3-D space corresponding to the displayed virtual keyboard by analyzing an image obtained through the camera and obtain a key input based on the recognized gesture, when the single-hand typing mode is entered, obtain the key input by recognizing only gesture performed by a first hand from the image, and when the double-hand typing mode is entered, obtain the key input by recognizing a gesture performed by at least one of the first hand and a second hand from the image, wherein: the controller senses a position of a hand within the input region through the camera and displays an indicator at coordinates corresponding to the position of the hand on the virtual keyboard, and the controller displays one indicator, reflecting a position of one hand, when the single-hand typing mode is entered and displays two indicators, reflecting respective positions of both hands, when the double-hand typing mode is entered, when the double-hand typing mode is selected, the input region comprises a first input region and a second input region spatially separated from each other, and the controller displays a first indicator reflecting a position of the first hand, from among the two indicators, on a virtual keyboard corresponding to the first input region and displays a second indicator reflecting a position of the second hand, from among the two indicators, on the virtual keyboard corresponding to the second input region.