CN202870739U - Novel button based on bar code recognition principle - Google Patents

Novel button based on bar code recognition principle Download PDF

Info

Publication number
CN202870739U
CN202870739U CN 201220543864 CN201220543864U CN202870739U CN 202870739 U CN202870739 U CN 202870739U CN 201220543864 CN201220543864 CN 201220543864 CN 201220543864 U CN201220543864 U CN 201220543864U CN 202870739 U CN202870739 U CN 202870739U
Authority
CN
China
Prior art keywords
button
bar code
camera
keyboard
recognition
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.)
Expired - Fee Related
Application number
CN 201220543864
Other languages
Chinese (zh)
Inventor
陈暑生
陈安
黄旭东
胡跃明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
South China University of Technology SCUT
Original Assignee
South China University of Technology SCUT
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by South China University of Technology SCUT filed Critical South China University of Technology SCUT
Priority to CN 201220543864 priority Critical patent/CN202870739U/en
Application granted granted Critical
Publication of CN202870739U publication Critical patent/CN202870739U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The utility model discloses a novel button based on a bar code recognition principle. The novel button based on the bar code recognition principle comprises a button recognition device and a keyboard. The button recognition device comprises a camera, an infrared transmitting tube, a button, a finger cot, a wireless launch module, an outer shell and a processor. The keyboard is provided with a button bar code and horizontal black lines which are placed at the upper end and the lower end of the button bar code. The button bar code is used for enabling the button recognition device to recognize and obtain a button serial number. A user wears the button recognition device on a finger through the finger cot. When the user places the button recognition device on the button bar code and presses the button, the camera collects pictures with the help of emergent light of the infrared transmitting tube, the position of the button bar code is positioned through the horizontal black lines at the upper end and the lower end of the button bar code, the information of the button bar code is read by the button recognition device, the information is processed and the button serial number is obtained by the processor, and the button serial number is sent out through the wireless launch module to be processed and utilized in subsequent procedures. Therefore, the novel button is achieved.

Description

A kind of novel buttons based on the bar code recognition principle
Technical field
The utility model relates to a kind of novel buttons, particularly a kind of novel buttons based on the bar code recognition principle.
Background technology
Existing keyboard input devices roughly is divided into following several:
1, traditional mechanical keyboard, this class keyboard adopt hardware circuit to realize, connect corresponding circuits when button is pressed, so the internal electron circuit are more, and volume is larger.Exist be inconvenient to carry, the internal electron complex circuit, break down easily, water resistance is poor, environment for use requires the shortcomings such as higher.
2, be the patent " multifunctional remote controlller " of CN101923774A such as application number, this class button is designed to remote control mode, and key part is telepilot.Its shortcoming is that telepilot accounts for area, and number of keys is less simultaneously, is difficult to satisfy the more demand of button amount in the equipment.
3, touch screen soft-keyboard: keyboard is realized at touch-screen finger touches and can realize keystroke during use, feel does not have true keyboard hard relatively.But because keyboard is less, do not have obvious boundary between key and the key, maloperation occurs easily.The Patents of this series products is 200720076575.7 " handset touch panel " etc. just like application number.
4, based on the keyboard of image recognition and laser projection: for example application number is the patent " projection type virtual keyboard device " of CN02132177.9, the laser projection of this keyboard applications holographic technique produces, and require the illumination background can not be too bright, it is relatively poor to beat the keyboard feel, especially has the shortcomings such as cost is higher.Simultaneously, its requirement is projected on the planar materials, and bending can not appear in the plane, otherwise can affect image detection and identification.
The utility model content
For the shortcoming that present prior art exists, the utility model provides a kind of novel buttons based on the bar code recognition principle.
The technical scheme that the utility model adopts:
A kind of novel buttons based on the bar code recognition principle comprises recognition by pressing keys device and keyboard;
Described recognition by pressing keys device comprises camera, infrared transmitting tube, button, fingerstall, wireless transmitter module, shell, processor; Described camera, infrared transmitting tube are installed downwards side by side, and button is installed in the top of camera, and button is surrounded by fingerstall, and described camera, infrared transmitting tube, wireless transmitter module are connected with processor respectively;
Be provided with button bar code and horizontal black line on the described keyboard, described horizontal black line is positioned at the top and bottom of each button bar code, and described each button bar code and the horizontal black line that is located thereon end, lower end are in the viewfinder range of camera.
The length of described horizontal black line is 1.2-1.8 times of button bar code horizontal width.
A kind of novel buttons method based on the bar code recognition principle comprises the steps:
(1) user is placed on the recognition by pressing keys device on the button bar code, and presses the button, and infrared transmitting tube is luminous;
(2) camera is lower assisting of infrared transmitting tube emergent light, gathers and contains the image of button bar code, and send to processor;
(3) processor is determined the position of button bar code by the horizontal black line of button bar code upper end, lower end;
(4) processor reads the button bar code and obtains the button numbering, and the button numbering is sent by wireless transmitter module.
The method that the processor adopting profile is searched in the described step (3) is determined the position of button bar code.
Processor reads the button bar code and obtains the button numbering in the described step (4), and concrete grammar is:
Two end points that S41 establishes the horizontal black line of button bar code upper end are A, B from left to right, and two end points of the horizontal black line in lower end are C, D from left to right, difference line taking section AC mid point E, BD mid point F;
S42 is in step (3) in the image of binaryzation, processor is read the value of button bar code pixel along the EF line segment direction by the beginning of E point, detect the beginning that first black pixel point represents valid data, then record starting point and the terminal point of each continuous black patch and continuously white piece, deduct starting point and add 1 by the terminal point of each black patch or white piece and can get each black patch or white piece width, described last black patch is termination signal, not as valid data.
Described each black patch of S43 is adjacent the white piece in one on right side and consists of a bar code data, if the black patch width greater than white piece width, then this bit data of processor for recording is 0, otherwise is recorded as 1;
S44 forms a byte with the data obtained, obtains the button numbering.
The data of gained are 8 among the described S44.
Workflow: the user is worn on described recognition by pressing keys device on the finger by fingerstall, when the user is positioned over the recognition by pressing keys device on the button bar code and presses the button, auxiliary lower at the emergent light of infrared transmitting tube, the camera collection image, orient button bar code position by button bar code horizontal black line up and down, and read the button bar code information, processor is processed and is obtained the button numbering, and by wireless transmitter module button numbering is sent, for follow-up processing, thereby realized a kind of novel buttons.
The beneficial effect that the utlity model has:
1, realizes the function of a plurality of key-press inputs by a recognition by pressing keys device, greatly saved hardware costs.
What 2, keyboard can be more random is folding, crooked, as long as single bar code is not twisted, to saving the keyboard space certain benefit is arranged.
3, only need to change the position of button printing bar code, can realize any change of key position, need not to do other change, extensibility is good.
Description of drawings
Fig. 1 is the structural representation of recognition by pressing keys device of the present utility model;
Fig. 2 is keyboard synoptic diagram of the present utility model;
Fig. 3 is button Structure of Bar-code synoptic diagram of the present utility model;
Fig. 4 be in the utility model the black patch width greater than the coding synoptic diagram of white piece width;
Fig. 5 be in the utility model the black patch width less than the coding synoptic diagram of white piece width.
Shown in the figure:
1-camera, 2-infrared transmitting tube, 3-button, 4-fingerstall, 5-wireless transmitter module, 6-shell, 7-keyboard, 8-button bar code, 9-horizontal black line.
Embodiment
A kind of novel buttons based on the bar code recognition principle, comprise that recognition by pressing keys device and keyboard two parts form, the recognition by pressing keys device comprises camera 1 as shown in Figure 1, infrared transmitting tube 2, button 3, fingerstall 4, wireless transmitter module 5, shell 6, processor, described camera 1, infrared transmitting tube 2 is installed downwards side by side, infrared transmitting tube 2 provides illuminating ray for camera 1 gathers image, button 3 is installed in the top of camera 1, press for the user, button 3 is surrounded by fingerstall 4, the effect that can press button 3 when wearing fingerstall 4 to reach the user, described camera 1, infrared transmitting tube 2, wireless transmitter module 5 is connected with processor respectively.
Be provided with as shown in Figure 2 button bar code 8, horizontal black line 9 on the keyboard 7, described horizontal black line 9 is positioned at the top and bottom of each button bar code 8, described each button bar code 8 and the horizontal black line 9 that is located thereon end, lower end in the viewfinder range of camera 1, the length of described horizontal black line 9 be button bar code 8 horizontal widths 1.2-1.8 doubly.
The user is worn on described recognition by pressing keys device on the finger by fingerstall 4, when the user is positioned over the recognition by pressing keys device on the button bar code 8 and presses the button 3, auxiliary lower at the emergent light of infrared transmitting tube 2, camera 1 gathers image, orient button bar code 8 positions by the horizontal black line 9 of button bar code 8 upper and lower ends, and read button bar code 8 information, processor is processed and is obtained the button numbering, and by wireless transmitter module 5 button numbering is sent, for follow-up processing, thereby realized a kind of novel buttons.
Except button bar code 8, other explanation for button can be arranged on the described keyboard 7, be reduce disturbance, can make its gray-scale value more namely approach white as far as possible.
As shown in Figure 3, the above-mentioned process of utilizing horizontal black line 9 to carry out button bar code 8 location, the method that has adopted profile to search.First image is carried out binaryzation, carry out again profile and search, determine the profile of two horizontal black lines 9 by the feature of profile.Article two, the contour feature of horizontal black line 9 is: the area of profile is in the scope of setting, for example 80 to 100, the area of profile is less and in the scope of setting divided by the ratio of girth, for example 10 to 20, the ratio that the variance of each point horizontal ordinate obtains divided by the variance of each point ordinate on the profile on the profile is large and in the scope of another setting, and for example 40 to 50.After determining the profile of two horizontal black lines, find out the point of horizontal ordinate minimum on the profile separately, i.e. A point and C point; Find out the point of horizontal ordinate maximum on the profile separately, i.e. B point and D point.Then determined thus the end points of two horizontal black lines.
The method that described profile is searched is specifically: first with the image binaryzation of camera collection, then cut out the internal point of white blocks, it is revised as black, the determination methods of so-called internal point is: in the square of 3*3, when central point is white point, and its 8 neighborhood points are white point also, and namely central point is surrounded by white point, and then this central point is internal point.Afterwards from initial point, by from all directions to search (so-called from all directions to, soon 360 degree are spent a direction by per 45 in the plane, be divided into eight directions of search, search procedure is by the situation setting direction next time of current direction the right and left pixel), profile is irised out, and recorded the coordinate of each point on the profile.The profile girth is approximately the pixel number, and area can be obtained by integration.Said process also can be realized by the function cvFindContours () that OPENCV provides, and directly obtain profile number, the information such as the coordinate of having a few on the profile, area, girth.
As shown in Figure 3, described to obtain the detailed process of button numbering by button bar code 8 as follows: found on the button bar code 8 in conjunction with contour feature by the profile lookup method, two horizontal black lines of lower end, its separately 2 end points be A, B, C, D, the mid point E of line taking section AC, the mid point F of line segment BD, in the image after binaryzation, selected to the value of F reading capture vegetarian refreshments by E along line segment EF, detect first black pixel point and represent that valid data begin, record each continuous black patch and continuously starting point and the terminal point of white piece, the terminal point of each black patch or white piece is deducted starting point and adds 1 can get separately width.Each black patch is adjacent the white piece in one on right side and consists of a data, if the black patch width greater than white piece width, as shown in Figure 4, then this bit data is 0; If the black patch width is less than white piece width, as shown in Figure 5, then this bit data is 1.Totally 8 bit data form a byte, obtain the button numbering, by wireless transmitter module 5 with the button numbering and press, release movement sends, for subsequent treatment.Last black patch does not comprise data as termination signal.Simultaneously, the number of all black patches can be used as restrictive condition, if the black patch number is not equal to preset value, then data are considered as invalidly, do not process button.

Claims (2)

1. the novel buttons based on the bar code recognition principle is characterized in that, comprises recognition by pressing keys device and keyboard;
Described recognition by pressing keys device comprises camera, infrared transmitting tube, button, fingerstall, wireless transmitter module, shell, processor; Described camera, infrared transmitting tube are installed downwards side by side, and button is installed in the top of camera, and button is surrounded by fingerstall, and described camera, infrared transmitting tube, wireless transmitter module are connected with processor respectively;
Be provided with button bar code and horizontal black line on the described keyboard, described horizontal black line is positioned at the top and bottom of each button bar code, and described each button bar code and the horizontal black line that is located thereon end, lower end are in the viewfinder range of camera.
2. novel buttons according to claim 1 is characterized in that, the length of described horizontal black line is 1.2-1.8 times of button bar code horizontal width.
CN 201220543864 2012-10-23 2012-10-23 Novel button based on bar code recognition principle Expired - Fee Related CN202870739U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201220543864 CN202870739U (en) 2012-10-23 2012-10-23 Novel button based on bar code recognition principle

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201220543864 CN202870739U (en) 2012-10-23 2012-10-23 Novel button based on bar code recognition principle

Publications (1)

Publication Number Publication Date
CN202870739U true CN202870739U (en) 2013-04-10

