CN103699890A - Scan input device and scan input method - Google Patents

Scan input device and scan input method Download PDF

Info

Publication number
CN103699890A
CN103699890A CN201210365732.1A CN201210365732A CN103699890A CN 103699890 A CN103699890 A CN 103699890A CN 201210365732 A CN201210365732 A CN 201210365732A CN 103699890 A CN103699890 A CN 103699890A
Authority
CN
China
Prior art keywords
character
input
control command
image
command
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.)
Granted
Application number
CN201210365732.1A
Other languages
Chinese (zh)
Other versions
CN103699890B (en
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.)
Hanwang Technology Co Ltd
Original Assignee
Hanwang Technology Co Ltd
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 Hanwang Technology Co Ltd filed Critical Hanwang Technology Co Ltd
Priority to CN201210365732.1A priority Critical patent/CN103699890B/en
Publication of CN103699890A publication Critical patent/CN103699890A/en
Application granted granted Critical
Publication of CN103699890B publication Critical patent/CN103699890B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a scan input device which comprises an image sensor used for focusing and imaging a character on a scan medium to generate an image and sending the image to a controller to be processed, and the controller used for processing the image and judging whether the scanned image is a character or a control command according to the scanning mode and the identifying result, and if the input is the control command, then the command is executed, otherwise, the character is saved. According to the invention, the information like the character or symbol is printed on a portable simulation keyboard, so that the control command and the character are inputted without barriers, a word is inquired at will, and the function of a calculator is achieved. The control command and the character are inputted without barriers, so that equipment is free from the keyboard, the cost is lowered, and the size is reduced. Besides, compared with hand input, the scan input method has the advantages that the input efficiency is higher, and the operation time of a user is saved.

Description

