Digital image processing system and method for bill image character recognition
By introducing color pre-storage, image shooting, comparison and integrity judgment modules into the bill image character recognition system, the difficulty of processing incomplete bills in the existing technology is solved, and complete recovery and accurate recognition of bill images are achieved.
Patent Information
- Application Number
- CN202111312322.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-08
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2041-11-08
AI Technical Summary
Existing digital image processing systems and methods applied to bill image character recognition can usually only perform simple image processing on complete bills, and cannot effectively process partially incomplete or damaged bills, resulting in increased processing difficulty.
A digital image processing system including a color pre-storage module, an image shooting module, an image extraction module, a comparison judgment module, an integrity judgment module and a complete recovery module is designed. By pre-predicting the color, size, position and pattern of the bill, Store, photograph, compare and restore to ensure the integrity and accuracy of notes.
Effective processing of incomplete bills is achieved, and the missing parts are supplemented through the comparison and recovery module to ensure the integrity and accuracy of the bill image, which solves the difficulty of processing incomplete bills in the existing technology.
Smart Images

Figure CN114022661B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of digital image processing, and in particular to a digital image processing system and method for bill image character recognition. Background Art
[0002] A bill of exchange refers to a negotiable instrument issued by the issuer in accordance with the law, which unconditionally stipulates that the issuer himself or others are required to pay a certain amount of money, such as bills of exchange, promissory notes and checks. It is a payment tool that can be circulated, guaranteed and financed. It also refers to a voucher for payment or transportation of goods. Image recognition refers to the technology of using computers to process, analyze and understand images to identify various different patterns of targets and objects. In the process of recognizing the image characters of bills, a digital image processing system is required, and thus a digital image processing system and method for bill image character recognition is required.
[0003] The existing digital image processing systems and methods applied to bill image character recognition can usually only perform simple image processing on complete bills. However, in daily life, bills are often partially incomplete or damaged, which makes it difficult to process digital images of such bills. For this reason, we propose a digital image processing system and method for bill image character recognition. Summary of the invention
[0004] The purpose of the present invention is to provide a digital image processing system and method for bill image character recognition, so as to solve the problem raised in the above background technology that the existing digital image processing systems and methods for bill image character recognition can usually only perform simple image processing on complete bills, but in daily life, bills are often partially incomplete or damaged, which makes it difficult to process digital images of such bills.
[0005] To achieve the above-mentioned purpose, the present invention provides the following technical solution: a digital image processing system and method for bill image character recognition, comprising:
[0006] A color pre-storage module, wherein the electrical output end of the color pre-storage module is connected to an image capture module, and the electrical output end of the image capture module is connected to an image extraction module, the electrical output end of the image extraction module is respectively connected to a comparison and judgment module and an integrity judgment module, and the electrical output end of the comparison and judgment module is respectively connected to a color difference detection module and a matching and positioning module;
[0007] A size pre-storage module, which is connected to the electrical input end of the matching and positioning module, the electrical output end of the matching and positioning module is connected to a displacement detection module, and the electrical output end of the displacement detection module is connected to a PLC control module;
[0008] An image processing module connected to the electrical output end of the PLC control module, wherein the electrical output end of the image processing module is connected to a character and image display module;
[0009] A complete recovery module is connected to the electrical output end of the integrity judgment module, the image extraction module and the integrity judgment module are connected in series, the integrity judgment module and the complete recovery module are connected in series, and the comparison judgment module and the integrity judgment module are connected in parallel.
[0010] Preferably, the color pre-storage module, the image shooting module, the image extraction module and the comparison and judgment module are connected in series, and the comparison and judgment module and the color difference detection module are connected in series.
[0011] Preferably, the color difference detection module and the matching and positioning module are connected in parallel, and the size pre-storage module, the matching and positioning module and the displacement detection module are connected in series.
[0012] Preferably, the displacement detection module is electrically connected to the PLC control module via a wire, and the color difference detection module is electrically connected to the PLC control module via a wire.
[0013] Preferably, the image processing module is electrically connected to the PLC control module via a wire, and the PLC control module, the image processing module and the character and image display module are connected in series.
[0014] Preferably, the comparison and judgment module is further provided with:
[0015] The character comparison module and the image comparison module are respectively arranged in the comparison and judgment module.
[0016] Preferably, the comparison and judgment module includes a character comparison module and an image comparison module, and the character comparison module and the image comparison module are connected in parallel.
[0017] Preferably, the image processing module further comprises:
[0018] The brightness adjustment module, the color difference restoration module and the position correction module are respectively arranged in the image processing module.
[0019] Preferably, the image processing module includes a brightness adjustment module, a color difference restoration module and a position correction module, and the brightness adjustment module, the color difference restoration module and the position correction module are connected in parallel.
[0020] The digital image processing method applied to bill image character recognition comprises the following steps:
[0021] S1. Pre-storing the original colors of bills through a color pre-storage module, and pre-storing various bill size information through a size pre-storage module;
[0022] S2, placing the actual bill under the image shooting module, shooting the actual bill through the image shooting module, and after shooting, extracting multiple regular standard bill images pre-stored in the image pre-storage module through the image extraction module;
[0023] S3, comparing the actual bill with the pre-stored bill through the comparison and judgment module, and comparing the character information of the actual bill with the pre-stored data through the character comparison module, and comparing the image information of the actual bill with the pre-stored data one by one through the image comparison module, and comparing the face value, pattern, etc. of the stored bill to determine whether the extracted bill is the same type of bill as the actual bill, and whether the two are comparable. If not, the pre-stored image is extracted again through the image extraction module until the same type of bill is extracted;
[0024] S4. When the extracted image is appropriate, the integrity judgment module compares the actual bill photographed with the bill extracted by the image extraction module, and compares the blank part of the bill pattern to determine whether the photographed bill has a complete pattern. If it is determined to be an incomplete bill, the integrity recovery module analyzes the coincidence between the photographed bill and the pre-stored bill, and copies the pre-stored pattern to the recognized bill, so as to fill in the missing part of the photographed bill and restore it to a complete bill image;
[0025] S5. Processing nonstandard bill information with incomplete position, color and pattern through the image processing module, adjusting the brightness of the bill image through the brightness adjustment module, and detecting the position of the bill through the matching positioning module;
[0026] S501, when the position is not correct, the PLC control module controls the position correction module to correct the position of the bill image, and the correction module includes a tray and a motor arranged under the tray. During the correction process, the tray is driven by the motor to rotate, and the bill is rotated to the correct position. The color difference detection module detects the color difference of the actual bill. When there is color difference, the PLC control module controls the color difference recovery module to adjust the color of the bill image;
[0027] S502: After the brightness adjustment module, the color difference restoration module and the position correction module cooperate to fully process the bill image, the image information finally processed can be displayed through the character and image display module.
[0028] Compared with the prior art, the present invention provides a digital image processing system and method for bill image character recognition, which has the following beneficial effects: the digital image processing system and method for bill image character recognition can compare the actual bill photographed with the bill extracted by the image extraction module through the integrity judgment module to determine whether the photographed bill is a complete bill; the integrity recovery module can analyze the overlap between the photographed bill and the pre-stored bill when the integrity judgment module determines that the bill is an incomplete bill, so as to make up for the missing part of the photographed bill.
[0029] 1. The present invention can pre-store the original color of the bill through the color pre-storage module, the image shooting module can shoot the actual bill, the image extraction module can extract the pre-stored image during use, the color difference and position of the actual bill and the pre-stored bill can be compared through the comparison and judgment module, so as to judge whether the color and position of the actual bill are in a standard state, the color difference detection module can detect the color difference of the actual bill, the matching and positioning module can detect the position of the bill, the size pre-storage module can pre-store various bill size information, the PLC control module can control the working state of the image processing module, the image processing module can process non-standard bill information, and the word and image display module can display the image information finally processed;
[0030] 2. The present invention can compare the character information of the actual bill with the pre-stored data through the character comparison module, and can compare the image information of the actual bill with the pre-stored data through the image comparison module, so as to determine whether the extracted bill is comparable to the actual bill, and then determine whether a secondary extraction is required, thereby ensuring the accuracy of bill comparison, and can adjust the brightness of the bill image through the brightness adjustment module, adjust the color of the bill image through the color difference recovery module, and correct the position of the bill image through the position correction module. The cooperation of the brightness adjustment module, the color difference recovery module and the position correction module can comprehensively process the bill image;
[0031] 3. The present invention can compare the actual photographed bill with the bill extracted by the image extraction module through the integrity judgment module to determine whether the photographed bill is a complete bill. The complete recovery module can analyze the overlap between the photographed bill and the pre-stored bill when the integrity judgment module determines that the bill is an incomplete bill, so as to make up for the missing part of the photographed bill. This solves the problem that the existing digital image processing systems and methods used for bill image character recognition can usually only perform simple image processing on complete bills, but in daily life, bills are often partially incomplete or damaged, which makes it difficult to process digital images of such bills. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 It is a schematic diagram of the overall flow of the present invention;
[0033] Figure 2 It is a decomposition schematic diagram of the comparison and judgment module of the present invention;
[0034] Figure 3 is a decomposed schematic diagram of the image processing module of the present invention;
[0035] Figure 4 The figure is a flow chart of the integrity judgment of the present invention.
[0036] In the figure: 1. Color pre-storage module; 2. Image shooting module; 3. Image extraction module; 4. Comparison and judgment module; 5. Color difference detection module; 6. Size pre-storage module; 7. Matching and positioning module; 8. Displacement detection module; 9. PLC control module; 10. Image processing module; 11. Word and image display module; 12. Character comparison module; 13. Image comparison module; 14. Brightness adjustment module; 15. Color difference recovery module; 16. Position correction module; 17. Integrity judgment module; 18. Complete recovery module. DETAILED DESCRIPTION
[0037] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0038] See also Figure 1-3, a digital image processing system and method for bill image character recognition, comprising: a color pre-storage module 1, an electrical output end of the color pre-storage module 1 is connected to an image shooting module 2, and an electrical output end of the image shooting module 2 is connected to an image extraction module 3, and an electrical output end of the image extraction module 3 is respectively connected to a comparison and judgment module 4 and an integrity judgment module 17, the color pre-storage module 1, the image shooting module 2, the image extraction module 3 and the comparison and judgment module 4 are connected in series, and the comparison and judgment module 4 and the color difference detection module 5 are connected in series; the original color of the bill can be pre-stored by the color pre-storage module 1, the image shooting module 2 can shoot the actual bill, and the image extraction module 3 can extract the pre-stored image during use, and The comparison and judgment module 4 can compare the color difference and position of the actual bill with the pre-stored bill, so as to judge whether the color and position of the actual bill are in the standard state; the electrical output end of the comparison and judgment module 4 is respectively connected to the color difference detection module 5 and the matching and positioning module 7; the size pre-storage module 6 is connected to the electrical input end of the matching and positioning module 7, the color difference detection module 5 and the matching and positioning module 7 are connected in parallel, and the size pre-storage module 6, the matching and positioning module 7 and the displacement detection module 8 are connected in series; the color difference detection module 5 can detect the color difference of the actual bill, the matching and positioning module 7 can detect the position of the bill, and the size pre-storage module 6 can pre-store various bill size information; the electrical input end of the matching and positioning module 7 The electrical output end of the image processing module 10 is connected to a displacement detection module 8, and the electrical output end of the displacement detection module 8 is connected to a PLC control module 9; the displacement detection module 8 is electrically connected to the PLC control module 9 through a wire, and the color difference detection module 5 is electrically connected to the PLC control module 9 through a wire; the working state of the image processing module 10 can be controlled by the PLC control module 9; the image processing module 10 is connected to the electrical output end of the PLC control module 9, and the electrical output end of the image processing module 10 is connected to a character image display module 11; the image processing module 10 is electrically connected to the PLC control module 9 through a wire, and the PLC control module 9, the image processing module 10 and the character image display module 11 are connected in series; through the image processing module 10 It can process non-standard bill information, and can display the image information that has been finally processed through the character and image display module 11; the character comparison module 12 and the image comparison module 13 are respectively arranged in the comparison and judgment module 4; the comparison and judgment module 4 includes the character comparison module 12 and the image comparison module 13, and the character comparison module 12 and the image comparison module 13 are connected in parallel; the character comparison module 12 can compare the character information of the actual bill with the pre-stored data, and the image comparison module 13 can compare the image information of the actual bill with the pre-stored data, so as to judge whether the extracted bill is comparable with the actual bill, and then judge whether a secondary extraction is needed, thereby ensuring the accuracy of bill comparison;The brightness adjustment module 14, the color difference restoration module 15 and the position correction module 16 are respectively arranged in the image processing module 10; the image processing module 10 includes the brightness adjustment module 14, the color difference restoration module 15 and the position correction module 16, and the brightness adjustment module 14, the color difference restoration module 15 and the position correction module 16 are connected in parallel; the brightness of the bill image can be adjusted by the brightness adjustment module 14, the color difference restoration module 15 can adjust the color of the bill image, and the position correction module 16 can correct the position of the bill image. The cooperation of the brightness adjustment module 14, the color difference restoration module 15 and the position correction module 16 can comprehensively process the bill image. ;
[0039] See also Figure 1 and 4 , a digital image processing system and method for bill image character recognition, comprising: a complete recovery module 18, which is connected to the electrical output end of the integrity judgment module 17; the image extraction module 3 and the integrity judgment module 17 are connected in series, and the integrity judgment module 17 and the complete recovery module 18 are connected in series, and the comparison judgment module 4 and the integrity judgment module 17 are connected in parallel; the integrity judgment module 17 can compare the actual bill photographed with the bill extracted by the image extraction module 3 to determine whether the photographed bill is a complete bill, and the complete recovery module 18 can analyze the overlap between the photographed bill and the pre-stored bill when the integrity judgment module 17 determines that the bill is an incomplete bill, so as to make up for the missing part of the photographed bill, thereby solving the problem that the existing digital image processing system and method for bill image character recognition can usually only perform simple image processing on the complete bill, but in daily life, the bill part is often incomplete or damaged, which makes it difficult to process the digital image of such bills.
[0040] like Figure 1-Figure 4 As shown, the digital image processing method applied to bill image character recognition includes the following steps:
[0041] S1, pre-storing the original colors of bills through the color pre-storage module 1, and pre-storing various bill size information through the size pre-storage module 6;
[0042] S2, placing the actual bill under the image capturing module 2, capturing the actual bill through the image capturing module 2, and after capturing, extracting multiple regular standard bill images pre-stored in the image pre-storage module 19 through the image extraction module 3;
[0043] S3, the actual bill is compared with the pre-stored bill by the comparison judgment module 4, and the character information of the actual bill is compared with the pre-stored data by the character comparison module 12, and the image comparison module 13 compares the image information of the actual bill with the pre-stored data one by one, and compares the face value, pattern, etc. of the stored bill to determine whether the extracted bill is the same type of bill as the actual bill, and whether the two are comparable. If not, the pre-stored image is extracted again by the image extraction module 3 until the same type of bill is extracted;
[0044] S4. When the extracted image is appropriate, the integrity judgment module 17 compares the actual bill photographed with the bill extracted by the image extraction module 3, and compares the blank part of the bill pattern to determine whether the photographed bill has a complete pattern. If it is determined to be an incomplete bill, the integrity recovery module 18 performs a coincidence analysis between the photographed bill and the pre-stored bill, and copies the pre-stored pattern to the recognized bill, so as to fill in the missing part of the photographed bill and restore it to a complete bill image.
[0045] S5, processing the non-standard bill information with incomplete position, color and pattern through the image processing module 10, adjusting the brightness of the bill image through the brightness adjustment module 14, and detecting the position of the bill through the matching and positioning module 7;
[0046] S501, when the position is not correct, the PLC control module 9 controls the position correction module 16 to correct the position of the bill image, and the correction module 16 includes a tray and a motor arranged under the tray. During the correction process, the tray is driven by the motor to rotate, and the bill is rotated to the correct position. The color difference detection module 5 detects the color difference of the actual bill. When there is color difference, the PLC control module 9 controls the color difference recovery module 15 to adjust the color of the bill image;
[0047] S502, after the brightness adjustment module 14, the color difference restoration module 15 and the position correction module 16 cooperate to fully process the bill image, the image information finally processed can be displayed through the character and image display module 11.
[0048] Working principle: When using the digital image processing system and method for bill image character recognition, firstly, the original color of the bill is pre-stored through the color pre-storage module 1, and various bill size information is pre-stored through the size pre-storage module 6. Then, the actual bill is placed under the image shooting module 2, and the actual bill is photographed by the image shooting module 2. After shooting, the pre-stored image is extracted by the image extraction module 3; secondly, the actual bill and the pre-stored bill are compared by the comparison and judgment module 4. At this time, the character information of the actual bill and the pre-stored data are compared by the character comparison module 12, and the image comparison module 13 compares the image information of the actual bill and the pre-stored data, so as to judge whether the extracted bill is comparable with the actual bill. If not, the pre-stored image is extracted again by the image extraction module 3, so as to ensure the accuracy of the bill comparison; then, when the image in advance is suitable, the actual bill photographed is compared with the bill extracted by the image extraction module 3 by the integrity judgment module 17 to judge. It is determined whether the photographed bill is a complete bill. When it is determined to be an incomplete bill, the photographed bill and the pre-stored bill are analyzed for overlap through the complete recovery module 18, so that the missing part of the photographed bill can be supplemented to restore it to a complete bill image; finally, the non-standard bill information is processed by the image processing module 10, the brightness of the bill image is adjusted by the brightness adjustment module 14, and the position of the bill is detected by the matching positioning module 7. When the position is not correct, the PLC control module 9 controls the position correction module 16 to correct the position of the bill image, and the color difference detection module 5 is used to detect the color difference of the actual bill. When there is color difference, the PLC control module 9 controls the color difference recovery module 15 to adjust the color of the bill image. After the brightness adjustment module 14, the color difference recovery module 15 and the position correction module 16 cooperate to fully process the bill image, the character image display module 11 can display the final processed image information. This is the working principle of the digital image processing system and method applied to bill image character recognition.
[0049] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A digital image processing method for bill image character recognition comprises the following steps: S1. Pre-storing the original colors of bills through the color pre-storage module (1), and pre-storing various bill size information through the size pre-storage module (6); S2, placing the actual bill under the image capturing module (2), capturing the actual bill through the image capturing module (2), and after capturing, extracting multiple regular standard bill images pre-stored in the image pre-storage module (19) through the image extraction module (3); S3, comparing the actual bill with the pre-stored bill through the comparison judgment module (4), and comparing the character information of the actual bill with the pre-stored data through the character comparison module (12), and comparing the image information of the actual bill with the pre-stored data one by one through the image comparison module (13), and comparing the face value and pattern of the stored bill to determine whether the extracted bill is the same type of bill as the actual bill, and whether the two are comparable. If they are not comparable, the pre-stored image is extracted again through the image extraction module (3) until the same type of bill is extracted; S4. When the extracted image is appropriate, the integrity judgment module (17) compares the actual bill photographed with the bill extracted by the image extraction module (3), and compares the blank part of the bill pattern to determine whether the photographed bill has a complete pattern. If it is determined to be an incomplete bill, the integrity recovery module (18) analyzes the coincidence between the photographed bill and the pre-stored bill, and copies the pre-stored pattern to the identified bill, so as to fill in the missing part of the photographed bill and restore it to a complete bill image. S5, processing non-standard bill information with incomplete position, color and pattern through the image processing module (10), adjusting the brightness of the bill image through the brightness adjustment module (14), and detecting the position of the bill through the matching positioning module (7); S501, when the position is not correct, the PLC control module (9) controls the position correction module (16) to correct the position of the bill image, and the correction module (16) includes a tray and a motor arranged under the tray. During the correction process, the motor drives the tray to rotate, and the bill is rotated to the correct position. The color difference detection module (5) detects the color difference of the actual bill. When there is color difference, the PLC control module (9) controls the color difference recovery module (15) to adjust the color of the bill image; S502: After the brightness adjustment module (14), the color difference restoration module (15) and the position correction module (16) cooperate to fully process the bill image, the image information finally processed can be displayed through the character and image display module (11).
2. A digital image processing system using the digital image processing method according to claim 1, characterized in that: include: A color pre-storage module (1), wherein the electrical output end of the color pre-storage module (1) is connected to an image capture module (2), and the electrical output end of the image capture module (2) is connected to an image extraction module (3), the electrical output end of the image extraction module (3) is respectively connected to a comparison and judgment module (4) and an integrity judgment module (17), and the electrical output end of the comparison and judgment module (4) is respectively connected to a color difference detection module (5) and a matching and positioning module (7); A size pre-storage module (6) connected to the electrical input end of the matching positioning module (7), the electrical output end of the matching positioning module (7) is connected to a displacement detection module (8), and the electrical output end of the displacement detection module (8) is connected to a PLC control module (9); An image processing module (10) connected to the electrical output end of the PLC control module (9), the electrical output end of the image processing module (10) being connected to a character and image display module (11); A complete recovery module (18) is connected to the electrical output end of the integrity judgment module (17), the image extraction module (3) and the integrity judgment module (17) are connected in series, the integrity judgment module (17) and the complete recovery module (18) are connected in series, and the comparison judgment module (4) and the integrity judgment module (17) are connected in parallel.
3. The digital image processing system for bill image character recognition according to claim 2 is characterized in that: The color pre-storage module (1), the image shooting module (2), the image extraction module (3) and the comparison and judgment module (4) are connected in series, and the comparison and judgment module (4) and the color difference detection module (5) are connected in series.
4. The digital image processing system for bill image character recognition according to claim 2 is characterized in that: The color difference detection module (5) and the matching positioning module (7) are connected in parallel, and the size pre-storage module (6), the matching positioning module (7) and the displacement detection module (8) are connected in series.
5. The digital image processing system for bill image character recognition according to claim 2 is characterized in that: The displacement detection module (8) is electrically connected to the PLC control module (9) via a wire, and the color difference detection module (5) is electrically connected to the PLC control module (9) via a wire.
6. The digital image processing system for bill image character recognition according to claim 2 is characterized in that: The image processing module (10) is electrically connected to the PLC control module (9) via a wire, and the PLC control module (9), the image processing module (10) and the character and image display module (11) are connected in series.
7. The digital image processing system for bill image character recognition according to claim 2 is characterized in that: The comparison and judgment module (4) is further provided with: A character comparison module (12) and an image comparison module (13) are respectively arranged in the comparison and judgment module (4).
8. The digital image processing system for bill image character recognition according to claim 7 is characterized in that: The comparison and judgment module (4) comprises a character comparison module (12) and an image comparison module (13), and the character comparison module (12) and the image comparison module (13) are connected in parallel.
9. The digital image processing system and method for bill image character recognition according to claim 2, characterized in that: The image processing module (10) further comprises: A brightness adjustment module (14), a color difference restoration module (15) and a position correction module (16) are respectively arranged in the image processing module (10).
10. The digital image processing system for bill image character recognition according to claim 9 is characterized in that: The image processing module (10) comprises a brightness adjustment module (14), a color difference restoration module (15) and a position correction module (16), and the brightness adjustment module (14), the color difference restoration module (15) and the position correction module (16) are connected in parallel.
