CN102186014A - Device and method for realizing keyboard functions by utilizing shooting equipment - Google Patents
Device and method for realizing keyboard functions by utilizing shooting equipment Download PDFInfo
- Publication number
- CN102186014A CN102186014A CN 201110080768 CN201110080768A CN102186014A CN 102186014 A CN102186014 A CN 102186014A CN 201110080768 CN201110080768 CN 201110080768 CN 201110080768 A CN201110080768 A CN 201110080768A CN 102186014 A CN102186014 A CN 102186014A
- Authority
- CN
- China
- Prior art keywords
- key
- picture pick
- panel
- box body
- scanning
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Position Input By Displaying (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
The invention discloses a device and a method for realizing keyboard functions by utilizing shooting equipment. The device provided by the invention comprises an additional device, the shooting equipment and a processing module which are sequentially connected. The additional device comprises a box body and a panel. The shooting equipment is arranged in the box body. One surface of the box body is provided with an opening as an image acquisition window of the shooting equipment. The panel may be a non-light tight panel on which a key map of a keyboard is marked, and also may be formed by laminating a luminous keyboard and a porous panel. The processing module comprises a key scanning unit, an anti-dithering delay unit and a key processing unit. In the device and the method, the conventional shooting function of the shooting equipment is preserved, and the shooting equipment also can be used as the keyboard so as to fulfill the aims of achieving the two purposes of the shooting equipment.
Description
Affiliated technical field
The present invention relates to a kind ofly, belong to the computer entry device technical field based on utilizing picture pick-up device to realize the device and method of keypad function.
Background technology
At present, known computer keyboard has two kinds of hard manual and soft keyboards.Hard manual is meant keyboard in kind, by circuit board, and compositions such as shell; Soft keyboard is meant the application program that realizes keypad function with software simulation.Hard manual takes up room bigger, and inconvenience is arbitrarily placed, such as using in hand held; Soft keyboard is operated with mouse, and is not too convenient.
Summary of the invention
The present invention will realize a kind of device and method that utilizes picture pick-up device to realize keypad function, and this invention had both kept the original camera function of picture pick-up device, can work as keyboard again and use: in hand held, as the operating handset keyboard, both convenient, small and exquisite again.
In order to realize purpose of the present invention, the technical scheme that the present invention implemented is that apparatus of the present invention comprise the attachment device that links to each other successively, picture pick-up device, processing module.Described attachment device comprises:
Picture pick-up device is installed in a box body, box body, and box body has an opening, as the IMAQ window of picture pick-up device;
A panel places the box opening place, also is on the IMAQ window of image collecting device;
Panel can be the light penetrating panel that indicates the keyboard key bitmap above, and under this mode, described attachment device also comprises a light pen;
Panel also can be superimposed by a luminous button plate and a porous panel and form, and under this mode, described attachment device does not need light pen.
Described processing module comprises key scanning unit, anti-shake delay unit and key processing unit.
The method of utilizing picture pick-up device to realize keypad function of the present invention adopts said apparatus, and method comprises the steps:
According to panel layout, set up key bit space table, key bit space table is a data structure that indicates each key bit position, size and virtual key code;
The key scanning unit starting is connected to the picture pick-up device of computer, and the image stream that picture pick-up device transmits is obtained in the circulation of success back, whenever obtains piece image, all will carry out by left-to-right determinant scanning from top to bottom, the pixel of searching designated color.The pixel of indication designated color is meant to be gathered by shooting equipment by the light transmission panel of light pen or luminous button to form into image.If find, then stop scanning, the coordinate figure of this point is sent to the key processing unit, put scanning and be designated FALSE, start anti-shake delay unit; If scanned piece image, do not find the pixel of designated color, then obtain down piece image and scan;
Anti-shake delay unit starts timer, the duration of delaying time, and time-delay ends, and puts scanning and is designated TRUE, allows the key scanning unit to obtain down piece image and scans;
The key processing unit obtains the coordinate figure that the key scanning unit transmits, look into key bit space table with this value, see which key bit space is this value drop in, which key bit space is value drop on is just represented which key is pressed, take out the virtual key code value of this key, synthetic keystroke incident.
The invention has the beneficial effects as follows: picture pick-up device had both kept original camera function, can work as keyboard usefulness again, reached the beneficial effect of picture pick-up device dual-use material.
Description of drawings
The present invention is further described below in conjunction with the drawings and specific embodiments.
Fig. 1 is the structural representation of apparatus of the present invention.
Fig. 2 is the attachment device structural representation of an embodiment of apparatus of the present invention.
2. picture pick-up devices among the figure, 7. box body, 8. box opening is 9. printed the panel of keyboard key bitmap, 10. light pen, 11.USB interface.
Fig. 3 is the attachment device structural representation of another embodiment of apparatus of the present invention.
2. picture pick-up devices among the figure, 7. box body, 8. box opening, 9. panel, the 11.USB interface, 12. are used to form the luminous button plate of panel, and 13. are used to form the porous panel of panel.
Fig. 4 is the processing module structural representation of apparatus of the present invention.
4. key scanning unit among the figure, 5. key processing unit, 6. anti-shake delay unit.
Embodiment
In Fig. 1, utilize picture pick-up device to realize the device of keypad function, apparatus of the present invention comprise the attachment device (1) that links to each other successively, picture pick-up device (2), processing module (3).
Fig. 2 be shown among embodiment, described attachment device (1) schematic diagram.
Picture pick-up device (2) is installed in the box body (7), box body (7), and box body has an opening (8), as the IMAQ window of picture pick-up device (2);
A light penetrating panel (9) indicates the key bitmap of keyboard above, and light penetrating panel (9) places box body (7) opening part, also is on the IMAQ window of picture pick-up device (2);
A light pen (10) as point-source of light, is used to produce actuation of keys.
Picture pick-up device (2) in the attachment device (1) is connected to computer by USB interface (11).
In this embodiment, on light penetrating panel (9), press or streak certain the key position that is indicating, make the light transmission light penetrating panel (9) of light pen (10) be gathered (2) in image by shooting equipment with light pen (10).Processing module (3) is set up key bit space table according to the key arrangement of the sign on the light penetrating panel (9), and key bit space table is a data structure that indicates each key bit position, size and virtual key code.Key scanning unit (4) starts the picture pick-up device (2) that is connected to computer, the image stream that picture pick-up device (2) transmits is obtained in the circulation of success back, whenever obtain piece image, all to carry out by left-to-right, determinant scanning from top to bottom, search the pixel of designated color, the pixel of indication designated color is meant and is gone into by shooting equipment (2) collection by the light transmission light penetrating panel (9) of light pen (10) that image forms; If find, then stop scanning, the coordinate figure of this point is sent to key processing unit (5), put scanning and be designated FALSE, start anti-shake delay unit (6); If scanned piece image, do not find the pixel of designated color, then obtain down piece image and scan;
Anti-shake delay unit starts timer (6), the duration of delaying time, and time-delay ends, and puts scanning and is designated TRUE, allows key scanning unit (4) to obtain down piece image and scans;
Key processing unit (5) obtains the coordinate figure that key scanning unit (4) transmits, look into key bit space table with this value, see which key bit space is this value drop in, which key bit space is value drop on is just represented which key is pressed, take out the virtual key code value of this key, synthetic keystroke incident.
Fig. 3 be shown among another embodiment, described attachment device (1) schematic diagram.
Picture pick-up device (2) is installed in the box body (7), box body (7), and box body has an opening (8), as the IMAQ window of picture pick-up device (2);
A panel (9) is made up of a luminous button plate (12) and a porous panel (13), and luminous button plate (12) is layered on the porous panel (13), and panel (9) places box opening (8) to locate, and also is on the IMAQ window of picture pick-up device (2).
Picture pick-up device (2) in the attachment device (1) is connected to computer by USB interface (11).
In this embodiment, on the stacked porous panel of luminous button plate (12) (13), both are close to be integral and place on box body (7) opening, the number of the last perforate of porous panel (13) equates with the key number on the luminous button plate (12), and each hole is positioned under each button, make the luminous energy that sends when pushing button from the hole, see through, thereby can be collected in the image by shooting equipment (2).Processing module (3) is set up key bit space table according to the key arrangement on the panel (9), and key bit space table is a data structure that indicates each key bit position, size and virtual key code.Key scanning unit (4) starts the picture pick-up device (2) that is connected to computer, the image stream that picture pick-up device (2) transmits is obtained in the circulation of success back, whenever obtain piece image, all to carry out by left-to-right, determinant scanning from top to bottom, search the pixel of designated color, the pixel of indication designated color is meant that pressing light transmission porous panel (9) that luminous button produces is gone into by shooting equipment (2) collection that image forms; If find, then stop scanning, the coordinate figure of this point is sent to key processing unit (5), put scanning and be designated FALSE, start anti-shake delay unit (6); If scanned piece image, do not find the pixel of designated color, then obtain down piece image and scan;
Anti-shake delay unit starts timer (6), the duration of delaying time, and time-delay ends, and puts scanning and is designated TRUE, allows key scanning unit (4) to obtain down piece image and scans;
Key processing unit (5) obtains the coordinate figure that key scanning unit (4) transmits, look into key bit space table with this value, see which key bit space is this value drop in, which key bit space is value drop on is just represented which key is pressed, take out the virtual key code value of this key, synthetic keystroke incident.
Claims (3)
1. device that utilizes picture pick-up device to realize keypad function, this device comprises the attachment device that connects successively, picture pick-up device, processing module, described processing module comprises key scanning unit, anti-shake delay unit and key processing unit, it is characterized in that, described attachment device comprises:
Picture pick-up device is installed in a box body, box body, and box body has an opening, as the shooting window of picture pick-up device;
A light penetrating panel indicates the key bitmap of keyboard above, and light penetrating panel places the box opening place, also is on the IMAQ window of image collecting device;
A light pen as point-source of light, is used to produce actuation of keys.
2. device that utilizes picture pick-up device to realize keypad function, this device comprises the attachment device that connects successively, picture pick-up device, processing module, described processing module comprises key scanning unit, anti-shake delay unit and key processing unit, it is characterized in that, described attachment device comprises:
Picture pick-up device is installed in a box body, box body, and box body has an opening, as the shooting window of picture pick-up device;
A panel is made up of a luminous button plate and a porous panel, and the luminous button flaggy is stacked on the porous panel, and panel places the box opening place, also is on the IMAQ window of image collecting device.
3. method of utilizing picture pick-up device to realize keypad function adopts the device of claim 1 or claim 2, and method of the present invention comprises the steps:
According to panel layout, set up key bit space table, key bit space table is a data structure that indicates each key bit position, size and virtual key code;
The key scanning unit starting is connected to the picture pick-up device of computer, and the image stream that picture pick-up device transmits is obtained in the circulation of success back, whenever obtains piece image, all will carry out by left-to-right determinant scanning from top to bottom, the pixel of searching designated color; The pixel of indication designated color is meant to be gathered by shooting equipment by the light transmission panel of light pen or luminous button to form into image; If find, then stop scanning, the coordinate figure of this point is sent to the key processing unit, put scanning and be designated FALSE, start anti-shake delay unit; If scanned piece image, do not find the pixel of designated color, then obtain down piece image and scan;
Anti-shake delay unit starts timer, the duration of delaying time, and time-delay ends, and puts scanning and is designated TRUE, allows the key scanning unit to obtain down piece image and scans;
The key processing unit obtains the coordinate figure that the key scanning unit transmits, look into key bit space table with this value, see which key bit space is this value drop in, which key bit space is value drop on is just represented which key is pressed, take out the virtual key code value of this key, synthetic keystroke incident.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110080768 CN102186014A (en) | 2011-03-30 | 2011-03-30 | Device and method for realizing keyboard functions by utilizing shooting equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201110080768 CN102186014A (en) | 2011-03-30 | 2011-03-30 | Device and method for realizing keyboard functions by utilizing shooting equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102186014A true CN102186014A (en) | 2011-09-14 |
Family
ID=44572077
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201110080768 Pending CN102186014A (en) | 2011-03-30 | 2011-03-30 | Device and method for realizing keyboard functions by utilizing shooting equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102186014A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101308426A (en) * | 2007-05-18 | 2008-11-19 | 北京汇冠新技术有限公司 | Pick-up head employed personal mobile information equipment hand-written input device |
CN101335783A (en) * | 2008-07-30 | 2008-12-31 | 中兴通讯股份有限公司 | Full-functional press-key mobile phone and inputting method |
CN101359250A (en) * | 2007-08-03 | 2009-02-04 | 俞前 | Virtual keyboard system |
JP2009076023A (en) * | 2007-09-21 | 2009-04-09 | Yoji Kondo | Personal computer operation device |
CN101546237A (en) * | 2008-03-25 | 2009-09-30 | 孔凡文 | Handwriting pad using image identifying technology for computer input |
-
2011
- 2011-03-30 CN CN 201110080768 patent/CN102186014A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101308426A (en) * | 2007-05-18 | 2008-11-19 | 北京汇冠新技术有限公司 | Pick-up head employed personal mobile information equipment hand-written input device |
CN101359250A (en) * | 2007-08-03 | 2009-02-04 | 俞前 | Virtual keyboard system |
JP2009076023A (en) * | 2007-09-21 | 2009-04-09 | Yoji Kondo | Personal computer operation device |
CN101546237A (en) * | 2008-03-25 | 2009-09-30 | 孔凡文 | Handwriting pad using image identifying technology for computer input |
CN101335783A (en) * | 2008-07-30 | 2008-12-31 | 中兴通讯股份有限公司 | Full-functional press-key mobile phone and inputting method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1232943C (en) | Method and apparatus for entering data using a virtual input device | |
CN1346101A (en) | Electronic equipment with input device | |
US20110175815A1 (en) | Character input method and system as well as electronic device and keyboard thereof | |
CN105353829B (en) | A kind of electronic equipment | |
CN107613164A (en) | A kind of camera module and mobile terminal with fingerprint identification function | |
CN108268204A (en) | Electric whiteboard system and its electronic whiteboard and operating method | |
CN106547368A (en) | A kind of character input method and device based on game paddle | |
CN102685581B (en) | Multi-hand control system for intelligent television | |
CN2849932Y (en) | Double layer key and keyboard using same | |
CN205827345U (en) | There is the mouse of analogue signal variable speed bond | |
CN202257483U (en) | Multifunctional remote controller | |
CN102186014A (en) | Device and method for realizing keyboard functions by utilizing shooting equipment | |
JP2019502217A (en) | Input device | |
CN206097540U (en) | Marxism research and analysis device | |
CN104571559A (en) | Device and method for realizing keyboard function by using camera equipment | |
CN1103074C (en) | Human/machine interface for computer devices | |
CN202339643U (en) | Electronic reading device with scanning function | |
CN107885887A (en) | A kind of file memory method and mobile terminal | |
CN201576269U (en) | Handwriting device | |
CN1391356A (en) | Transmitter with omnidirectional radiation for radio communication and radio commmunication equipment using it | |
CN206920975U (en) | A kind of enhanced man-machine interaction display | |
CN201945960U (en) | Hand-held mouse | |
CN207652534U (en) | A kind of split type 3D scanners | |
CN204229305U (en) | Notebook computer | |
CN103268160A (en) | Wireless photoelectric stylus and input method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20110914 |