1. A computer-implemented method for generating control commands for an electronic device, the method comprising: generating a depth map of a physical scene; determining that a head of the user is directed towards a predetermined direction; establishing a predetermined virtual sensing zone defined between the user and a predetermined location, the predetermined virtual sensing zone being located in front of the user; activating the predetermined virtual sensing zone in accordance with the determining; identifying a particular gesture made by the user within the predetermined virtual sensing zone when the predetermined virtual sensing zone is in an active state; and selectively providing to the electronic device a control command associated with the particular gesture.