A kind of scanning input device and scan input method
Technical field
The present invention relates to optical character identification field, be specifically related to a kind of scanning input device and scan input method, by scanning, carry out the input of control command and character.
Background technology
In existing computing machine, portable equipment, main input mode is button, touch-screen, hand-written etc.Key-press input mode and touch-screen input mode need hardware supported, when increasing cost, and the volume of increasing device.Handwriting input mode is subject to the hand-written speed restriction of user, causes input efficiency lower.
The appearance of optical character identification (Optical Character Recognition, OCR) technology, provides convenience for the quick input of extensive text, and making paper document transfer Electronic saving mode to becomes possibility.
Utilize software recognition technology, the patent documentation that number of patent application is 200620077723.2 discloses a kind ofly directly consults electronic dictionary with textual scan or camera technique.Described electronic dictionary adopts digital conversion pattern, by the captured word word image information of built-in scanning input device, converts numerical information to, contrasts with the information being stored in character library, then directly finds out this word, and translates.
Number of patent application is that 200620123568 patent documentation discloses a kind of portable image recognition apparatus.The imageing sensor of described device obtains after image, and identification converter intercepts first word, by OCR, changes and dictionary lookup, completes a process of getting word-identification-translation-demonstration.
The disclosed scheme of above-mentioned patent documentation has all realized the Rapid input of word, for the paper document that is printed with word, utilizes image capture device to gather image, and has realized image recognition and looked into word technology.
Yet, although the image recognition technology that patent documentation 200620123568 and patent documentation 200620077723.2 adopt can realize the Rapid input of word, but this technology can only typing and is searched existing word in paper document, for the word being stored in complex dielectrics, as being imprinted on character or the hand-written character on the image of complex background, discrimination is not high.In addition, on blackboard, on billboard or oral account character, cannot input by scanning, cannot complete typing and look into word work, so this technology cannot meet the diversified typing demand of user.
And in above-mentioned patent documentation, by execute key, confirm scanning, while serving as interpreter erroneous results, with upper and lower key, select a correct word to revise.These button supports increase equipment volume, make device appearance succinct not, and operational motion is loaded down with trivial details, reduces user friendly.
Summary of the invention
The invention discloses a kind of scanning input device, can realize the scanning input of control command and character, and realized the switching of character and control command, equipment appearance is succinct, operate more smoothly, strengthened user friendlyly, this scanning input device is with simulating keyboard, scanning input device can be realized the Freely input of character, meets user's diversified demand.
The scanning input device that the present invention proposes comprises: imageing sensor, be used for the control command on scanned medium or character focal imaging, synthetic image, sending into controller processes, on described scanned medium, be manufactured with at least one of control command and character, the control command on described scanned medium or character are formed by hand-written or printing; Controller, for described image is processed, and judges that according to scan mode or recognition result the image scanning is character or control command, if input is that control command is carried out this order, otherwise preserves character information.
Wherein, this scanning input device further comprises flip flop equipment, light path device and optical lens, wherein flip flop equipment is for when scanning input device contact scanning medium scans, produce working signal, control light path device and form light path, the light that light path produces, after scanned medium reflection, then converges in imageing sensor for imageing sensor imaging through optical lens.
Wherein, this controller further comprises: graphics processing unit, for described image is carried out to image pre-service; Identification engine, identifies the image after graphics processing unit is processed, and recognition result is the image of input; Judging unit, for according to multiple image, displacement judges that scanning input is control command or character or what judge input by push button signalling is control command or character or what input according to the recognition result judgement to scanning input picture is control command or character, if judgement input is control command, carry out the order of this image representative, if input is that recognition result preserved in character.
Described character comprises numeral, letter or word, described control command comprises symbol or pattern, control command is not limited to the finish command, delete command, phonetic order, looks into word translator command, return command, exits command, language switching command, shift-left command, on move order, move down order and/or shift-right command; The control command of making on described scanned medium and at least one of character form keyboard layout.
The present invention also proposes a kind of scan input method, comprise: step 1, to the control command on scanned medium or character focal imaging, synthetic image, sending into controller processes, on described scanned medium, be manufactured with at least one of control command and character, the control command on described scanned medium or character are formed by hand-written or printing; Step 2, processes described image, and judges that according to scan mode or recognition result the image scanning is character or control command, if input is that control command is carried out this order, otherwise preserves character.
Wherein step 1 further comprises according to a kind of in following three kinds of modes and comes input character and control command: first kind of way: when needs input of control commands, scanning input device is placed in scanned medium control command, extruding flip flop equipment, scanning input device transfixion, gather control command, when needs input character, scanning input device is placed on scanned medium character, extruding flip flop equipment, motion scan input media carrys out Gather and input character; The second way: when needs input of control commands, by extruding flip flop equipment, a certain button of simultaneously pinning scanning input device scans input of control commands, during input character not according to described button; The third mode: when needs input of control commands, gather the specific image that represents control command, while needing input character, gather the image that is different from described specific image.
Wherein step 2 further comprises that what according to a kind of in following three kinds of modes, judge input is character or control command: first kind of way: displacement judges that scanning input is control command or character according to multiple image; The second way: what judge input by push button signalling is control command or character; The third mode: what input according to the recognition result judgement to scanning input picture is control command or character, if judgement input is control command, carries out the order of this image representative, if input is that recognition result preserved in character.
The present invention also proposes another scanning input device, this device comprises: scanning element, be used for the control command on scanned medium or character focal imaging, synthetic image, sending into controller processes, on described scanned medium, be manufactured with at least one of control command and character, the control command on described scanned medium or character are formed by hand-written or printing; Graphics processing unit, processes described image, and judges that according to scan mode or recognition result the image scanning is character or control command, if input is that control command is carried out this order, otherwise preserves character.
Wherein said scanning element is come input character and control command according to a kind of in following three kinds of modes: first kind of way: when needs input of control commands, scanning input device is placed in scanned medium control command, extruding flip flop equipment, scanning input device transfixion, gather control command, when needs input character, scanning input device is placed on scanned medium character, extruding flip flop equipment, motion scan input media carrys out Gather and input character; The second way: when needs input of control commands, by extruding flip flop equipment, a button of simultaneously pinning scanning input device scans input of control commands, during input character not according to described button; The third mode: when needs input of control commands, gather the specific image that represents control command, while needing input character, gather the image that is different from described specific image;
What described graphics processing unit judged input according to a kind of in following three kinds of modes is character or control command: first kind of way: according to multiple image, displacement judges that scanning input is control command or character; The second way: what judge input by push button signalling is control command or character; The third mode: what input according to the recognition result judgement to scanning input picture is control command or character, if judgement input is control command, carries out the order of this image representative, if input is that recognition result preserved in character.
The present invention is by being printed on the information such as character or symbol on portability scanned medium, on this scanned medium, form simulating keyboard, or on scanned medium, write the content that needs Gather and input, scanning input device needs character or the control command of input by scanning, realized the accessible input of control command and character.Whereby, realized the random inquiry of word, and realized calculator function.The accessible input of control command and character, makes equipment break away from keyboard, reduces costs, and outward appearance is succinct, reduced volume., compare with handwriting input meanwhile, there is higher input efficiency, saved user's running time.
Accompanying drawing explanation
Fig. 1 is the structural representation of scanning input device of the present invention;
Fig. 2 a is the simulating keyboard schematic diagram that comprises letter and symbol of the present invention;
Fig. 2 b is the another simulating keyboard schematic diagram that comprises letter and symbol of the present invention;
Fig. 2 c is a simulating keyboard schematic diagram that comprises numbers and symbols more of the present invention;
Fig. 3 is scan input method process flow diagram of the present invention;
Fig. 4 is the process flow diagram that utilizes scan input method input word of the present invention and phrase;
Fig. 5 is the process flow diagram that utilizes scan input method of the present invention to calculate.
Embodiment
For making the object, technical solutions and advantages of the present invention clearer, below in conjunction with specific embodiment, and with reference to accompanying drawing, the present invention is described in more detail.
The invention provides a kind of scanning input device and scan input method, can realize control command input and character input, this scanning input device can be equipped with a simulating keyboard, and can scan by different way character or the symbol on simulating keyboard or on other scanned mediums, pass through image recognition technology, realize freely switching of control command input and character input, thereby the on-keyboard of realizing character is inputted fast, not by keyboard and hand-written, character in various media is inputted, realized accessible input.
Fig. 1 is the functional structure chart of scanning input device of the present invention.With reference to Fig. 1, this scanning input device comprises housing 1, controller 2, imageing sensor 3, display screen 4, optical lens 5, perforate 6, flip flop equipment 7, light path device 8.
Controller 2 is arranged on housing 1 inside, is preferably flush bonding processor, for controlling textual scan input, carries out the processing such as word identification.Imageing sensor 3 is arranged on housing 1 inside, and be connected with controller 2, be used for the word focal imaging on scanned medium, synthetic image, send into controller 2 and carry out image pre-service and the identifying processings such as figure image intensifying, gray scale processing or image binaryzation, the result of controller 2 is presented on display screen 4, and imageing sensor 3 can obtain character on simulating keyboard or other scanned medium or the image of control command.In shell 1 position corresponding with imageing sensor 3, offer a perforate 6, make imageing sensor 3 see through perforate 6 and obtain the character in simulating keyboard or scanning data.Flip flop equipment 7 is for when scanning input device contact scanning medium scans, produce working signal, control light path device 8 and form light paths, the light that light path produces, after scanned medium reflection, more directly converges in imageing sensor 3 for imageing sensor 3 imagings through optical lens 5.Light path device 8 is preferably used light path illumination LED.
Above-mentioned simulating keyboard can, for any portable medium of identifying, as the packing leather sheath of this equipment or paper material etc., have volume little, the feature being convenient for carrying.On simulating keyboard, including but are not limited to numeral, letter, symbol, can be also other character, control command or other figure.Simulating keyboard can be for any portable medium of identifying, as packing leather sheath or the paper material of this equipment in addition.Character on above-mentioned other scanned mediums or symbol can be write and form can identify on medium by user.
Fig. 2 a is the schematic diagram of a kind of simulating keyboard of the present invention.As shown in Figure 2 a, this simulating keyboard comprises letter and symbol.Wherein "=" is approximately decided to be end mark, and symbol " ← " is approximately decided to be deletion action, and blank image is approximately decided to be space.
Fig. 2 b is the schematic diagram of another simulating keyboard of the present invention.As shown in Figure 2 b, this simulating keyboard comprises letter and symbol, wherein
Figure BDA00002201796800061
approximately be decided to be phonetic order,
Figure BDA00002201796800062
approximately be decided to be and look into word translator command,
Figure BDA00002201796800063
approximately be decided to be delete command,
Figure BDA00002201796800064
approximately be decided to be return command, " ← " is approximately decided to be and moves to left, and " ↑ " is approximately decided to be and moves, and " ↓ " agreement moves down, and " → " is approximately decided to be and moves to right.
Scanning input device can come input of control commands and character according to any in three kinds of modes below: first kind of way: when needs input of control commands, scanning input device is placed in simulating keyboard or other scanned medium control command, by extruding flip flop equipment 7, open LED illumination, optical lens 5 work, scanning input device transfixion, gather control command and send into controller 2 by imageing sensor, scanning input device is when needs input character, scanning input device is placed on simulating keyboard or other scanned medium, by extruding flip flop equipment 7, open LED illumination, optical lens 5 work, motion scan device, Gather and input character is also sent into controller 2 by imageing sensor.The second way: when needs input of control commands, motion scan input media is pinned certain button simultaneously, motion scan input media during character input, not according to button.The third mode: when needs input of control commands, collection represents the specific image of control command, while needing input character, gather the image that is different from described specific image, in this mode, control command and character are all to input by the mode of motion scan input media, or are all to input by the mode of click.
Controller 2 further comprises graphics processing unit 201, identification engine 202 and judging unit 203.
201 pairs of characters that scan of graphics processing unit and control command are carried out image pre-service, comprise figure image intensifying, gray scale processing and binary conversion treatment etc.Described figure image intensifying be by certain means to the more additional information of original image or transform data, some unwanted feature in interested feature or inhibition (covering) image in outstanding image, matches image and eye response characteristic selectively.Described image binaryzation is exactly that the gray-scale value of the pixel on image is set to 0 or 1, namely whole image is presented to obvious black and white effect.The further processing that the binaryzation of image is conducive to highlight, becomes simply image, and data volume reduces, and can highlight the profile of interested target.
The image of 202 pairs, engine of identification after graphics processing unit 201 is processed identified.Identification engine 202 further comprises OCR engine and sorter identification engine.
If scanning input device is according to above-mentioned the first and second way input character and control command, what judging unit 203 can be directly judges input according to multiple image displacement and push button signalling is character or control command, if input is character, call the identification of OCR engine, if control command, directly calling classification device identification.
If scanning input device is according to above-mentioned the third mode input character and control command, identifying engine 202 first calls OCR engine and identifies, according to identifying information judgement recognition result confidence levels such as decipherment distances, if recognition result is insincere, judging unit 203 judgement inputs is self-defining control command, this self-defining control command is user-defined control command, as
Figure BDA00002201796800071
deng, in standard ISN storehouse, there is no these control commands, need proceed sorter identification, the recognition result of controlled order.If OCR recognition result is credible, be divided into two kinds of situations, one is character for what input, two is the control command that can find in standard ISN storehouse for what input, as ' ← ' etc., the present invention arranges in advance to the implication of this kind of control command, if be identified as such control command, implication is according to a preconcerted arrangement carried out corresponding control command.
OCR engine is identified bianry image, mainly comprises: character extracts, and character feature extracts, feature comparison, recognition result aftertreatment.Described character extracts and refers to and extract image intermediate character region, filters out the blank column about other black pixel that this character exists up and down, blank line and this character.Described feature extraction and feature relatively refer to the feature of calculating above-mentioned character, compare with the feature templates in character library, obtain the most close character of feature as recognition result.Described recognition result aftertreatment refers to according to environment for use to be processed above-mentioned recognition result, revises irrational result.
Sorter identification refers to using the feature of control command image as classification foundation, corresponding different recognition classifiers, the characteristics of image needing is also different, recognition classifier is utilized the distance between the feature of each control command standard form that prior art relatively preserves in this characteristics of image and sorter identification engine in advance, select feature therewith the characteristics of image control command that apart nearest standard form is corresponding as the recognition result of this image.
Fig. 3 is the process flow diagram of scan input method of the present invention.With reference to Fig. 3, the method has comprised following steps:
Step 1, utilizes scanning input device to obtain character on various media or simulating keyboard or the image of control command.In this step, according to a kind of in following three kinds of modes, come input character and control command:
First kind of way: when needs input of control commands, scanning input device is placed in scanned medium control command, extruding flip flop equipment, scanning input device transfixion, gather control command, when needs input character, scanning input device is placed on scanned medium character, extruding flip flop equipment, motion scan input media carrys out Gather and input character.
The second way: when needs input of control commands, by extruding flip flop equipment, a button of simultaneously pinning scanning input device scans input of control commands, during input character not according to described button.
The third mode: when needs input of control commands, collection represents the specific image of control command, while needing input character, gather the image that is different from described specific image, in this mode, control command and character are all to input by the mode of motion scan input media, or are all to input by the mode of click.
The character of institute's Gather and input or control command are sent into the processing unit 201 of controller 2 by imageing sensor 3.
Step 2, utilizes 201 pairs of characters that scan of graphics processing unit and control command in controller 2 to carry out image pre-service.Described image pre-service comprises figure image intensifying, gray scale processing or binaryzation etc.
Described figure image intensifying be by certain means to the more additional information of original image or transform data, some unwanted feature in interested feature or inhibition (covering) image in outstanding image, matches image and eye response characteristic selectively.
It is that gray level image is analyzed and processed that described gradation of image is processed.Gray level image has reflected the distribution of the brightness degree of entire image, and the variation range of each pixel is 0-255.Gray scale pack processing is containing generating grey level histogram, gray scale correction, extracting the processing such as characteristics of image, image sharpening.
Described image binaryzation is exactly that the gray-scale value of the pixel on image is set to 0 or 1, namely whole image is presented to obvious black and white effect.The further processing that the binaryzation of image is conducive to highlight, becomes simply image, and data volume reduces, and can highlight the profile of interested target.
Step 3, utilizes the image after the 202 pairs of above-mentioned processing of identification engine in controller to identify.
Identification engine 202 further comprises OCR engine and sorter recognition device.If select the first and the second way to come input character and control command in step 1, what judging unit 203 can be directly judges input according to multiple image displacement and push button signalling is character or control command, if input is character, call the identification of OCR engine, if control command, directly calling classification device identification.
If but select the third input mode to carry out input character and control command in step 1, in this step 3, first with after the identification of OCR technology, according to identifying information judgement recognition result confidence levels such as decipherment distances, if recognition result is insincere, input is self-defining control command, and this self-defining control command is user-defined control command, as
Figure BDA00002201796800091
deng, in standard ISN storehouse, there is no these control commands, need proceed sorter identification, the recognition result of controlled order.If OCR recognition result is credible, be divided into two kinds of situations, one is character for what input, two is the control command that can find in standard ISN storehouse for what input, as ' ← ' etc., the present invention arranges in advance to the implication of this kind of control command, if be identified as such control command, implication is according to a preconcerted arrangement carried out corresponding control command.
OCR engine is identified bianry image, mainly comprises: character extracts, and character feature extracts, feature comparison, recognition result aftertreatment.Described character extracts and refers to and extract image intermediate character region, filters out the blank column about other black pixel that this character exists up and down, blank line and this character.Described feature extraction and feature relatively refer to the feature of calculating above-mentioned character, compare with the feature templates in character library, obtain the most close character of feature as recognition result.Described recognition result aftertreatment refers to according to environment for use to be processed above-mentioned recognition result, revises irrational result.
Sorter identification refers to using the feature of control command image as classification foundation, corresponding different recognition classifiers, the characteristics of image needing is also different, recognition classifier is utilized the distance between the feature of each control command standard form that prior art relatively preserves in this characteristics of image and identification engine in advance, select feature therewith the characteristics of image control command that apart nearest standard form is corresponding as the recognition result of this image.
Step 4, carries out corresponding action according to the recognition result in step 3, if input is that control command is carried out this order, otherwise preserves character information.
Below by the mode of giving an example, further illustrate the present invention and utilize simulating keyboard to scan the method for input, in example below, scanning input device be take wand and is described as example.
< example 1>
In this example, adopt the first kind of way in above-mentioned steps 1 to carry out the input of character and control command.During character input, move wand; During control command input, wand is placed in control command top, and pen is static, gathers image.What controller also judged input thus is character or control command.As the first kind of way of step 1, during wand motion scan, input be character, during wand stationary acquisition image, input be control command.If input is control command, the identification of controller calling classification device, if input is character, controller calls OCR engine.For example want looking up words BALL, as shown in Figure 4, carry out following steps:
Step 1, word " BALL " in motion scan pen scanning data.Because want input character " BALL ", thus wand is placed in to scanning data top, motion scan pen, acquisition frame image sequence, is then spliced into sequence of image frames one width panoramic picture.
Step 2, carries out image processing and and identification to panoramic picture.Wherein image pack processing is processed containing figure image intensifying and image binaryzation.Figure image intensifying adopts median filtering method to weaken noise.Median filtering method is a kind of nonlinear smoothing technology, and the gray-scale value of its each pixel is set to this intermediate value of putting all pixel gray-scale values in certain neighborhood window.Image binaryzation adopts otsu method, i.e. maximum variance between clusters.The method is pressed the gamma characteristic of image, and image is divided into background and prospect two parts.Inter-class variance between background and prospect is larger, illustrates that the two-part difference of composing images is larger, when part prospect mistake is divided into background or background mistake, is divided into prospect and all can causes two parts difference to diminish.Therefore be, to mean that misclassification probability is minimum cutting apart of inter-class variance maximum.
Because wand is to scan input by mobile mode, therefore can directly to judge inputted according to two field picture displacement be character to controller, therefore calling OCR engine identifies the character of input, OCR technology identification processing procedure is, first carry out character cutting, obtain each character, then each character is identified.Character recognition process, first extract each character intermediate character region, be filled into the background pixel that character exists up and down, then extract character feature and with character repertoire in template characteristic compare, find the nearest character of feature in character library as recognition result, finally according to environment for use, recognition result is adjusted.
The recognition result of supposing scanning input device is " BALI ", last character identification error, can perform step 3 and modify, and also can perform step 4 and directly look into word, because dictionary can provide the most close word list, by selecting to obtain up and down correct result.
Step 3, revises word the last character symbol, then looks into word, and step is as follows:
Step 3.1, in display screen, cursor is now positioned at character " I " and locates, and wand is placed in to simulating keyboard
Figure BDA00002201796800111
top, pen is static, gathers image and carries out image processing and sorter identifying processing.Controller detects and is this time input as control command, carries out the order of this input picture representative, i.e. delete character " I ", in this step, due to the wand collection image that remains static, be therefore judged as control command, so carry out the identification of calling classification device for control command.
Step 3.2, is placed in simulating keyboard " L " top by wand, and a motion scan scan image also carries out image processing and OCR identifying processing.Controller detects and is this time input as character, preserves recognition result " L ".Now word " BALL " spelling is correct.
Step 3.3, is placed on wand
Figure BDA00002201796800112
top, pen is static, gathers image and carries out image processing and sorter identifying processing.Controller detects and is this time input as control command, and the order of this input picture representative is carried out in the identification of calling classification device according to recognition result, look into word, looks into word result and is presented on display screen.
Step 4, wand is placed on
Figure BDA00002201796800113
top, pen is static, gathers image and carries out image processing and sorter identifying processing.Controller detects and is this time input as control command, carries out the order of this input picture representative, looks into word, and word " BALI " is not found, and dictionary provides the most close word list: BALL, BALT.
Step 5, is placed on " ↓ " top by wand, and pen is static, gathers image and carries out image processing and sorter identifying processing.Controller detects and is this time input as control command, carries out the order of this input picture representative, selects word " BALL " downwards, and provides translation result and be presented on display screen.
< example 2>
In this example, adopt the second way in step 1 to carry out the input of character and control command.
According to second way when input in step 1, when wand moves and button detected simultaneously and press signal, what represent input is control command; When wand moves but do not have button to press signal, what represent input is character.Therefore, when the input mode of control command is motion scan pen, pin certain button on a shell, gather image; During character input, a motion scan pen, not according to button.What controller 2 can directly judge input according to push button signalling is control command or character, if control command, calling classification device identification, if input is character, calls OCR engine.For example want looking up words " lovely " and " love ", step is as follows:
Step 1, word " lovely " in motion scan pen scanning data, the function arranging on wand shell is good for while not being pressed, and represents scanning input character.Scanning process is identical with the scanning process in < example 1>.The function key arranging on wand shell can judge whether it is the button of input of control commands special use, can be also the multiplexing of existing button on shell.
Step 2, carries out image processing and OCR technology identifying processing to panoramic picture.Image pre-service and character recognition are processed with identical in < example 1>
, preservation recognition result " lovely " after to be identified completing.
Step 3, wand is placed on
Figure BDA00002201796800121
top, motion scan pen simultaneously thumb is pinned certain button, gathers image and carries out image processing and sorter identifying processing.Controller 2 detects and is this time input as control command, carries out the order of this input picture representative, looks into word, and Query Result is presented on display screen.
Step 5, in display screen, cursor is now positioned at character " y " and locates, and wand is placed in to simulating keyboard top, motion scan pen simultaneously thumb is pinned certain button, gathers image and carries out image processing and sorter identifying processing.Controller detects and is this time input as control command, carries out the order of this input picture representative, delete character " y ".
Step 6, operates with step 5 delete character " l ".
Step 7, operation is with step 4, and demonstration screen display " love " is looked into word result.
< example 3>
In this example, adopt the third mode in step 1 to carry out the input of character and control command.
Wand motion scan character or control command, controller is first with after the identification of OCR technology, according to identifying information judgement recognition result confidence levels such as decipherment distances, if recognition result is insincere, input is self-defining control command, need proceed sorter identification, the recognition result of controlled order.If OCR recognition result is credible, be divided into two kinds of situations, one be input is character, two be input is the control command that can find in standard ISN storehouse, if the control command of being identified as, implication is according to a preconcerted arrangement carried out corresponding control command.
For example by wand, inquire about phrase look at, concrete steps are as follows:
Step 1, wand is placed in to simulating keyboard letter " l " top, the image of camera collection letter " l " is also sent to processing unit by imageing sensor and carries out image pre-service, processing result image is delivered to OCR recognition device this image is processed and identification, and recognition result is preserved.
In this step, simulating keyboard adopts the keyboard shown in Fig. 2 a.Image pre-service comprises figure image intensifying and image binaryzation is processed, and image binaryzation adopts otsu method, i.e. maximum variance between clusters.The method is pressed the gamma characteristic of image, and image is divided into background and prospect two parts.Inter-class variance between background and prospect is larger, illustrates that the two-part difference of composing images is larger, when part prospect mistake is divided into background or background mistake, is divided into prospect and all can causes two parts difference to diminish.Therefore be, to mean that misclassification probability is minimum cutting apart of inter-class variance maximum.
Figure image intensifying adopts median filtering method to weaken noise.Median filtering method is a kind of nonlinear smoothing technology, and the gray-scale value of its each pixel is set to this intermediate value of putting all pixel gray-scale values in certain neighborhood window.
Step 2, gathers respectively and inputs " o " " o " " k " according to the mode of step 1.
Step 3, input space.While making an appointment input blank image, be space, wand is placed in to simulating keyboard blank space, gather blank image, this character is preserved as space.
Step 4, then gathers respective image input " a " " t " according to the mode of step 1.
Step 5, end of input character.Agreement "=", as end mark, is placed in simulating keyboard "=" character top by wand, gets character and carries out image processing and optical character recognition process, and recognition result is judged to be end mark, end of input.
Step 6, looks into word and translation result is presented on display screen.
Wherein termination character is not saved, and existing input character is formed to a word completing or phrase, searches dictionary and translates.Thereby obtain the information such as explanation of phrase look at, finally phrase and explain information are presented on display screen.
If character input error, needs to remove, wand can be placed in to simulating keyboard " ← " top, input " ← " character, carries out character deletion.
< example 4>
The present invention not only can be used for word enquiring, also can realize calculator function, as shown in the process flow diagram of Fig. 5.
Fig. 2 c is the simulating keyboard that is printed on numeral and compute sign.Compute sign is not limited to institute's lettering symbol on simulating keyboard, also can comprise other complex calculation symbol.For example need to calculate (39+47) * 62.Scanning input device is placed in to simulating keyboard " (" " 3 " " 9 " "+" successively ... Deng character top, gather its image and process and identify.As formula, last end of input mark "=", has inputted to determine.Finally calculate, its result is 5332, and result is presented on display screen.Wherein processing and recognition methods are identical with method therefor in < example 1>.
Above-described specific embodiment; object of the present invention, technical scheme and beneficial effect are further described; institute is understood that; the foregoing is only specific embodiments of the invention; be not limited to the present invention; within the spirit and principles in the present invention all, any modification of making, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a scanning input device, comprising:
Imageing sensor, be used for the control command on scanned medium or character focal imaging, synthetic image, sends into controller and processes, on described scanned medium, be manufactured with at least one of control command and character, the control command on described scanned medium or character are formed by hand-written or printing;
Controller, for described image is processed, judges that according to scan mode or recognition result the image scanning is character or control command, if input is that control command is carried out this order, otherwise preserves character.
2. device according to claim 1, it is characterized in that, this scanning input device further comprises flip flop equipment, light path device and optical lens, wherein flip flop equipment is for when scanning input device contact scanning medium scans, produce working signal, control light path device and form light path, the light that light path produces, after scanned medium reflection, then converges in imageing sensor for imageing sensor imaging through optical lens.
3. device according to claim 2, is characterized in that, controller further comprises:
Graphics processing unit, for carrying out image pre-service to described image;
Identification engine, identifies the image after graphics processing unit is processed, and recognition result is character or the control command of input;
Judging unit, what for the displacement according to multiple image, judge scanning input is control command or character or what by push button signalling, judge input is control command or character or what according to the recognition result judgement to scanning input picture, input is control command or character, if judgement input is control command, carry out the order of this image representative, if input is that recognition result preserved in character.
4. device according to claim 3, it is characterized in that, described character comprises numeral, letter or word, described control command comprises symbol or pattern, and be not limited to the finish command, delete command, phonetic order, look into word translator command, return command, exit command, shift-left command, on move order, move down order and/or shift-right command; The control command of making on described scanned medium and at least one of character form keyboard layout.
5. a scan input method, the method comprising the steps of:
Step 1, to the control command on scanned medium or character focal imaging, synthetic image, sends into controller and processes, on described scanned medium, be manufactured with at least one of control command and character, the control command on described scanned medium or character are formed by hand-written or printing;
Step 2, processes described image, and judges that according to scan mode or recognition result the image scanning is character or control command, if input is that control command is carried out this order, otherwise preserves character.
6. method according to claim 5, it is characterized in that, step 1 further comprises according to a kind of in following three kinds of modes comes input character and control command: first kind of way: when needs input of control commands, scanning input device is placed in scanned medium control command, extruding flip flop equipment, scanning input device transfixion, gather control command, when needs input character, scanning input device is placed on scanned medium character, extruding flip flop equipment, motion scan input media carrys out Gather and input character; The second way: when needs input of control commands, by extruding flip flop equipment, a button of simultaneously pinning scanning input device scans input of control commands, during input character not according to described button; The third mode: when needs input of control commands, gather the specific image that represents control command, while needing input character, gather the image that is different from described specific image;
Step 2 further comprises that what according to a kind of in following three kinds of modes, judge input is character or control command: first kind of way: displacement judges that scanning input is control command or character according to multiple image; The second way: what judge input by push button signalling is control command or character; The third mode: what input according to the recognition result judgement to scanning input picture is control command or character, if judgement input is control command, carries out the order of this image representative, if input is that recognition result preserved in character.
7. method according to claim 6, is characterized in that,
Described character comprises numeral, letter or word, described control command comprises symbol or pattern, and be not limited to the finish command, delete command, phonetic order, look into word translator command, return command, exit command, shift-left command, on move order, move down order and/or shift-right command; The control command of making on described scanned medium and at least one of character form keyboard layout.
8. a scanning input device, this device comprises:
Scanning element, be used for the control command on scanned medium or character focal imaging, synthetic image, sends into controller and processes, on described scanned medium, be manufactured with at least one of control command and character, the control command on described scanned medium or character are formed by hand-written or printing;
Graphics processing unit, processes described image, and judges that according to scan mode or recognition result the image scanning is character or control command, if input is that control command is carried out this order, otherwise preserves character information.
9. device according to claim 8, it is characterized in that, described scanning element is come input character and control command according to a kind of in following three kinds of modes: first kind of way: when needs input of control commands, scanning input device is placed in scanned medium control command, extruding flip flop equipment, scanning input device transfixion, gather control command, when needs input character, scanning input device is placed on scanned medium character, extruding flip flop equipment, motion scan input media carrys out Gather and input character; The second way: when needs input of control commands, by extruding flip flop equipment, a button of simultaneously pinning scanning input device scans input of control commands, during input character not according to described button; The third mode: when needs input of control commands, gather the specific image that represents control command, while needing input character, gather the image that is different from described specific image;
What described graphics processing unit judged input according to a kind of in following three kinds of modes is character or control command: first kind of way: according to multiple image, displacement judges that scanning input is control command or character; The second way: what judge input by push button signalling is control command or character; The third mode: what input according to the recognition result judgement to scanning input picture is control command or character, if judgement input is control command, carries out the order of this image representative, if input is that recognition result preserved in character.
10. device according to claim 9, is characterized in that,
Described character comprises numeral, letter or word, described control command comprises symbol or pattern, and be not limited to the finish command, delete command, phonetic order, look into word translator command, return command, exit command, language switching command, shift-left command, on move order, move down order and/or shift-right command; The control command of making on described scanned medium and at least one of character form keyboard layout.
CN201210365732.1A 2012-09-27 2012-09-27 A kind of scanning input device and scan input method Active CN103699890B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210365732.1A CN103699890B (en) 2012-09-27 2012-09-27 A kind of scanning input device and scan input method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210365732.1A CN103699890B (en) 2012-09-27 2012-09-27 A kind of scanning input device and scan input method

