CN1750016A - Optical character identifying treating method for mobile terminal with camera - Google Patents
Optical character identifying treating method for mobile terminal with camera Download PDFInfo
- Publication number
- CN1750016A CN1750016A CN 200410074442 CN200410074442A CN1750016A CN 1750016 A CN1750016 A CN 1750016A CN 200410074442 CN200410074442 CN 200410074442 CN 200410074442 A CN200410074442 A CN 200410074442A CN 1750016 A CN1750016 A CN 1750016A
- Authority
- CN
- China
- Prior art keywords
- character
- treating method
- camera head
- horizontal line
- optical character
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000003287 optical effect Effects 0.000 title claims abstract description 18
- 230000001143 conditioned effect Effects 0.000 claims description 4
- 230000001105 regulatory effect Effects 0.000 claims description 3
- 230000011218 segmentation Effects 0.000 claims description 3
- 238000006243 chemical reaction Methods 0.000 claims description 2
- 238000012015 optical character recognition Methods 0.000 description 17
- 238000010586 diagram Methods 0.000 description 5
- 238000003709 image segmentation Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000007639 printing Methods 0.000 description 1
Images
Landscapes
- Character Input (AREA)
Abstract
The optical character identifying and treating method for mobile terminal with camera includes the following steps: determining the area to be treated on target image, segmenting characters in the area based on the position information of the area to be treated in the image, identifying the segmented characters and treating identified result. The method of the present invention can limit the area to be character identified for subsequent text treatment, and this can reduce the interference of other in and raise the identification accuracy.
Description
Technical field
The present invention relates to optical character recognition (OCR), particularly a kind of optical character identifying treating method with the camera head portable terminal.
Background technology
Along with the development of technology, optical character recognition (OCR) has entered different applications.Discern from bar-code identification to numeral with letter, even utilize scanner to cooperate Chinese optical character recognition (OCR) software that printing word is input to computing machine.
Mobile phone, digital camera and some hand held scanning devices of OCR function have also appearred having in the prior art, it can be by taking pictures to target object, and utilize embedded OCR functional entity or image processing ics to identify useful Word message in the image of taking pictures, and store.
But, when these mobile phones or hand-held device are discerned image, generally exactly the view picture picture to be discerned, specific aim is poor, causes the error rate height of recognition result; The non-keynote message of identification is many, and important information is formed interference easily; And, owing to be that whole pictures are discerned, make that also whole processing speed is slow.
Summary of the invention
The object of the present invention is to provide a kind of optical character identifying treating method with the camera head portable terminal, it is with strong points when carrying out useful information identification, and speed is fast, and non-keynote message is disturbed few, and accuracy rate is also higher relatively.
According to above-mentioned purpose of the present invention, the present invention proposes following scheme:
A kind of optical character identifying treating method with the camera head portable terminal comprises the steps:
On target image, determine pending district;
Come out corresponding to the Character segmentation that the positional information in the image should the zone according to above-mentioned pending district;
The character of having cut apart is discerned, and the result after will discerning carries out aftertreatment.
Wherein,
On target image, determine in the method for the invention pending district available below the method realization: push down character row to be identified by the horizontal line of an aid identification; The thickness of lines and color change do not break away from protection scope of the present invention;
The height and position of described horizontal line on target image can be regulated;
An identifier that the character recognition reference position is determined is set on described horizontal line;
An identifier that the character recognition end position is determined is set on described horizontal line;
Described identifier is the sign that a round dot, trigpoint or other patterns etc. can obviously be compared with described horizontal line;
The horizontal level of this identifier on horizontal line can be conditioned;
In addition, on target image, determine pending district also available below method realize: the regional frame by an aid identification is drawn a circle to approve character row to be identified;
Wherein, this regional frame is a rectangle frame, and the actual situation of frame line does not break away from protection scope of the present invention, even the rectangular area that can only have four rectangle frame angles to be surrounded;
The height of this rectangle frame and width can be conditioned.
The contrast prior art the invention has the advantages that:
Utilize method of the present invention, when target image is carried out information Recognition, this method can directly help the cellie to limit character area to be identified targetedly, OCR subsequently only handles the literal in this localized area is handled, make the interference that non-keynote message produced reduce, the accuracy rate of recognition result also is greatly improved.
Above and other objects of the present invention, feature and advantage are from below in conjunction with accompanying drawing be not will become more obvious the specific descriptions of certain embodiments.
Description of drawings
Fig. 1 is a synoptic diagram of pushing down character row to be identified by the horizontal line of an aid identification;
Fig. 2 is a synoptic diagram of drawing a circle to approve character row to be identified by the rectangle frame of an aid identification;
Fig. 3 is the process flow diagram that the method for the invention realizes in the specific embodiment.
Specific embodiment
In the following description, known function or structure will no longer describe in detail, to avoid there be unnecessary obscuring with content of the present invention.
Scheme of the present invention comprises the steps:
On target image, determine pending district; (can push down character row to be identified) by the horizontal line of aid identification
Come out corresponding to the Character segmentation that the positional information in the image should the zone according to above-mentioned pending district; (utilizing the function of image segmentation module in the OCR functional entity)
The character of having cut apart is discerned, and the result after will discerning carries out aftertreatment.
Be that example comes the method for the invention is set forth with mobile phone capable of taking pictures below.
The hardware foundation of the OCR function in the camera mobile phone is embedded in mobile phone or external camera and the embedded digital camera images process chip of mobile phone; Shoot function is to finish arresting a sub-picture by drive software or hardware;
As shown in Figure 1, be to push down the synoptic diagram that character row to be identified is discerned by the horizontal line of an aid identification.
After starting shoot function, can demonstrate the real-time imaging of What You See Is What You Get on the screen of mobile phone in real time;
After this moment, if the cellie opened the character recognition function, OCR functional entity or the picture processing chip embedded by mobile phone a horizontal line can occur on the display screen of mobile phone;
The round dot (initial point that is equivalent to coordinate axis) that can have a mark to come out on the while horizontal line, this round dot comes out with big round point or other pattern identification;
Aim at reference object (as business card) with mobile phone, if when wanting to discern certain line character, adjust the relative position and the angle of camera and object, making this horizontal line just in time push down character to be identified is expert at, make round dot be positioned at first character to be identified position before simultaneously, press shutter and arrest a sub-picture this moment;
After perhaps arresting image,, make this horizontal line just in time push down character to be identified and be expert at, make round dot be positioned at first character to be identified position before simultaneously in the position of mobile phone adjusted horizontal line and round dot;
The OCR functional entity has utilized the relative position of this horizontal line in image to determine this auxiliary positioning information when this image is discerned, directly the character with the place, picture position extracts and discerns, and changes into the form output of ASCII character or character.
Wherein, this horizontal line on the LCD is positioned at the medium height position of LCD; By being provided with, also this horizontal height and round dot position can be changed; This height and position information is the image segmentation in the OCR functional module with the back; Extraction character function interrelates; Image segmentation algorithm in the OCR functional entity has utilized the information of this height and round dot position to carry out, and accuracy has had good assurance, for improving character identification rate, reduces false recognition rate and has made direct contribution.
The concrete processing that limits zone to be identified by horizontal line and round dot can be with reference to following method:
Input picture is after carrying out inner binary conversion treatment, and character itself is a black, and the between-line spacing place is a white;
Known this horizontal line passes character row to be identified, and first character is positioned at after the round dot;
Carry out the scanning from left to right of level respectively up and down from this horizontal line, if the summation of the gray-scale value of the pixel of scanning process during less than a less threshold value, has illustrated the coboundary of having arrived character row or lower boundary;
Thereby obtain the longitudinal boundary coordinate of character row;
Simultaneously during corresponding to the position in the photographic images, obtain the left margin of character string by round dot;
So just character string can be split from original image and be used for follow-up monocase identification.
Certainly, the height and position of horizontal line on target image can be regulated in the such scheme; The horizontal level of this identifier on horizontal line can be conditioned; Also an identifier that the character recognition end position is determined can be set on described horizontal line.
Above-mentioned this scheme can be widely used in various scenes, as to business card identification, to the identification of the information such as telephone number of billboard, to the identification of vehicle license, in for information about identification in the newpapers and periodicals literal.The purpose of utilizing camera mobile phone to discern is that speech or data communication combine, and make people's acquired information with identification and storage, and sharing information utilizes information to become convenient.
Fig. 3 is a process flow diagram of realizing such scheme.
The cellie operates, and adjusts the horizontal line and the round dot of aid identification and pushes down character row to be identified, makes round dot be positioned at the front of character to be identified;
Auxiliary horizontal of function of image segmentation module utilization splits line character corresponding to the positional information in the image in the OCR functional entity;
The character recognition functional module is discerned the character of having cut apart in the OCR functional entity;
The mobile phone operation person utilizes the character result draw, carries out aftertreatment operations such as () storing, send, dial.
Certainly, determine that on target image pending district also can pass through the regional frame delineation character row to be identified of an aid identification as shown in Figure 2; What use among Fig. 2 is that band identification character district is determined in the rectangular area that surrounded, four rectangle frame angles one by one; The relative horizontal line of this form is more directly perceived.Certainly, the height of this rectangle frame and width also can be set to adjustable.
The optical character identifying treating method of band camera head portable terminal of the present invention, be not restricted to listed utilization in instructions and the embodiment, above-mentioned this scheme also can be applied in other photographic electronic product, as digital camera, digital camera or the like, it can be applied to various suitable the present invention's field fully, for those skilled in the art, can easily realize additional advantage and make amendment, therefore under the situation of the spirit and scope of the universal that does not deviate from claim and equivalency range and limited, the present invention is not limited to specific details, representational equipment and the examples shown that illustrates here and describe.
Claims (11)
1, a kind of optical character identifying treating method with the camera head portable terminal is characterized in that, comprises the steps:
A. on target image, determine pending district;
B. come out corresponding to the Character segmentation that the positional information in the image should the zone according to above-mentioned pending district;
C. the character of having cut apart is discerned, and the result after will discerning carries out aftertreatment.
2, the optical character identifying treating method of band camera head portable terminal according to claim 1 is characterized in that, on target image, determine pending district available below the method realization: push down character row to be identified by the horizontal line of an aid identification.
3, the optical character identifying treating method of band camera head portable terminal according to claim 2 is characterized in that, the height and position of described horizontal line on target image can be regulated.
4, the optical character identifying treating method of band camera head portable terminal according to claim 2 is characterized in that, an identifier that the character recognition reference position is determined is set on described horizontal line.
5, the optical character identifying treating method of band camera head portable terminal according to claim 4 is characterized in that,
Input imagery is after carrying out inner binary conversion treatment, and character itself is a black, and the between-line spacing place is a white;
Known this horizontal line passes character row to be identified, and first character is positioned at after the described identifier;
Carry out the scanning from left to right of level respectively up and down from this horizontal line, if the summation of the gray-scale value of the pixel of scanning process during less than a less threshold value, has illustrated the coboundary of having arrived character row or lower boundary;
Thereby obtain the longitudinal boundary coordinate of character row;
Simultaneously during corresponding to the position taken in the image, obtain the left margin of character string by identifier; So just character string can be split from former image and be used for follow-up monocase identification.
6, the optical character identifying treating method of band camera head portable terminal according to claim 2 is characterized in that, an identifier that the character recognition end position is determined is set on described horizontal line.
According to the optical character identifying treating method of claim 4 or 6 described band camera head portable terminals, it is characterized in that 7, described identifier is round dot or other patterns that can obviously compare with described horizontal line.
According to the optical character identifying treating method of claim 4 or 6 described band camera head portable terminals, it is characterized in that 8, the horizontal level of this identifier on horizontal line can be conditioned.
9, the optical character identifying treating method of band camera head portable terminal according to claim 1 is characterized in that, on target image, determine pending district available below method realize: the regional frame by an aid identification is drawn a circle to approve character row to be identified.
10, the optical character identifying treating method of band camera head portable terminal according to claim 9 is characterized in that, this regional frame is a rectangle frame.
11, the optical character identifying treating method of band camera head portable terminal according to claim 10 is characterized in that, height and position or the horizontal level of this rectangle frame on target image, and the height of this rectangle frame itself and width are adjustable.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100744427A CN1310181C (en) | 2004-09-15 | 2004-09-15 | Optical character identifying treating method for mobile terminal with camera |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004100744427A CN1310181C (en) | 2004-09-15 | 2004-09-15 | Optical character identifying treating method for mobile terminal with camera |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1750016A true CN1750016A (en) | 2006-03-22 |
CN1310181C CN1310181C (en) | 2007-04-11 |
Family
ID=36605453
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004100744427A Expired - Fee Related CN1310181C (en) | 2004-09-15 | 2004-09-15 | Optical character identifying treating method for mobile terminal with camera |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1310181C (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102238326A (en) * | 2010-04-27 | 2011-11-09 | Tcl集团股份有限公司 | Method, device and photo taking equipment for performing information record on shooting object |
CN102968611A (en) * | 2011-08-05 | 2013-03-13 | 索尼公司 | Information processor and information processing method |
CN103154974A (en) * | 2011-03-07 | 2013-06-12 | 株式会社Ntt都科摩 | Character recognition device, character recognition method, character recognition system, and character recognition program |
CN103595861A (en) * | 2013-10-23 | 2014-02-19 | 南京邮电大学 | Method for enabling terminal to identify phone number and automatically dial or send text message |
CN104239888A (en) * | 2014-09-10 | 2014-12-24 | 河海大学 | Method for positioning steel seal characters annularly distributed on water meter plate |
CN104915332A (en) * | 2015-06-15 | 2015-09-16 | 广东欧珀移动通信有限公司 | Method and device for generating composing template |
CN105373790A (en) * | 2015-10-23 | 2016-03-02 | 北京汉王数字科技有限公司 | Layout analysis method and device |
CN105574523A (en) * | 2014-10-31 | 2016-05-11 | 株式会社东芝 | Character recognition device and method, image display device, and image retrieval device |
CN107408289A (en) * | 2015-03-27 | 2017-11-28 | 株式会社日立产机系统 | Print inspection method and use its printing inspection apparatus and printing inspection apparatus main body |
CN107861667A (en) * | 2017-11-29 | 2018-03-30 | 维沃移动通信有限公司 | A kind of aligning method and mobile terminal of desktop application icon |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH01112388A (en) * | 1987-10-26 | 1989-05-01 | Ricoh Co Ltd | Character recognizing method |
US5272764A (en) * | 1989-12-08 | 1993-12-21 | Xerox Corporation | Detection of highlighted regions |
GB9809679D0 (en) * | 1998-05-06 | 1998-07-01 | Xerox Corp | Portable text capturing method and device therefor |
IL155821A0 (en) * | 2000-11-17 | 2003-12-23 | Weitman Jacob | Applications for mobile digital camera that distinguish between text and image-information in an image |
CN1489359A (en) * | 2002-10-08 | 2004-04-14 | 宋柏君 | OCR mobile phone |
CN2587124Y (en) * | 2002-10-22 | 2003-11-19 | 宋柏君 | Embedded OCR mobile phone |
-
2004
- 2004-09-15 CN CNB2004100744427A patent/CN1310181C/en not_active Expired - Fee Related
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102238326A (en) * | 2010-04-27 | 2011-11-09 | Tcl集团股份有限公司 | Method, device and photo taking equipment for performing information record on shooting object |
CN103154974A (en) * | 2011-03-07 | 2013-06-12 | 株式会社Ntt都科摩 | Character recognition device, character recognition method, character recognition system, and character recognition program |
CN102968611A (en) * | 2011-08-05 | 2013-03-13 | 索尼公司 | Information processor and information processing method |
CN103595861A (en) * | 2013-10-23 | 2014-02-19 | 南京邮电大学 | Method for enabling terminal to identify phone number and automatically dial or send text message |
CN104239888A (en) * | 2014-09-10 | 2014-12-24 | 河海大学 | Method for positioning steel seal characters annularly distributed on water meter plate |
CN104239888B (en) * | 2014-09-10 | 2017-06-30 | 河海大学 | One kind is based on Water meter disc-annular shape arrangement embossing seal character localization method |
CN105574523A (en) * | 2014-10-31 | 2016-05-11 | 株式会社东芝 | Character recognition device and method, image display device, and image retrieval device |
CN107408289B (en) * | 2015-03-27 | 2020-12-25 | 株式会社日立产机系统 | Printing inspection method, printing inspection apparatus using the same, and printing inspection apparatus main body |
CN107408289A (en) * | 2015-03-27 | 2017-11-28 | 株式会社日立产机系统 | Print inspection method and use its printing inspection apparatus and printing inspection apparatus main body |
CN104915332B (en) * | 2015-06-15 | 2017-09-15 | 广东欧珀移动通信有限公司 | A kind of method and device for generating layout template |
CN104915332A (en) * | 2015-06-15 | 2015-09-16 | 广东欧珀移动通信有限公司 | Method and device for generating composing template |
CN105373790A (en) * | 2015-10-23 | 2016-03-02 | 北京汉王数字科技有限公司 | Layout analysis method and device |
CN105373790B (en) * | 2015-10-23 | 2019-02-05 | 北京汉王数字科技有限公司 | Printed page analysis method and apparatus |
CN107861667A (en) * | 2017-11-29 | 2018-03-30 | 维沃移动通信有限公司 | A kind of aligning method and mobile terminal of desktop application icon |
Also Published As
Publication number | Publication date |
---|---|
CN1310181C (en) | 2007-04-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3163504B1 (en) | Method, device and computer-readable medium for region extraction | |
CN1254761C (en) | Personal identification system and method | |
US20080144971A1 (en) | Model-based dewarping method and apparatus | |
CN1691050A (en) | 2D rectangular code symbol scanning device and 2D rectangular code symbol scanning method | |
CN1734472A (en) | Generate the method and apparatus of deterioration character picture | |
CN107992869B (en) | Method and device for correcting tilted characters and electronic equipment | |
CN1750016A (en) | Optical character identifying treating method for mobile terminal with camera | |
KR20130066819A (en) | Apparus and method for character recognition based on photograph image | |
EP3550472A1 (en) | Method and device for obtaining image of form sheet | |
CN112418214B (en) | Vehicle identification code identification method and device, electronic equipment and storage medium | |
CN1804858A (en) | Novel assistant positioning system for implementing OCR function on mobile terminals with camera | |
CN101727581B (en) | Plate number tilt correcting method based on character pre-cut | |
CN1878182A (en) | Name card input recognition mobile phone and its recognizing method | |
US20210004626A1 (en) | Method and system for automatic license-plate recognition | |
CN116009749A (en) | Handwritten character erasing method and system based on attention mechanism | |
CN104346596A (en) | Identification method and identification device for QR (Quick Response) code | |
KR100569194B1 (en) | Correction method of geometrical distortion for document image by camera | |
US5920649A (en) | Braille recognition system with ternary-coding | |
CN109241807B (en) | Remote two-dimensional code positioning method | |
CN110610163A (en) | Table extraction method and tool based on ellipse fitting in natural scene | |
CN116341586A (en) | Code scanning method, electronic equipment and storage medium | |
Nwokoma et al. | Camera-based OCR scene text detection issues: A review | |
CN1303496A (en) | Device and method for recording hand-written information | |
CN113159037A (en) | Picture rectification method and device, computer equipment and storage medium | |
CN1301490C (en) | Method for deciding background color according to area in optical character recognition of mobile terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20070411 Termination date: 20120915 |