1. A method of receiving control instructions for a device, comprising: receiving two or more video frames; analyzing the video frames for at least one foreground image and at least one background image; evaluating each video frame for a two dimensional aspect comprising a first area having a relatively higher channel intensity value in one or more channels than the channel intensity values of a second area; recording coordinates associated with the aspect in each of the video frames; evaluating the coordinates to determine a motion trajectory of the aspect; matching the motion trajectory to a prerecorded motion trajectory in a matching table, wherein the matching table contains associations of motion trajectories and control instructions for a device controlling a visual display; and obtaining the control instruction associated with the prerecorded motion trajectory.