Method and system for gesture based control device
The present disclosure relates to gesture based control of an electronic device and in particular to a method and system for gaining control over the electronic device.
1. A method for controlling an electronic device connected to a control unit, which is connected to at least one sensor, the electronic device being configured to be controlled, via the control unit, by gestures of an object being sensed at a distance from the at least one sensor, the method comprising the steps of:
sensing, by the at least one sensor, a first gesture input from a first object,
checking, by the control unit, whether the first gesture input corresponds to a first predetermined gesture of gaining control of the electronic device, and if the first gesture input corresponds to the first predetermined gesture,
approving, by the control unit, the first object to gain control over the electronic device,
sensing, by the at least one sensor, a second gesture input from a second object different from the first object,
ignoring, the control unit, the second gesture input from the second object as long as the first object is in control over the electronic device.
2. The method according to claim 1 , wherein the first object is in control over the electronic device, the method further comprising the steps of:
sensing, by the at least one sensor, a third gesture input from the first object,
checking, by the control unit, whether the third gesture input corresponds to a second predetermined gesture of releasing control of the electronic device, and if the third gesture input corresponds to the second predetermined gesture,
releasing, by the controlling unit, the first object from the control over the electronic device.
3. The method according to claim 2 , wherein the first object is not in control over the electronic device, the method further comprising the steps of:
sensing, by the at least one sensor, a fourth gesture input from a second object,
checking, by the control unit, whether the fourth gesture input corresponds to the first predetermined gesture of gaining control of the electronic device, and if the fourth gesture input corresponds to the first predetermined gesture,
approving, by the control unit, the second object to gain control over the electronic device.
4. The method according to claim 1 , wherein after step of approving, by the control unit, the first object to gain control over the electronic device, the method further comprising the steps of:
determining, by the control unit, a position in 3D space for the first gesture input,
setting, by the control unit, the position in 3D space as an origin in a 3D coordinate system,
using, by the control unit, the 3D coordinate system and further gesture inputs from the first object for controlling the electronic device.
5. The method according to claim 1 , wherein the first object comprises two objects, and wherein the first predetermined gesture and the second predetermined gesture, if applicable, corresponds to a gesture input of both said two objects.
6. The method according to claim 1 , wherein the first predetermined gesture comprises a predetermined gesture corresponding to a gesture input from a single object and a predetermined gesture corresponding to a gesture input from two objects, and wherein the second predetermined gesture, if applicable, comprises a predetermined gesture to be performed by a single object and a predetermined gesture to be performed by two objects.
7. A non-transitory computer program product comprising a non-transitory computer-readable storage medium with instructions adapted to carry out the method of claim 1 when executed by a device having processing capability.
8. A system for controlling an electronic device, the system comprising:
a control unit,
at least one sensor configured to sense gesture inputs from an object at a distance from the at least one sensor,
a memory configured to store a first predetermined gesture of gaining control of the electronic device,
the electronic device being configured to be controlled, via the controller unit, by gesture inputs sensed by the at least one sensor,
wherein, in response to a first gesture input, from a first object, being sensed by the at least one sensor, the control unit is configured to check whether the first gesture input corresponds to the first predetermined gesture stored in the memory, and, if the first gesture input corresponds to the first predetermined gesture, to approve the first object to gain control over the electronic device,
wherein in response to a second gesture input, from a second object different from the first object, being sensed by the at least one sensor, the control unit is configured to ignore the second gesture input from the second object as long as the first object is in control over the electronic.
9. The system according to claim 8 , wherein the first object is in control over the electronic device, wherein the memory is further configured to store a second predetermined gesture of releasing control of the electronic device, wherein, in response to a second gesture input, from the object, being sensed by the sensor, the control unit is configured to check whether the third gesture input corresponds to the second predetermined gesture, and if the third gesture input corresponds to the second predetermined gesture, to release the first object from the control over the electronic device.
10. The system according to claim 9 , wherein the first object is not in control over the electronic device, wherein, in response to a fourth gesture input, from the second object, being sensed by the sensor, the control unit is configured to check whether the fourth gesture input corresponds to the first predetermined gesture of gaining control of the electronic device, and if the fourth gesture input corresponds to the first predetermined gesture, to approve the second object to gain control over the electronic device.
11. The system according to claim 8 , wherein the control unit has approved the first object to gain control over the electronic device, the control unit is configured to
determine a position in 3D space for the first gesture input,
set the position in 3D space as an origin in a 3D coordinate system,
and
use the 3D coordinate system and further gesture inputs from the first object for controlling the electronic device.
12. The system according to claim 8 , wherein the first object comprises two objects, and wherein the first predetermined gesture and the second predetermined gesture, if applicable, corresponds to a gesture input of both said two objects.
13. The system according to any of claim 8 , wherein the first predetermined gesture comprises a predetermined gesture corresponding to a gesture input from a single object and a predetermined gesture corresponding to a gesture input from two objects, and wherein the second predetermined gesture, if applicable, comprises a predetermined gesture to be performed by a single object and a predetermined gesture to be performed by two objects.