CN110490204A - Image processing method, image processing apparatus and terminal - Google Patents
Image processing method, image processing apparatus and terminal Download PDFInfo
- Publication number
- CN110490204A CN110490204A CN201910625191.3A CN201910625191A CN110490204A CN 110490204 A CN110490204 A CN 110490204A CN 201910625191 A CN201910625191 A CN 201910625191A CN 110490204 A CN110490204 A CN 110490204A
- Authority
- CN
- China
- Prior art keywords
- character
- character picture
- foreground pixel
- pixel point
- image processing
- 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
- 238000012545 processing Methods 0.000 title claims abstract description 50
- 238000003672 processing method Methods 0.000 title claims abstract description 21
- 238000003860 storage Methods 0.000 claims abstract description 16
- 230000002708 enhancing effect Effects 0.000 claims abstract description 10
- 238000004590 computer program Methods 0.000 claims description 21
- 230000011218 segmentation Effects 0.000 claims description 4
- 238000000034 method Methods 0.000 description 19
- 230000006870 function Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 239000000976 ink Substances 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 241001270131 Agaricus moelleri Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000010485 coping Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 238000007639 printing Methods 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T5/00—Image enhancement or restoration
- G06T5/90—Dynamic range modification of images or parts thereof
- G06T5/94—Dynamic range modification of images or parts thereof based on local image properties, e.g. for local contrast enhancement
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/26—Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
- G06V10/273—Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion removing elements interfering with the pattern to be recognised
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/10—Terrestrial scenes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/14—Image acquisition
- G06V30/148—Segmentation of character regions
- G06V30/153—Segmentation of character regions using recognition of characters or words
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Character Input (AREA)
Abstract
The present invention is suitable for image identification technical field, provides a kind of image processing method, image processing apparatus, terminal and computer readable storage medium.Wherein, described image processing method includes: the corresponding character picture of character zone obtained in image;Calculate the gray average of the character picture;The foreground pixel point of the character picture is determined according to preset ratio;The foreground pixel point for being less than the gray average to gray value in the character picture carries out grey level enhancement processing.Present invention robustness with higher and computational efficiency can effectively realize that the enhancing to the indistinct code character in image is corrected, and be conducive to improve the recognition efficiency of character and recognition accuracy in image.
Description
Technical field
The invention belongs to image identification technical field more particularly to a kind of image processing method, image processing apparatus, terminals
And computer readable storage medium.
Background technique
Currently, bill handling apparatus includes that bill provides module and ticket recipient module in bill operation;Provide or
In received treatment process, require to acquire bill images by imaging sensor.
However, in some cases, due to the printing issues of character on bill, character may be will appear in bill images and beaten
Print is not complete, character is default or the non-uniform situation of legend ink;In addition, image passes in the collection process of bill images
Parameter, the angle of light compensating lamp of sensor can all influence the quality of bill images.Therefore, the above problem to occur on bill images
The unsharp problem of character influences recognition efficiency and the recognition accuracy of character.
Summary of the invention
In view of this, the present invention provides a kind of image processing method, image processing apparatus, terminal and computer-readable depositing
Storage media, to solve in the prior art due to the unintelligible recognition efficiency for influencing character of character and recognition accuracy on bill images
The problem of.
The first aspect of the embodiment of the present invention provides a kind of image processing method, comprising:
Obtain the corresponding character picture of character zone in image;
Calculate the gray average of the character picture;
The foreground pixel point of the character picture is determined according to preset ratio;
The foreground pixel point for being less than the gray average to gray value in the character picture carries out grey level enhancement processing.
The second aspect of the embodiment of the present invention provides a kind of image processing apparatus, comprising:
Character picture acquiring unit, for obtaining the corresponding character picture of the character zone in image;
First computing unit, for calculating the gray average of the character picture;
Foreground pixel determination unit, for determining the foreground pixel point of the character picture according to preset ratio;
Gray scale processing unit, the foreground pixel for being less than the gray average to gray value in the character picture click through
The processing of row grey level enhancement.
The third aspect of the embodiment of the present invention provides a kind of terminal, including memory, processor and is stored in described
In memory and the computer program that can run on the processor, the processor are realized when executing the computer program
Such as the step of any one described image processing method.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, is realized when the computer program is executed by processor such as any one described image processing method
The step of.
Existing beneficial effect is the present invention compared with prior art:
The present invention is by obtaining the corresponding character picture of character zone in image;The gray scale for calculating the character picture is equal
Value;The foreground pixel point of the character picture is determined according to preset ratio;The ash is less than to gray value in the character picture
The foreground pixel point for spending mean value carries out grey level enhancement processing.The present invention is not related to fixed threshold to the treatment process of image, does not adopt
With iterative processing means, the determination of foreground pixel point is only carried out by preset ratio, robustness and computational efficiency with higher,
It can effectively realize that the enhancing to the indistinct code character in image is corrected, be conducive to improve the recognition efficiency of character and knowledge in image
Other accuracy.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the implementation flow chart of image processing method provided in an embodiment of the present invention;
Fig. 2 is the structural schematic diagram of image processing apparatus provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed
Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific
The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, in case unnecessary details interferes description of the invention.
To make the object, technical solutions and advantages of the present invention clearer, pass through specific embodiment below in conjunction with attached drawing
To be illustrated.
Referring to Fig. 1, it illustrates the implementation flow charts of image processing method provided in an embodiment of the present invention, and details are as follows:
In a step 101, the corresponding character picture of character zone in image is obtained;
In embodiments of the present invention, image to be processed is the image comprising character, by obtaining the character area in image
The corresponding character picture in domain is in order to the subsequent processing of character picture progress.Illustratively, the character picture can be packet
The image of a rectangular area containing monocase is also possible to the image of a rectangular area comprising multiple characters.
Optionally, above-mentioned steps 101 may include: the character zone positioned in described image;To the character zone into
Line character cutting, obtains the character picture for including at least a character.
It in embodiments of the present invention, can be specific to reality of the character on bill when processing applied to bill images
Border position obtains the coordinate of character zone, and determines character zone on the image according to coordinate.
In another application scenarios, the spy can also be based on the image according to the particular color of character to be processed
Determine the positioning that color carries out character zone.
After navigating to character zone, monocase image can be obtained to Character segmentation, or comprising two characters
Image, or the image comprising three characters.
In a step 102, the gray average of the character picture is calculated.
In embodiments of the present invention, the gray average of above-mentioned calculating is the gray average of all pixels point on character picture.
In step 103, the foreground pixel point of the character picture is determined according to preset ratio;
In embodiments of the present invention, above-mentioned preset ratio is based on to foreground pixel on a certain number of relevant character images
What the gray value accounting of point was counted.Illustratively, for bill images, the specific character region on bill is to be based on
What same ink print got on.So, illustratively, for the character picture of black character and white background, all pictures
In vegetarian refreshments, the pixel of gray value minimum (brightness is most dark) should be the corresponding pixel (foreground pixel of black character pattern
Point), moreover, the gray value of the corresponding pixel of actually all black character patterns should certain gray scales it
Interior, that is, no matter character is number or letter, either number 0 or number 9, all pixels point of character picture is corresponding
Gray value in, the corresponding pixel of lesser a certain proportion of gray value should be the corresponding pixel of black character pattern.
In embodiments of the present invention, it can be counted by the character picture to a certain number of identical pad-inks,
An available ratio, the corresponding pixel of gray value of the ratio should be all prospect picture in the pixel grey scale of character picture
Vegetarian refreshments is all background pixel point.
Optionally, above-mentioned steps 103 may include:
Count the gray value of each pixel of the character picture;By the pixel of the lesser preset ratio of gray value
It is determined as the foreground pixel point of the character picture.
Illustratively, for the character picture of a bright bottom dark word, regardless of its character shape, all pixels point
Lesser 15% gray value can correspond to foreground pixel point in gray value, and biggish 85% gray value can correspond to carry on the back
Scene vegetarian refreshments.
Therefore, based on the above-mentioned ratio counted, the foreground pixel point and background pixel point of character picture may be implemented
Division.
Correspondingly, above-mentioned steps 103 should for the character picture of dark bottom bright word are as follows: count each of the character picture
The gray value of pixel;The pixel of the biggish preset ratio of gray value is determined as to the foreground pixel of the character picture
Point.
At step 104, the foreground pixel point for being less than the gray average to gray value in the character picture carries out ash
Spend enhancing processing.
In embodiments of the present invention, the corresponding prospect picture of character pattern in character picture can be determined by preset ratio
Vegetarian refreshments then can carry out grey level enhancement processing for the corresponding foreground pixel point of character pattern in character picture, so that its
It is more clear.Specifically, the character picture of bright bottom dark word can be further decreased the gray value of its foreground pixel point, be made
It is darker;For the character picture of dark bottom bright word, it can be further improved the gray value of its foreground pixel point, be allowed to brighter.Separately
Outside, can also be handled by grey level enhancement allows the gray value of foreground pixel point to be uniformly distributed, so that its character pattern profile is more clear
It is clear.
Optionally, the foreground pixel point for being less than the gray average to gray value in the character picture carries out gray scale
Enhancing processing includes: to replace with the gray value for the foreground pixel point that gray value in the character picture is less than the gray average
Specified gray value.
In embodiments of the present invention, specified gray value can be determined based on the corresponding actual grey of character pattern, character
In image gray value be less than the gray average foreground pixel point be the not high foreground pixel point of pixel qualities, by by its
Specified gray value is replaced with, the gray-level correction of the foreground pixel point not high to pixel qualities may be implemented, so that character pattern is more
It is clear to add.
Optionally, it is replaced in the gray value for the foreground pixel point that gray value in the character picture is less than to the gray average
It is changed to before specified gray value further include:
Count the gray average of foreground pixel point in the character picture;By the ash of foreground pixel point in the character picture
Degree mean value is denoted as the specified gray value.
It in embodiments of the present invention, can be using the gray average of foreground pixel point in the character picture of statistics as specified ash
Angle value, the foreground pixel point for being less than the gray average to gray value in character picture carry out gray scale replacement.
It optionally, can also include: to be carried out based on the character picture after enhancing processing after above-mentioned steps 104
Character recognition, the corresponding gray value of character pattern after enhancing processing in character picture is more uniform, with background pixel point
Gray scale difference value becomes larger, and character pattern is more clear, so as to improve the efficiency and accuracy of character recognition.
From the foregoing, it will be observed that the present invention is by obtaining the corresponding character picture of character zone in image;Calculate the character figure
The gray average of picture;The foreground pixel point of the character picture is determined according to preset ratio;To gray value in the character picture
Foreground pixel point less than the gray average carries out grey level enhancement processing.The present invention is not related to fixing to the treatment process of image
Threshold value, do not use iterative processing means, only by preset ratio carry out foreground pixel point determination, robustness with higher with
Computational efficiency can effectively realize that the enhancing to the indistinct code character in image is corrected, and be conducive to the knowledge for improving character in image
Other efficiency and recognition accuracy.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit
It is fixed.
The following are the device of the invention embodiments can refer to above-mentioned corresponding the details of wherein not detailed description
Embodiment of the method.
Fig. 2 shows the structural schematic diagrams of image processing apparatus provided in an embodiment of the present invention, for ease of description, only show
Go out part related to the embodiment of the present invention, details are as follows:
As shown in Fig. 2, image processing apparatus 2 includes: character picture acquiring unit 21, the first computing unit 22, prospect picture
Plain determination unit 23 and gray scale processing unit 24.
Character picture acquiring unit 21, for obtaining the corresponding character picture of the character zone in image;
First computing unit 22, for calculating the gray average of the character picture;
Foreground pixel determination unit 23, for determining the foreground pixel point of the character picture according to preset ratio;
Gray scale processing unit 24, for being less than the foreground pixel point of the gray average to gray value in the character picture
Carry out grey level enhancement processing.
Optionally, image processing apparatus 2 further include:
Character zone positioning unit, for positioning the character zone in described image;
The character picture acquiring unit is specifically used for, and carries out Character segmentation to the character zone, is included at least
The character picture of one character.
Optionally, image processing apparatus 2 further include:
Gray value statistic unit, the gray value of each pixel for counting the character picture;
Foreground pixel determination unit 23 is specifically used for, and the pixel of the lesser preset ratio of gray value is determined as institute
State the foreground pixel point of character picture.
Optionally, gray scale processing unit 24 is specifically used for, and gray value in the character picture is less than the gray average
The gray value of foreground pixel point replace with specified gray value.
Optionally, image processing apparatus 2 further include:
Specified gray value determination unit is used to be less than gray value in the character picture in gray scale processing unit 24 described
Before the gray value of the foreground pixel point of gray average replaces with specified gray value, foreground pixel point in the character picture is counted
Gray average, and the gray average of foreground pixel point in the character picture is denoted as the specified gray value.
From the foregoing, it will be observed that the present invention is by obtaining the corresponding character picture of character zone in image;Calculate the character figure
The gray average of picture;The foreground pixel point of the character picture is determined according to preset ratio;To gray value in the character picture
Foreground pixel point less than the gray average carries out grey level enhancement processing.The present invention is not related to fixing to the treatment process of image
Threshold value, do not use iterative processing means, only by preset ratio carry out foreground pixel point determination, robustness with higher with
Computational efficiency can effectively realize that the enhancing to the indistinct code character in image is corrected, and be conducive to the knowledge for improving character in image
Other efficiency and recognition accuracy.
Fig. 3 is the schematic diagram for the terminal that one embodiment of the invention provides.As shown in figure 3, the terminal 3 of the embodiment includes:
Processor 30, memory 31 and it is stored in the computer program that can be run in the memory 31 and on the processor 30
32.The processor 30 realizes the step in above-mentioned each image processing method embodiment when executing the computer program 32,
Such as step 101 shown in FIG. 1 is to step 104.Alternatively, the processor 30 realized when executing the computer program 32 it is above-mentioned
The function of each module/unit in each Installation practice, such as the function of unit 21 to 24 shown in Fig. 2.
Illustratively, the computer program 32 can be divided into one or more module/units, it is one or
Multiple module/units are stored in the memory 31, and are executed by the processor 30, to complete the present invention.Described one
A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for
Implementation procedure of the computer program 32 in the terminal 3 is described.For example, the computer program 32 can be divided into
Character picture acquiring unit 21, the first computing unit 22, foreground pixel determination unit 23 and gray scale processing unit 24, each unit tool
Body function is as follows:
Character picture acquiring unit 21, for obtaining the corresponding character picture of the character zone in image;
First computing unit 22, for calculating the gray average of the character picture;
Foreground pixel determination unit 23, for determining the foreground pixel point of the character picture according to preset ratio;
Gray scale processing unit 24, for being less than the foreground pixel point of the gray average to gray value in the character picture
Carry out grey level enhancement processing.
The terminal 3 can be desktop PC, notebook, palm PC and cloud server etc. and calculate equipment.Institute
Stating terminal may include, but be not limited only to, processor 30, memory 31.It will be understood by those skilled in the art that Fig. 3 is only eventually
The example at end 3, the not restriction of structure paired terminal 3 may include than illustrating more or fewer components, or the certain portions of combination
Part or different components, such as the terminal can also include input-output equipment, network access equipment, bus etc..
Alleged processor 30 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 31 can be the internal storage unit of the terminal 3, such as the hard disk or memory of terminal 3.It is described
Memory 31 is also possible to the External memory equipment of the terminal 3, such as the plug-in type hard disk being equipped in the terminal 3, intelligence
Storage card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card)
Deng.Further, the memory 31 can also both include the internal storage unit of the terminal 3 or set including external storage
It is standby.The memory 31 is for other programs and data needed for storing the computer program and the terminal.It is described to deposit
Reservoir 31 can be also used for temporarily storing the data that has exported or will export.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each function
Can unit, module division progress for example, in practical application, can according to need and by above-mentioned function distribution by different
Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completing
The all or part of function of description.Each functional unit in embodiment, module can integrate in one processing unit, can also
To be that each unit physically exists alone, can also be integrated in one unit with two or more units, it is above-mentioned integrated
Unit both can take the form of hardware realization, can also realize in the form of software functional units.In addition, each function list
Member, the specific name of module are also only for convenience of distinguishing each other, the protection scope being not intended to limit this application.Above system
The specific work process of middle unit, module, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal and method can pass through
Other modes are realized.For example, device/terminal embodiment described above is only schematical, for example, the module or
The division of unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units
Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute
Display or the mutual coupling or direct-coupling or communication connection discussed can be through some interfaces, device or unit
INDIRECT COUPLING or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or
In use, can store in a computer readable storage medium.Based on this understanding, the present invention realizes above-mentioned implementation
All or part of the process in example method, can also instruct relevant hardware to complete, the meter by computer program
Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on
The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation
Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium
It may include: any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic that can carry the computer program code
Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described
The content that computer-readable medium includes can carry out increasing appropriate according to the requirement made laws in jurisdiction with patent practice
Subtract, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and
Telecommunication signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of image processing method, which is characterized in that described image processing method includes:
Obtain the corresponding character picture of character zone in image;
Calculate the gray average of the character picture;
The foreground pixel point of the character picture is determined according to preset ratio;
The foreground pixel point for being less than the gray average to gray value in the character picture carries out grey level enhancement processing.
2. image processing method according to claim 1, which is characterized in that the character zone obtained in image is corresponding
Character picture include:
Position the character zone in described image;
Character segmentation is carried out to the character zone, obtains the character picture for including at least a character.
3. image processing method according to claim 1, which is characterized in that described to determine the character according to preset ratio
The foreground pixel point of image includes:
Count the gray value of each pixel of the character picture;
The pixel of the lesser preset ratio of gray value is determined as to the foreground pixel point of the character picture.
4. image processing method according to claim 1, which is characterized in that described small to gray value in the character picture
Carrying out grey level enhancement processing in the foreground pixel point of the gray average includes:
The gray value that gray value in the character picture is less than the foreground pixel point of the gray average is replaced with into specified gray scale
Value.
5. image processing method according to claim 4, which is characterized in that be less than by gray value in the character picture
The gray value of the foreground pixel point of the gray average replaces with before specified gray value further include:
Count the gray average of foreground pixel point in the character picture;
The gray average of foreground pixel point in the character picture is denoted as the specified gray value.
6. image processing method according to any one of claims 1 to 5, which is characterized in that in the character picture
The foreground pixel point that gray value is less than the gray average carries out after grey level enhancement processing further include:
Character recognition is carried out based on the character picture after enhancing processing.
7. a kind of image processing apparatus, which is characterized in that described image, which is handled, includes:
Character picture acquiring unit, for obtaining the corresponding character picture of the character zone in image;
First computing unit, for calculating the gray average of the character picture;
Foreground pixel determination unit, for determining the foreground pixel point of the character picture according to preset ratio;
Gray scale processing unit, the foreground pixel point for being less than the gray average to gray value in the character picture carry out ash
Spend enhancing processing.
8. image processing apparatus according to claim 7, which is characterized in that described image processing unit further include:
Character zone positioning unit, for positioning the character zone in described image;
The character picture acquiring unit is specifically used for, and carries out Character segmentation to the character zone, obtains and include at least one
The character picture of character.
9. a kind of terminal, including memory, processor and storage can be run in the memory and on the processor
Computer program, which is characterized in that the processor realizes claim 1 to 6 as above when executing the computer program
Any one of described image processing method the step of.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In the computer program realizes any one of claims 1 to 6 described image processing method as above when being executed by processor
The step of.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910625191.3A CN110490204B (en) | 2019-07-11 | 2019-07-11 | Image processing method, image processing device and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910625191.3A CN110490204B (en) | 2019-07-11 | 2019-07-11 | Image processing method, image processing device and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110490204A true CN110490204A (en) | 2019-11-22 |
CN110490204B CN110490204B (en) | 2022-07-15 |
Family
ID=68546994
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910625191.3A Active CN110490204B (en) | 2019-07-11 | 2019-07-11 | Image processing method, image processing device and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110490204B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111080554A (en) * | 2019-12-20 | 2020-04-28 | 成都极米科技股份有限公司 | Method and device for enhancing subtitle area in projection content and readable storage medium |
CN112017352A (en) * | 2020-09-03 | 2020-12-01 | 平安科技(深圳)有限公司 | Certificate authentication method, device, equipment and readable storage medium |
CN113052176A (en) * | 2021-04-09 | 2021-06-29 | 平安国际智慧城市科技股份有限公司 | Character recognition model training method, device and system |
CN113781351A (en) * | 2021-09-16 | 2021-12-10 | 广州安方生物科技有限公司 | Image processing method, apparatus and computer-readable storage medium |
CN117115799A (en) * | 2023-09-11 | 2023-11-24 | 广州市西克传感器有限公司 | Tire character recognition method based on laser line scanning 3D camera |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102136064A (en) * | 2011-03-24 | 2011-07-27 | 成都四方信息技术有限公司 | System for recognizing characters from image |
CN106247969A (en) * | 2016-09-21 | 2016-12-21 | 哈尔滨工业大学 | A kind of deformation detecting method of industrial magnetic core element based on machine vision |
US20180046876A1 (en) * | 2016-08-10 | 2018-02-15 | Pfu Limited | Image-processing apparatus, image-processing method, and computer program product |
CN107992874A (en) * | 2017-12-20 | 2018-05-04 | 武汉大学 | Image well-marked target method for extracting region and system based on iteration rarefaction representation |
CN108205671A (en) * | 2016-12-16 | 2018-06-26 | 浙江宇视科技有限公司 | Image processing method and device |
-
2019
- 2019-07-11 CN CN201910625191.3A patent/CN110490204B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102136064A (en) * | 2011-03-24 | 2011-07-27 | 成都四方信息技术有限公司 | System for recognizing characters from image |
US20180046876A1 (en) * | 2016-08-10 | 2018-02-15 | Pfu Limited | Image-processing apparatus, image-processing method, and computer program product |
CN106247969A (en) * | 2016-09-21 | 2016-12-21 | 哈尔滨工业大学 | A kind of deformation detecting method of industrial magnetic core element based on machine vision |
CN108205671A (en) * | 2016-12-16 | 2018-06-26 | 浙江宇视科技有限公司 | Image processing method and device |
CN107992874A (en) * | 2017-12-20 | 2018-05-04 | 武汉大学 | Image well-marked target method for extracting region and system based on iteration rarefaction representation |
Non-Patent Citations (1)
Title |
---|
范焱: "可配置的机动车牌照识别系统", 《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111080554A (en) * | 2019-12-20 | 2020-04-28 | 成都极米科技股份有限公司 | Method and device for enhancing subtitle area in projection content and readable storage medium |
CN112017352A (en) * | 2020-09-03 | 2020-12-01 | 平安科技(深圳)有限公司 | Certificate authentication method, device, equipment and readable storage medium |
CN112017352B (en) * | 2020-09-03 | 2022-12-06 | 平安科技(深圳)有限公司 | Certificate authentication method, device, equipment and readable storage medium |
CN113052176A (en) * | 2021-04-09 | 2021-06-29 | 平安国际智慧城市科技股份有限公司 | Character recognition model training method, device and system |
CN113781351A (en) * | 2021-09-16 | 2021-12-10 | 广州安方生物科技有限公司 | Image processing method, apparatus and computer-readable storage medium |
CN113781351B (en) * | 2021-09-16 | 2023-12-08 | 广州安方生物科技有限公司 | Image processing method, apparatus and computer readable storage medium |
CN117115799A (en) * | 2023-09-11 | 2023-11-24 | 广州市西克传感器有限公司 | Tire character recognition method based on laser line scanning 3D camera |
Also Published As
Publication number | Publication date |
---|---|
CN110490204B (en) | 2022-07-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110490204A (en) | Image processing method, image processing apparatus and terminal | |
WO2017121018A1 (en) | Method and apparatus for processing two-dimensional code image, and terminal and storage medium | |
CN108615253B (en) | Image generation method, device and computer readable storage medium | |
CN107393118B (en) | A kind of recognition methods of bank note, device, terminal device and computer storage medium | |
CN110969046B (en) | Face recognition method, face recognition device and computer-readable storage medium | |
EP3807812A1 (en) | Digital image generation through an active lighting system | |
CN110458998A (en) | Bill detection method, bill detection device and terminal | |
CN108764139B (en) | Face detection method, mobile terminal and computer readable storage medium | |
CN110473333A (en) | Detection method, detection device and the terminal of note number | |
CN112396050B (en) | Image processing method, device and storage medium | |
CN110675334A (en) | Image enhancement method and device | |
CN112365418A (en) | Image distortion evaluation method and device and computer equipment | |
CN111724396B (en) | Image segmentation method and device, computer readable storage medium and electronic equipment | |
CN111368587A (en) | Scene detection method and device, terminal equipment and computer readable storage medium | |
CN109309826A (en) | A kind of image color equalization methods and terminal | |
CN113592776A (en) | Image processing method and device, electronic device and storage medium | |
CN107492187B (en) | A kind of recognition methods, device, terminal device and storage medium splicing paper money | |
CN112862703B (en) | Image correction method and device based on mobile photographing, electronic equipment and medium | |
CN113487473A (en) | Method and device for adding image watermark, electronic equipment and storage medium | |
CN114493988A (en) | Image blurring method, image blurring device and terminal equipment | |
CN113012068A (en) | Image denoising method and device, electronic equipment and computer readable storage medium | |
CN111340722A (en) | Image processing method, processing device, terminal device and readable storage medium | |
CN114219774B (en) | Image quality evaluation method, device, terminal and computer readable storage medium | |
CN109543554A (en) | Bill detection method, device, terminal and computer readable storage medium | |
Zhou et al. | An improved algorithm using weighted guided coefficient and union self‐adaptive image enhancement for single image haze removal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |