Abstract:
An electronic device and a method for controlling the same are provided. The method includes obtaining a depth image using a depth camera, extracting a hand area including a hand of a user from the obtained depth image, modeling fingers and a palm of the user included in the hand area into a plurality of points, and sensing a touch input based on depth information of one or more of the plurality of modeled points.