Family

ID=48037445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201220543864 Expired - Fee Related CN202870739U (en) 2012-10-23 2012-10-23 Novel button based on bar code recognition principle

Country Status (1)

Country Link
CN (1) CN202870739U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915120A (en) * 2012-10-23 2013-02-06 华南理工大学 Novel key and method based on bar code identification principle

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915120A (en) * 2012-10-23 2013-02-06 华南理工大学 Novel key and method based on bar code identification principle
CN102915120B (en) * 2012-10-23 2015-08-26 华南理工大学 A kind of button based on bar code recognition principle and method

Similar Documents

Publication Publication Date Title
US11455044B2 (en) Motion detection system having two motion detecting sub-system
CN109151180B (en) Object identification method and mobile terminal
US8791914B2 (en) Input method applied in electronic devices
WO2017156964A1 (en) Terminal unlocking method and terminal
KR20150026535A (en) Method and computer readable recording medium for recognizing an object using a captured image
CN105183232A (en) Control method for mobile terminal without solid keys and mobile terminal
US9641743B2 (en) System, method, and apparatus for controlling timer operations of a camera
WO2013078989A1 (en) Method and system for triggering and controlling human-computer interaction operating instruction
TWI608428B (en) Image processing system for generating information by image recognition and related method
CN103488388A (en) Display control apparatus and control method thereof
US20160259958A1 (en) Code reading device
CN102103462A (en) Multifunctional electronic pen, character writing and sampling method and track data storage method
CN112650405A (en) Electronic equipment interaction method and electronic equipment
CN105242776A (en) Control method for intelligent glasses and intelligent glasses
CN103677442B (en) Keyboard device and electronic device
CN101853076A (en) Method for acquiring input information by input equipment
CN202870739U (en) Novel button based on bar code recognition principle
CN103543825A (en) Camera cursor system
CN105138173A (en) Control method for touch display screen
WO2013067661A1 (en) Double-finger, single-finger and rolling fingerprints acquisition, registration and identification device
CN102508595A (en) Method and terminal for touch screen operation
CN102915120B (en) A kind of button based on bar code recognition principle and method
CN117130469A (en) Space gesture recognition method, electronic equipment and chip system
CN104994242B (en) A kind of adjustment structure of screen luminance of mobile phone
KR100843586B1 (en) Device capable of non-contact function selection and method thereof

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130410

Termination date: 20151023

EXPY Termination of patent right or utility model