System and method for simulating a computer mouse
AssigneeChi Mei Communication Systems, Inc.
InventorMeng-Chieh Chou
Life of this patent
Estimating the term…
Abstract
A system and method for simulating a computer mouse uses a camera to capture images of a user's palm on a plane, transfers the images to a computer, analyzes the images to determine movement information of the user's palm, and determines a corresponding mouse operation according to preset associations between movements of the user's palm and operations on mouse buttons. The system and method further execute a computer command corresponding to the mouse operation associated with the movement information of the user's palm, so as to activate a action of a cursor displayed on a display screen of the computer.
Claims20
A mouse simulation system, comprising:
- a memory system;
- at least one processor;
- and
- one or more programs stored in the memory system to be executed by the at least one processor, the one or more programs comprising:
- a reference information reading module to read reference information for simulating a mouse from the memory system, wherein the reference information comprises an effective movement area of the mouse, a visual angle and a resolution of a camera adjustably positioned above the effective movement area on a plane and connected to the at least one processor;
- a parameter determining module to determine a minimum capture area and a lowest adjustable height of the camera from the plane according to the reference information, and determine a length-to-width ratio of images to be captured by the camera according to the resolution of the camera;
- a parameter adjusting module to adjust the minimum capture area to be an effective capture area of the camera according to the length-to-width ratio, adjust the lowest adjustable height to be an effective adjustable height of the camera according to the effective capture area, and prompt a user to position the camera according to the effective adjustable height;
- a setting module to set a time interval for detecting movements of a user's palm in the effective capture area on the plane, and set associations between the movements of the user's palm in the effective capture area and mouse operations of the mouse;
- an image processing module to read consecutive images of the user's palm in the effective camera area captured by the camera during the time interval, and convert the consecutive images to binary images;
- a movement determining module to determine movement information of the user's palm according to differences in the binary images, and determine a mouse operation associated with the movement according to the preset associations;
- and
- a command executing module to execute a computer command corresponding to the mouse operation, so as to active a corresponding movement of a cursor on a display screen of connected to the at least one processor.
A computer-implemented method for simulating a mouse, the method comprising:
- reading reference information for simulating the mouse from a memory system of a computer, wherein the reference information comprises an effective movement area of a mouse, a visual angle and a resolution of a camera to be adjustably positioned above the effective movement area on a plane and connected to the computer;
- determining a minimum capture area and a lowest adjustable height of the camera from the plane according to the reference information, and determining a length-to-width ratio of images to be captured by the camera according to the resolution of the camera;
- adjusting the minimum capture area to be an effective capture area of the camera according to the length-to-width ratio, adjusting the lowest adjustable height to be an effective adjustable height of the camera according to the effective capture area, and prompting a user to position the camera according to the effective adjustable height;
- setting a time interval for detecting movements of a user's palm in the effective camera area on the plane, and setting associations between the movements of the user's palm in the effective camera area and mouse operations of the mouse;
- reading consecutive images of the user's palm in the effective camera area captured by the camera during the time interval, and converting the consecutive images to binary images;
- determining movement information of the user's palm in the effective camera area according to differences in the binary images, and determining a mouse operation associated with the movement according to the preset associations;
- and
- executing a computer command corresponding to the mouse operation, so as to active a corresponding action of a cursor on a display screen of the computer.
A non-transitory storage medium storing a set of instructions, the set of instructions capable of being executed by a processor to perform a method for simulating a mouse, the method comprising:
- reading reference information for simulating the mouse from a memory system, wherein the reference information comprises an effective movement area of a mouse, a visual angle and a resolution of a camera to be adjustable positioned above the effective movement area on a plane and connected to the processor;
- determining a minimum capture area and a lowest adjustable height of the camera from the plane according to the reference information, and determining a length-to-width ratio of images to be captured by the camera according to the resolution of the camera;
- adjusting the minimum capture area to be an effective capture area of the camera according to the length-to-width ratio, adjusting the lowest adjustable height to be an effective adjustable height of the camera according to the effective capture area, and prompting a user to position the camera according to the effective adjustable height;
- setting a time interval for detecting movements of a user's palm in the effective camera area on the plane, and setting associations between the movements of the user's palm in the effective camera area and mouse operations of the mouse;
- reading consecutive images of the user's palm in the effective camera area captured by the camera during the time interval, and converting the consecutive images to binary images;
- determining movement information of the user's palm in the effective camera area according to differences in the binary images, and determining a mouse operation associated with the movement according to the preset associations;
- executing a computer command corresponding to the mouse operation by the processor, so as to active a corresponding action of a cursor on a display screen connected to the processor.
Dependencies are inferred from the claim text.