Publications (2)

Publication Number Publication Date
CN103699890A true CN103699890A (en) 2014-04-02
CN103699890B CN103699890B (en) 2018-05-04

Family

ID=50361413

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210365732.1A Active CN103699890B (en) 2012-09-27 2012-09-27 A kind of scanning input device and scan input method

Country Status (1)

Country Link
CN (1) CN103699890B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412008A (en) * 2016-08-26 2017-02-15 乐视控股(北京)有限公司 Identifier correcting method and device
CN104598903B (en) * 2015-02-04 2018-11-06 浙江科技学院 The adaptive character recognition device of object temperature and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998002792A2 (en) * 1996-07-16 1998-01-22 Wizcom Technologies Ltd. Data processor input device
CN2733456Y (en) * 2004-02-20 2005-10-12 杨学勤 Portable intelligent translation pen
CN101444079A (en) * 2004-12-06 2009-05-27 威思克技术有限公司 Handheld text scanner
CN102073847A (en) * 2010-12-24 2011-05-25 汉王科技股份有限公司 Scanning device and scanning method
CN102135838A (en) * 2011-05-05 2011-07-27 汉王科技股份有限公司 Method and system for partitioned input of handwritten character string

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1998002792A2 (en) * 1996-07-16 1998-01-22 Wizcom Technologies Ltd. Data processor input device
CN2733456Y (en) * 2004-02-20 2005-10-12 杨学勤 Portable intelligent translation pen
CN101444079A (en) * 2004-12-06 2009-05-27 威思克技术有限公司 Handheld text scanner
CN102073847A (en) * 2010-12-24 2011-05-25 汉王科技股份有限公司 Scanning device and scanning method
CN102135838A (en) * 2011-05-05 2011-07-27 汉王科技股份有限公司 Method and system for partitioned input of handwritten character string

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104598903B (en) * 2015-02-04 2018-11-06 浙江科技学院 The adaptive character recognition device of object temperature and method
CN106412008A (en) * 2016-08-26 2017-02-15 乐视控股(北京)有限公司 Identifier correcting method and device

