CPC G06F 3/017 (2013.01) [G06F 3/011 (2013.01); G06F 3/14 (2013.01)] | 20 Claims |
1. An electronic device comprising:
a camera,
a display, and
a processor,
wherein the processor is configured to:
control the display to display a second image cropped from a first image obtained using the camera,
detect a finger object corresponding to a finger in the second image,
identify a position of the finger object in the second image,
determine a degree of bending of the finger object by identifying a distance between points corresponding to predetermined portions of the finger,
identify a first virtual key corresponding to the finger object in a virtual keyboard based on the identified position and the determined degree of bending of the finger object, and
identify an input of the first virtual key based on detecting a typing movement of the finger object.
|