Also Published As

Publication number Publication date
CN103699890B (en) 2018-05-04

Similar Documents

Publication Publication Date Title
US10013624B2 (en) Text entity recognition
KR102460737B1 (en) Method, apparatus, apparatus and computer readable storage medium for public handwriting recognition
US9055384B2 (en) Adaptive thresholding for image recognition
US9043349B1 (en) Image-based character recognition
US20170124719A1 (en) Method, device and computer-readable medium for region recognition
EP2306270B1 (en) Character input method and system
CN108700996B (en) System and method for multiple input management
KR101606469B1 (en) Method for image analysis, especially for mobile stations
JP2019505872A (en) Method and apparatus for generating a two-dimensional code image having a dynamic effect
US20160210276A1 (en) Information processing device, information processing method, and program
Lahoti et al. Android based american sign language recognition system with skin segmentation and SVM
Yin et al. CamK: A camera-based keyboard for small mobile devices
CN113711232A (en) Object detection and segmentation for inking applications
CN113687724A (en) Candidate character display method and device and electronic equipment
US20160334941A1 (en) Method and Device for Optical Handwriting Recognition
CN108536653B (en) Input method, input device and input device
CN103699890A (en) Scan input device and scan input method
US11455179B1 (en) Processing system and processing method for performing emphasis process on button object of user interface
CN114882511A (en) Handwritten Chinese character recognition method, system, equipment and storage medium based on AMNN and Chinese character structure dictionary
US10127478B2 (en) Electronic apparatus and method
KR20050003075A (en) A mobile communication device with optical character recognition and electronic dictionary, an electronic dictionary with optical character recognition
Dharsini et al. Devanagri character image recognition and conversion into text using long short term memory
Peiris Sinhala sign language to text interpreter based on machine learning
Ramjan et al. Dynamic hand gesture recognition and detection for real time using human computer interaction.
Lavania et al. Real-Time Signal Processing using AI Integrated Framework for Color and Drawing in Gesture Recognition

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant