Document entry review method, system, electronic device and medium

Through document image segmentation and classification secondary recognition of identification information, the problem of repetitive work in document entry review is solved, work efficiency and accuracy are improved, costs are reduced, and resource waste is reduced.

CN113239893BActive Publication Date: 2024-10-18SHENZHEN CUBE GALAXY TECH CO LTD
View PDF 13 Cites 0 Cited by

Patent Information

Application Number
CN202110649717.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-10
Publication Date
2024-10-18
Estimated Expiration
2041-06-10

AI Technical Summary

Technical Problem

In the prior art, there is a large amount of repetitive work in the document entry review process, which results in low work efficiency, high cost, and waste of resources. In particular, due to the low error rate of the initial document entry, resources are wasted in the repeated entry and comparison process.

Method used

By obtaining the original feature image of the document entered for the first time, segmenting and annotating it, classifying and secondary identifying the feature image slices based on the primary identification information, and determining the review results by combining the primary and secondary identification information to avoid repetitive work and improve efficiency.

Benefits of technology

It effectively avoids repetitive work, improves the efficiency of document entry, reduces costs, reduces waste of resources, and improves the accuracy and reliability of the entry process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113239893B_ABST
    Figure CN113239893B_ABST
Patent Text Reader

Abstract

The present invention provides a document entry and review method, system, electronic device and medium. The method obtains an original element image corresponding to an initially entered document, and divides the original element image into several element image slices, obtains initial recognition information of the initially entered document corresponding to the element image slices, labels and classifies the element image slices according to the initial recognition information to obtain several element image categories, groups the element image slices according to the element image categories for secondary recognition, obtains secondary recognition information of the element image slices, and determines the review result according to the primary recognition information and the secondary recognition information. Since the element image slices are grouped and then secondary recognized according to the groups, the processing efficiency of the element image slices of the same category is higher, which avoids repetitive work, improves work efficiency, reduces document entry costs, and reduces waste of resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a document entry review method, system, electronic equipment and medium. Background Art

[0002] With the further promotion of paperless office, more and more paper files, paper documents and other materials need to be stored digitally. Since there will inevitably be certain errors in the data entry process, it is often necessary to review the entered documents in order to improve the accuracy of the entry and the reliability of the entered documents.

[0003] In the related art, two versions of input documents are often obtained by inputting documents twice, and then the two versions of input documents are compared to complete the document input review. However, because the error rate of any version of the input document is usually much lower than the correct rate, the repeated two document input work ensures the accuracy of the input document by repeatedly processing one element, resulting in a large amount of repetitive work, low work efficiency, high document input cost, and waste of resources. Summary of the invention

[0004] In view of the above-mentioned shortcomings of the prior art, the present invention provides a method to solve the above-mentioned technical problems.

[0005] The present invention provides a document entry review method, the method comprising:

[0006] Acquire an original element image corresponding to the first input document, and segment the original element image to obtain a plurality of element image slices;

[0007] Acquire the initial recognition information of the initial entry document corresponding to the element image slice;

[0008] Annotating and classifying the element image slices according to the initial recognition information to obtain a plurality of element image categories;

[0009] performing secondary recognition on the element image slices in groups according to the element image categories to obtain secondary recognition information of the element image slices;

[0010] The review result is determined based on the initial identification information and the secondary identification information.

[0011] Optionally, the original element image is segmented to obtain a plurality of element image slices including:

[0012] The original element image is segmented according to characters to obtain a plurality of element image slices each including one character.

[0013] Optionally, the grouping of the element image slices according to the element image category for secondary identification to obtain secondary identification information of the element image slices includes any one of the following:

[0014] Distributing tasks for the element image slices according to the element image categories, displaying the element image slices respectively according to the element image categories, and acquiring secondary identification information of the element image slices;

[0015] Distribute tasks for the element image slices according to the element image categories, determine a preset single-character recognition model according to the initial recognition information corresponding to the element image slices in the classification, input the element image slices in the classification into the preset single-character recognition model, if the preset single-character recognition model recognizes successfully, obtain secondary recognition information of the element image slices, if the preset single-character recognition model fails to recognize, input the element image slices into a preset full-character recognition model to obtain secondary recognition information of the element image slices;

[0016] Tasks are distributed to the element image slices according to the element image categories, a preset full-character recognition model is determined based on the primary recognition information corresponding to the element image slices in the classification, the element image slices in the classification are input into the preset full-character recognition model, and secondary recognition information of the element image slices is obtained.

[0017] Optionally, determining the review result according to the initial identification information and the secondary identification information includes at least one of the following:

[0018] If the primary identification information and the secondary identification information corresponding to the same element image slice are the same, the review result of the primary identification information includes successful review;

[0019] If the initial identification information and the secondary identification information corresponding to the same element image slice are different, the review result of the initial identification information includes review failure, and the method also includes identifying the element image slice corresponding to the initial identification information three times and reviewing it again.

[0020] Optionally, determining the review result according to the initial identification information and the secondary identification information includes:

[0021] Reorganizing the secondary identification information according to the sorting order of the corresponding element image slices in the original element image to obtain a secondary input document;

[0022] Comparing the first input document and the second input document according to the first identification information and the second identification information to obtain a comparison result;

[0023] If the comparison result includes that the first input document and the second input document are consistent, the review result of the first input document includes successful review;

[0024] If the comparison result includes that the first input document and the second input document are inconsistent, and the review result of the first input document includes review failure, the original element image is recognized three times and reviewed again.

[0025] Optionally, the method further includes:

[0026] Acquire a number of review results including the original element images corresponding to the successfully reviewed initial recognition information as quality inspection element images, and segment the quality inspection element images according to characters to obtain a number of quality inspection element image slices;

[0027] Annotating and classifying the quality inspection element image slices according to the initial identification information;

[0028] Determine a preset single-character recognition model according to the initial recognition information corresponding to the quality inspection element image slices in the classification, input the quality inspection element image slices in the classification into the preset single-character recognition model, if each of the quality inspection element image slices is successfully recognized in the preset single-character recognition model, the quality inspection is qualified; if there is at least one quality inspection element image slice that fails to be recognized in the preset single-character recognition model, the quality inspection is unqualified, or, display the quality inspection element image slices separately according to the classification, and obtain the input quality inspection results, which include qualified quality inspection and unqualified quality inspection.

[0029] Optionally, if the quality inspection result includes quality inspection failure, the method further includes:

[0030] Obtaining initial identification information corresponding to the image slice of the quality inspection element that failed the quality inspection;

[0031] Obtaining a quality inspection pass rate for each initial identification information, wherein the quality inspection pass rate is determined according to the total number of the quality inspection element image slices and the number of the quality inspection element image slices corresponding to the initial identification information;

[0032] If there is abnormal recognition information, the preset single character recognition model and / or the preset full character recognition model is retrained according to the abnormal recognition information, and the abnormal recognition information includes the initial recognition information whose quality inspection pass rate is lower than the preset quality inspection pass rate threshold.

[0033] The present invention also provides a document entry review system, the system comprising:

[0034] An image segmentation module is used to obtain an original element image corresponding to a document entered for the first time, and segment the original element image to obtain a plurality of element image slices;

[0035] A first identification information acquisition module, used to acquire the first identification information of the first input document corresponding to the element image slice;

[0036] A classification module, used for labeling and classifying the element image slices according to the initial recognition information to obtain a plurality of element image categories;

[0037] An identification module, used for performing secondary identification on the element image slice groups according to the element image categories to obtain secondary identification information of the element image slices;

[0038] A determination module is used to determine a review result based on the initial identification information and the secondary identification information.

[0039] The present invention also provides an electronic device, comprising a processor, a memory and a communication bus;

[0040] The communication bus is used to connect the processor and the memory;

[0041] The processor is used to execute the computer program stored in the memory to implement the method as described in any one of the above embodiments.

[0042] The present invention further provides a computer-readable storage medium on which a computer program is stored, wherein the computer program is used to enable the computer to execute the method as described in any one of the above embodiments.

[0043] Beneficial effects of the present invention: The present invention provides a document entry review method, system, electronic device and medium. The method obtains an original element image corresponding to an initially entered document, and segments the original element image to obtain a plurality of element image slices, obtains initial recognition information of the initially entered document corresponding to the element image slices, labels and classifies the element image slices according to the initial recognition information to obtain a plurality of element image categories, groups the element image slices according to the element image categories for secondary recognition to obtain secondary recognition information of the element image slices, determines a review result according to the initial recognition information and the secondary recognition information, avoids repetitive work, improves work efficiency, reduces document entry costs, and reduces waste of resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 It is a flow chart of a document entry review method in an embodiment of the present invention.

[0045] Figure 2It is a schematic diagram of a process of splitting and classifying the original element image in an embodiment of the present invention.

[0046] Figure 3 It is a structural diagram of a document entry and review system in an embodiment of the present invention.

[0047] Figure 4 It is a structural schematic diagram of an electronic device in one embodiment of the present invention. DETAILED DESCRIPTION

[0048] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0049] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0050] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present invention difficult to understand.

[0051] In the related art, paper documents are mainly processed by OCR (Optical Character Recognition) automatic recognition or manual input to achieve digital input of documents. In order to ensure the accuracy of the digital document input results, repeated operations and result comparisons are generally used to ensure the reliability of the final results.

[0052] In one embodiment, the digital document entry work is mainly divided into: image acquisition, business element extraction / segmentation, first recognition / entry, second recognition / entry, result verification, and manual quality inspection. The specific workflow is as follows:

[0053] Image acquisition: Scan, photograph, and other paper documents such as vouchers, bills, and receipts to generate images that meet standards;

[0054] Business element extraction / segmentation: The system locates, extracts, and segments elements according to different document format templates and digitization requirements, such as name, address, account number, amount, telephone number, etc., and forms element image slices for each element;

[0055] First recognition / entry: The system dispatches the element image slices to different automatic OCR operation programs (hereinafter referred to as robots) or operators to form the first recognition / entry results. If the robot forms the corresponding result through OCR recognition, the operator will manually enter the corresponding result according to the slice image content.

[0056] Second recognition / entry: The feature image slices are distributed again through system scheduling to ensure that the same slice is distributed to different operators or robots for processing again from the first recognition / entry to form the second recognition / entry results.

[0057] Result verification: If the results of the two recognition / entry processing of the same slice are the same, the result data corresponding to the slice is considered correct. If they are different, the result is considered to be wrong and needs to be reprocessed.

[0058] Manual quality inspection: A certain proportion (the proportion range is [0%, 100%], for example, 10%) of slices that have been processed twice are selected and distributed to the operators for quality inspection (the means of quality inspection can be input or viewing). If the result is confirmed to be correct, the verification is successful, otherwise the identification / entry process is repeated twice.

[0059] In the above process, since the automatic operation and manual input results of the "first recognition / entry" link are correct in most cases, only a few results will be biased. Therefore, we can find that the two links of "second recognition / entry" and "quality inspection spot check" are in the same or similar working mode as the "first recognition / entry" link, repeatedly processing the same element to ensure the accuracy of the results. Therefore, there is a lot of repetitive work in these two links. If the work efficiency of these two parts can be improved, the overall work efficiency can be effectively improved.

[0060] Embodiment 1

[0061] like Figure 1 As shown, a document entry review method in this embodiment includes:

[0062] S101: Acquire an original element image corresponding to a document entered for the first time, and segment the original element image to obtain a plurality of element image slices.

[0063] Optionally, part or all of the initially entered document is obtained by identifying the original element image. In other words, the original element image can be a set of images corresponding to the entire initially entered document, or a part of the image set. For example, the initially entered document is obtained by processing 1,000 element images, and the original element image can be these 1,000 element images, or 100 element images selected therefrom. By batch processing element images, the number of element images processed each time can be reduced, the required resources are relatively less, and it is easier to operate.

[0064] Optionally, the features in the original feature image can be of the same type, for example, all digital, which makes processing relatively easier and faster.

[0065] Optionally, the elements in the original element image can be of multiple types, such as text, numbers, symbols, etc., which makes processing more complicated than that of original element images of the same type. However, the document entry review method provided in this embodiment is also relatively simple and easy to operate to review the document.

[0066] In some embodiments, before step S101 is performed, the method further includes:

[0067] Obtain a standard image of the document to be entered, slice the standard image, obtain a number of element images, and generate an element image set;

[0068] The element image set is identified to obtain the initial input document;

[0069] Select several feature images from the feature image collection as original feature images.

[0070] The original element images may be all element images or some element images in the element image set.

[0071] In some embodiments, a method for obtaining a document for initial entry includes:

[0072] Perform OCR recognition and / or manual recognition on the original element image to obtain the initial input document.

[0073] Optionally, the original element image can be formed into a standard image that meets the standards by scanning, photographing, etc. of paper documents such as vouchers, tickets, and receipts, and then the elements of the image are extracted / segmented according to the original arrangement order, and the elements are located, extracted and segmented according to the corresponding document format template and digital document entry requirements, and several original element images including the elements are generated by cutting.

[0074] Optionally, the original element image can also be a standard image directly. By positioning the elements, several element regions are set in the standard image, each of which includes the elements. When segmenting, only the image in the element region is segmented. The element region can be determined by image recognition, or by manual annotation, natural language processing (such as semantic recognition), etc.

[0075] Optionally, the elements may be name, address, account number, amount, telephone number, and other document information specified by those skilled in the art.

[0076] In some embodiments, the original element image is segmented to obtain a plurality of element image slices including:

[0077] The original feature image is segmented according to characters to obtain a number of feature image slices including one character.

[0078] In other words, each feature image slice includes and only includes one character. For example, if the feature is a number, then a feature image slice only includes one number.

[0079] By segmenting the original feature image according to characters, feature image slices that include and only include one character can be obtained. In this way, in the subsequent processing process, the feature information in the feature image slices is relatively simple, which is more convenient to process and can effectively improve the processing speed.

[0080] Of course, the original element image can also be segmented according to multiple characters, for example, segmented every two characters. For another example, when entering an ID card number, the first 4 or 6 digits of the ID card in the same region are often the same, so the first 4 digits can be segmented once, and the next 10 digits can be segmented every two digits, and the last 4 digits can be segmented once for each character, and the segmentation effect is as follows: 1234 / 05 / 19 / 91 / 01 / 01 / 2 / 2 / 2 / 2. The segmentation method can also be other methods required by those skilled in the art.

[0081] Optionally, a method of segmenting an element image according to characters can be achieved by extracting the corresponding character coordinates, segmenting the elements according to the character coordinates, and forming a single character slice (element image slice). This process can be implemented based on a pre-trained character recognition model. Of course, the acquisition of element image slices can also be implemented in other ways known to those skilled in the art.

[0082] S102: Obtaining initial recognition information of the initial entry document corresponding to the element image slice.

[0083] Optionally, the initial recognition information may be the character information in the element image slice. For example, if the image of the element image slice is "1", the initial recognition information of the corresponding initially entered document is also "1"; the initial recognition information may also be other identification information, which can identify the character information in the element image slice. For example, if the image of the element image slice is "Zhang", the corresponding initial recognition information may be "zhang", that is, the identification information of "Zhang" in the initially entered document.

[0084] Optionally, for the convenience of subsequent manual recognition, the initial recognition information may be the character meaning of the element image slice. That is, if the element image slice is "0", the initial recognition information is also "0".

[0085] Optionally, by labeling the identity recognition information of the original element image, the initial recognition information obtained by recognizing the original element image in the subsequent initially entered document also has the same identity recognition information. Subsequently, the element image slices obtained by splitting the original element image also have the same identity recognition information, as well as the character position information of the element image slice in the original element image. In this way, the corresponding initial recognition information can be obtained through the element image slice. For example, the character in the original element image is "0123654", and the identity recognition information is X. The initial recognition information of the initially entered document obtained is "0123654". The original element image is split, and the first element image slice, the second element image slice, the third element image slice, the fourth element image slice, the fifth element image slice, the sixth element image slice, and the seventh element image slice are obtained in the character order. Then the identity recognition information of the seventh element image slice is "X", the character position information is "the 7th position", and the corresponding initial recognition information is "4".

[0086] S103: Label and classify the element image slices according to the initial recognition information to obtain several element image categories.

[0087] Optionally, label the element image slices through the initial recognition information, and then classify each element image slice according to the labeling result, so that several element image categories can be obtained. Taking numbers as an example, when each element image slice includes a number, the maximum number of categories of the element image slices is 10, and each element image slice in each element image category includes the same number.

[0088] S104: Perform secondary recognition on the element image slices grouped according to the element image categories to obtain the secondary recognition information of the element image slices.

[0089] That is, the feature image slices belonging to the same feature image category are recognized synchronously, one category at a time. In this way, the vast majority of a group of feature image slices recognized each time are the same character (feature), and other characters (features) mixed in them can be easily found, which can realize the review of the input documents more quickly and conveniently.

[0090] In some embodiments, the element image slices are grouped and secondary identified according to the element image categories, and the secondary identification information of the element image slices obtained includes at least one of the following:

[0091] Distribute tasks to feature image slices according to feature image categories, display feature image slices according to feature image categories, and obtain secondary recognition information of feature image slices;

[0092] Distribute tasks to element image slices according to element image categories, determine a preset single character recognition model according to the primary recognition information corresponding to the element image slices in the classification, input the element image slices in the classification into the preset single character recognition model, if the preset single character recognition model recognizes successfully, obtain secondary recognition information of the element image slices, if the preset single character recognition model fails to recognize, input the element image slices into the preset full character recognition model, obtain secondary recognition information of the element image slices;

[0093] Tasks are distributed to feature image slices according to feature image categories. A preset full-character recognition model is determined based on the primary recognition information corresponding to the feature image slices in the classification. The feature image slices in the classification are input into the preset full-character recognition model to obtain secondary recognition information of the feature image slices.

[0094] In some embodiments, before performing secondary identification on the element image slices according to the groups, the method further comprises:

[0095] Image enhancement and normalization are performed on the feature image slices to improve their clarity. At the same time, the size of the feature image slices is normalized to facilitate subsequent display, manual recognition or machine recognition.

[0096] Optionally, secondary recognition of feature image slices can be achieved through manual recognition. Since the tasks of feature image slices are distributed according to feature image categories, everyone who gets the task will receive the recognition of the same character. In theory, the feature image slices displayed in the display device should all be the same characters. If there are abnormal characters, that is, characters that are different from other characters, they can be easily discovered. This can effectively improve the efficiency of secondary recognition.

[0097] Optionally, secondary recognition of feature image slices can be achieved through machine vision recognition. For example, the feature image slices in each category can be clustered. If discrete feature image slices exist, the discrete feature image slices are recognized to obtain recognition results as secondary recognition information.

[0098] Optionally, the preset single-character recognition model may be pre-set. For a certain character recognition model, a model for recognizing a single character is easier to train, and the recognition accuracy is relatively guaranteed.

[0099] Optionally, the preset full character recognition model can be pre-set, which can recognize elements in various original element images. The secondary recognition information of element image slices of a certain classification should be consistent in theory. If there are "unique" characters in the secondary recognition information of a certain classification, they can be easily found.

[0100] The training of the preset single-character recognition model and the preset full-character recognition model can be achieved by using relevant technical means in the art and is not limited here.

[0101] In some embodiments, the secondary recognition information may be recognized by using both the recognition model of the same character / element (preset single-character recognition model) and the model of full-character / full-element recognition (preset full-character recognition model). If the recognition results of the two models are consistent, it is used as the secondary recognition information. Since the preset single-character recognition model is for recognition of a single character / element, and the preset full-character recognition model is for recognition of all characters / elements, there are significant differences in the recognition methods of the two. The recognition results of both parties can form a cross-check, which can further ensure the accuracy of the secondary recognition information, and accordingly ensure the accuracy and reliability of the subsequent document entry review.

[0102] S105: Determine the review result based on the initial identification information and the secondary identification information.

[0103] Optionally, the review result includes review success and review failure.

[0104] In some embodiments, determining the review result according to the primary identification information and the secondary identification information includes at least one of the following:

[0105] If the primary identification information and the secondary identification information corresponding to the same element image slice are the same, the review result of the primary identification information includes successful review;

[0106] If the initial identification information and the secondary identification information corresponding to the same element image slice are different, the review result of the initial identification information includes review failure.

[0107] Optionally, if the initial recognition information and the secondary recognition information corresponding to the same element image slice are the same, it can be shown that the recognition of the initial recognition information in the initial entry document is accurate. Subsequently, all element images corresponding to the initial entry document are reviewed. If the element image slices of all element images are successfully reviewed, the initial entry document is successfully reviewed.

[0108] In some embodiments, if the composite result of the initial recognition information includes a recheck failure, the element image slice corresponding to the initial recognition information is recognized three times and rechecked.

[0109] Among them, the method of the third recognition can be the same as that of the initial recognition, or it can be different. For example, the initial recognition adopts a preset full-character recognition model for recognition, and the third recognition can adopt a preset full-character recognition model for recognition, or it can adopt a manual recognition method for recognition and entry. The method of re-review is the same as the review method provided in this embodiment, that is, the original element image that failed the initial recognition information review is segmented, and then classified according to the initial recognition information, and then reviewed.

[0110] In some embodiments, determining the review result according to the primary identification information and the secondary identification information includes:

[0111] The secondary identification information is reorganized according to the sorting order of the corresponding element image slices in the original element image to obtain a secondary input document;

[0112] Comparing the first input document and the second input document according to the first identification information and the second identification information to obtain a comparison result;

[0113] If the comparison result includes that the first input document and the second input document are consistent, the review result of the first input document includes successful review;

[0114] If the comparison result includes inconsistency between the first entry document and the second entry document, and the review result of the first entry document includes review failure, the original element image is recognized three times and reviewed again.

[0115] Optionally, the first input document and the second input document are compared based on the first identification information and the second identification information, that is, the document contents of the first input document and the second input document are compared.

[0116] Optionally, the original element image is recognized three times and reviewed again. The three recognitions can be performed in the same way as the initial document entry acquisition method. The second review also adopts the document entry review method provided in this embodiment, which will not be repeated here.

[0117] Optionally, if the comparison result includes inconsistencies between the first-entry document and the second-entry document, obtain the element image slice corresponding to the difference position, identify the element image slice three times, and re-check. The difference position is the location where the different input content exists in the first-entry document and the second-entry document. The element image slice corresponding to the different input content is identified three times as a whole, and then re-checked, which can effectively correct the document information that has been misidentified in a timely manner to ensure accuracy. The process of three identifications and re-checking is similar to the above, and will not be repeated again.

[0118] Optionally, the single character processing result (secondary recognition information) is reassembled (recombined), and the secondary input document obtained is compared with the primary input document to obtain the final verification result of the original element image. Among them, an exemplary method of reorganization is:

[0119] When the original element image is segmented, the element image slice S(id) numbered id corresponds to the original element image E(x) numbered x, and the position index of S(id) in the original element image is i, that is, there must be an image segmentation function f, so that S(id) = f(E(x), i); that is, there must be an id mapping function g, so that id = g(x, i). Let the secondary recognition information of the element image slice of each id be result(id), then result(id) = result(g(x, i)), let the recognition result (initial recognition information) of the original element image E(x) be R(x), then according to x, the secondary recognition information result(g(x, i)) of the corresponding element image slice can be associated with the recognition result (initial recognition information) R(x) of the original element image E(x), and the reorganization (re-splicing) of the secondary recognition information can be achieved according to this rule. Optionally, the sorting order of the element image slices in the original element image, that is, the position of the character corresponding to the element affecting the slice in the character set in the original element image.

[0120] In some embodiments, the method further comprises:

[0121] Acquire a number of review results including original element images corresponding to the successfully reviewed initial recognition information as quality inspection element images, and segment the quality inspection element images according to characters to obtain a number of quality inspection element image slices;

[0122] Label and classify the quality inspection element image slices based on the initial identification information;

[0123] Determine the preset single-character recognition model according to the initial recognition information corresponding to the quality inspection element image slices in the classification, input the quality inspection element image slices in the classification into the preset single-character recognition model, if each quality inspection element image slice is successfully recognized in the preset single-character recognition model, the quality inspection is qualified; if there is at least one quality inspection element image slice that fails to be recognized in the preset single-character recognition model, the quality inspection is unqualified. Alternatively, the quality inspection element image slices are displayed separately according to the classification, and the input quality inspection results are obtained, and the quality inspection results include qualified quality inspection and unqualified quality inspection.

[0124] Optionally, the quality inspection element image slices may be randomly selected from the element image slices, for example, 20% of the element image slices are selected as quality inspection element image slices. The number of quality inspection element image slices is greater than 0 and less than or equal to the number of element image slices that have been successfully reviewed.

[0125] The method of labeling and classifying the image slices of quality inspection elements can be found in the labeling and classification during the review process, which will not be repeated here.

[0126] Optionally, the quality inspection process can be implemented by manual and / or machine recognition. For example, by displaying a portion of the quality inspection element image slices according to their classification, and then determining the quality inspection results by manual recognition, and inputting, the other portion of the quality inspection element image slices are input into the corresponding preset single character recognition model according to their classification. The preset single character recognition model can only recognize this type of initial recognition information, and then obtain the quality inspection results. Based on the quality inspection results of the above two parts, if both are qualified, the quality inspection is qualified, otherwise, the quality inspection is unqualified.

[0127] In some embodiments, if the quality inspection result includes quality inspection failure, the method further includes:

[0128] Obtaining the initial identification information corresponding to the image slices of the quality inspection elements that failed the quality inspection;

[0129] Obtaining the quality inspection pass rate of each initial recognition information, where the quality inspection pass rate is determined based on the total number of quality inspection element image slices and the number of quality inspection element image slices corresponding to the initial recognition information;

[0130] If there is abnormal recognition information, the preset single-character recognition model and / or the preset full-character recognition model is retrained according to the abnormal recognition information, and the abnormal recognition information includes initial recognition information whose quality inspection pass rate is lower than the preset quality inspection pass rate threshold.

[0131] Optionally, if there is abnormal recognition information, it means that there is a problem with the accuracy of the preset single-character recognition model and / or the preset full-character recognition model used, so it is necessary to retrain it based on the abnormal recognition information to improve the recognition accuracy.

[0132] Optionally, when manual identification, review or quality inspection is used, the abnormality identification information is displayed together with the element image slice or the quality inspection element image slice.

[0133] The method provided in this embodiment uses the result data generated in the "first recognition / entry" stage to split and classify the result characters of the original image according to the elements, thereby improving the work efficiency of the two stages of "second recognition / entry" and "quality inspection and spot check". The following is an exemplary description of the document entry review method summarized in this embodiment:

[0134] Carry out image acquisition. For example, paper documents such as vouchers, bills, and receipts can be scanned or photographed to form images that meet the standards.

[0135] Business element extraction / segmentation (in original form): The system locates, extracts and segments elements according to different document format templates and digitization requirements, such as name, address, account number, amount, telephone number, etc., each forming an original element image.

[0136] First recognition / entry: The system dispatches the original pixel image to different automatic OCR operation programs (hereinafter referred to as robots) or operators to form the first recognition / entry results. If the robot forms the corresponding result through OCR recognition, the operator will manually enter the corresponding result according to the slice image content.

[0137] Second recognition / entry (entry document review): Based on the results of the first recognition / entry, the original element images are processed in batches. First, each element is split by character, and then reclassified and processed in batches according to the characters. After the processing is completed, the results are pieced back together according to the original elements to form the second recognition / entry results. Taking the processing of digital elements as an example (other characters are analogous), an exemplary processing method using model recognition is as follows:

[0138] The original element images that have been subjected to the first recognition / entry processing are divided into batches according to a preset number (e.g., 100 pieces);

[0139] Each original feature image is segmented into single characters according to the result of the first recognition / entry processing to form single character slices (feature image slices), and marked according to the results (initial recognition information). For example, all digital character slices will be marked as a character from 0 to 9 according to the processing results.

[0140] Single character slices (element image slices) are classified according to the marked characters, and then processed in batches. For the characters after batching, each batch should be the same characters. For example, all characters marked as 0 are processed first, then all characters marked as 1, and so on...

[0141] For the single character slices (element image slices) divided into batches according to the marked result characters, the tasks are distributed again, and the preset full character recognition model, the preset single character recognition model or the operator is input for re-recognition / entry processing. Since most of the characters in each task are the same character, manual entry is more efficient; if it is automatic OCR recognition by a robot, a specified single character recognition model can be used to improve the recognition effect.

[0142] For the processing results of single-character slices, they are re-segmented according to the original elements to form the second recognition / entry results.

[0143] Result verification: If the results of the two recognition / entry processing of the same original element image are the same, the result data corresponding to the original element image is considered correct. If they are different, it is considered that the result is wrong and needs to be re-recognized / entered;

[0144] An exemplary processing method using manual identification is as follows:

[0145] Extract a certain proportion, the proportion value range is [0%, 100%], for example, 10%, the slices that have been processed twice are distributed to the operators for quality inspection, which can be input or viewed. According to the results after verification, the original element images are processed in batches. First, each element is split by character, and then reclassified and processed in batches according to the characters. After processing, the results are restored according to the original elements, and the quality inspection results of the characters are associated with the original elements to form the quality inspection results of the original elements. The details are as follows, taking the processing of digital elements as an example, and other characters are analogous:

[0146] The original element images that have been verified are divided into batches according to a preset number (e.g., 100 images);

[0147] Each quality inspection element image is segmented into single characters according to the verified primary recognition information (or secondary recognition information) to form single character slices (quality inspection element image slices), and marked according to the results. For example, all digital character slices will be marked as a character from 0 to 9 according to the processing results.

[0148] The quality inspection element image slices are classified according to the marked result characters, and then processed in batches. For the characters after batching, each batch should be the same characters. For example, all characters marked as 0 are processed first, then all characters marked as 1, and so on...

[0149] For the above-mentioned quality inspection element image slices divided into batches according to the marked result characters, the tasks are distributed again and handed over to the robot or operator for inspection. Because the characters in each task are mostly correct after the two recognition / entry and verification processes in the above steps, the single characters after classification are mostly the same characters in each batch. Therefore, if the task screen displays the same characters, the verification is successful and the quality inspection work is completed; if other characters appear, it means that there is an error in the result and it needs to be recognized / entered again twice.

[0150] For the verification operation, manual or model recognition can be used for judgment.

[0151] Manual operation: Generally speaking, it is clearer to manually find different characters in a batch of the same characters.

[0152] Recognition model: This is a special model for finding different characters in the same character batch (preset single-character recognition model). It is different from the recognition model in the previous step (preset full-character recognition model). The preset full-character recognition model recognizes different characters.

[0153] The quality inspection results of the quality inspection feature image slices can be associated and stitched back to the original feature image. If all characters in the original feature image pass the quality inspection, the quality inspection of the entire original feature image passes. If there is a character in the original feature image that fails the quality inspection, the quality inspection of the entire original feature image fails, thus forming the final quality inspection result of the original feature image.

[0154] See also Figure 2 , Figure 2 A schematic diagram is provided for splitting an original feature image (original feature) into feature image slices (quality inspection feature image slices, i.e., splitting into single character slices in the figure), and then performing batch processing by character classification.

[0155] This solution uses the fact that the results of the "first recognition / entry" stage are most likely correct, and segments and classifies the character images according to the processing results to achieve batch processing of the character images. For the same character after batching, since there is no need to switch between different characters, manual entry is more efficient, and errors can be discovered more quickly during manual quality inspection. During OCR processing, since a specified recognition model (preset single character recognition model) can be selected according to the character, better recognition effects can also be achieved. In summary, the document entry review method provided in this embodiment can improve the overall work efficiency of the document digitization process.

[0156] The present embodiment provides a document entry review method, which obtains an original element image corresponding to an initially entered document and divides the original element image into several element image slices, obtains initial recognition information of the initially entered document corresponding to the element image slices, annotates and classifies the element image slices according to the initial recognition information to obtain several element image categories, groups the element image slices according to the element image categories for secondary recognition, obtains secondary recognition information of the element image slices, and determines the review result according to the initial recognition information and the secondary recognition information. Since the element image slices are grouped and then secondary recognized according to the groups, the processing efficiency of the element image slices of the same category is higher, which avoids repetitive work, improves work efficiency, reduces document entry costs, and reduces waste of resources.

[0157] Optionally, the original feature image is segmented and classified into single characters according to the input results (initial recognition information), and batch processing by single characters is achieved in the subsequent automatic recognition, manual input and manual quality inspection stages to improve work efficiency.

[0158] Optionally, the method provided in this embodiment can realize repeated entry of the same characters in the same batch during manual entry by segmenting the original element image into single characters, classifying and batch processing according to the segmented single characters, and specifying a specific preset single character recognition model according to character classification during automatic recognition by the OCR robot. Different error results can be found in the same characters on the same screen during manual quality inspection, which can effectively improve work efficiency and accuracy.

[0159] Embodiment 2

[0160] See also Figure 3 The embodiment of the present invention further provides a document entry review system 300, the system comprising:

[0161] The image segmentation module 301 is used to obtain the original element image corresponding to the first input document, and segment the original element image to obtain a plurality of element image slices;

[0162] The initial recognition information acquisition module 302 is used to acquire the initial recognition information of the initial input document corresponding to the element image slice;

[0163] The classification module 303 is used to label and classify the element image slices according to the initial recognition information to obtain a number of element image categories;

[0164] The recognition module 304 is used to perform secondary recognition on the element image slices according to the element image categories to obtain secondary recognition information of the element image slices;

[0165] The determination module 305 is used to determine the review result according to the initial identification information and the secondary identification information.

[0166] In this embodiment, the system executes the method described in any of the above embodiments. The specific functions and technical effects can be referred to the above embodiments and will not be described in detail here.

[0167] See also Figure 4 , the embodiment of the present application further provides an electronic device 400, the electronic device 400 includes a processor 401, a memory 402 and a communication bus 403;

[0168] The communication bus 403 is used to connect the processor 401 and the memory 402;

[0169] The processor 401 is configured to execute the computer program stored in the memory 402 to implement the method described in any of the above embodiments.

[0170] The embodiment of the present application also provides a non-volatile readable storage medium, which stores one or more modules (programs). When the one or more modules are applied to a device, the device can execute instructions (instructions) of the steps included in the embodiment 1 of the embodiment of the present application.

[0171] The embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored, and the computer program is used to enable the computer to execute any method described in the first embodiment.

[0172] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A document entry review method, characterized in that: The method comprises: Acquire an original element image corresponding to the first input document, and segment the original element image to obtain a plurality of element image slices; Acquire the initial recognition information of the initial entry document corresponding to the element image slice; Annotating and classifying the element image slices according to the initial recognition information to obtain a plurality of element image categories; performing secondary recognition on the element image slices in groups according to the element image categories to obtain secondary recognition information of the element image slices; Determine the review result according to the primary identification information and the secondary identification information; The step of segmenting the original element image to obtain a plurality of element image slices includes: Segmenting the original element image according to characters to obtain a plurality of element image slices including one character; The secondary identification of the element image slices by grouping according to the element image category to obtain the secondary identification information of the element image slices includes any one of the following: Distributing tasks for the element image slices according to the element image categories, displaying the element image slices respectively according to the element image categories, and acquiring secondary identification information of the element image slices; Distribute tasks for the element image slices according to the element image categories, determine a preset single-character recognition model according to the initial recognition information corresponding to the element image slices in the classification, input the element image slices in the classification into the preset single-character recognition model, if the preset single-character recognition model recognizes successfully, obtain secondary recognition information of the element image slices, if the preset single-character recognition model fails to recognize, input the element image slices into a preset full-character recognition model to obtain secondary recognition information of the element image slices; Tasks are distributed to the element image slices according to the element image categories, a preset full-character recognition model is determined based on the primary recognition information corresponding to the element image slices in the classification, the element image slices in the classification are input into the preset full-character recognition model, and secondary recognition information of the element image slices is obtained.

2. The document entry review method according to claim 1, characterized in that: Determining the review result according to the primary identification information and the secondary identification information includes at least one of the following: If the primary identification information and the secondary identification information corresponding to the same element image slice are the same, the review result of the primary identification information includes successful review; If the initial identification information and the secondary identification information corresponding to the same element image slice are different, the review result of the initial identification information includes review failure, and the method also includes identifying the element image slice corresponding to the initial identification information three times and reviewing it again.

3. The document entry review method according to claim 1, characterized in that: The review results determined based on the initial identification information and the secondary identification information include: Reorganizing the secondary identification information according to the sorting order of the corresponding element image slices in the original element image to obtain a secondary input document; Comparing the first input document and the second input document according to the first identification information and the second identification information to obtain a comparison result; If the comparison result includes that the first input document and the second input document are consistent, the review result of the first input document includes successful review; If the comparison result includes that the first input document and the second input document are inconsistent, and the review result of the first input document includes review failure, the original element image is recognized three times and reviewed again.

4. The document entry review method according to claim 1, characterized in that: The method further comprises: Acquire a number of review results including the original element images corresponding to the successfully reviewed initial recognition information as quality inspection element images, and segment the quality inspection element images according to characters to obtain a number of quality inspection element image slices; Annotating and classifying the quality inspection element image slices according to the initial identification information; Determine a preset single-character recognition model according to the initial recognition information corresponding to the quality inspection element image slices in the classification, input the quality inspection element image slices in the classification into the preset single-character recognition model, if each of the quality inspection element image slices is successfully recognized in the preset single-character recognition model, the quality inspection is qualified; if there is at least one quality inspection element image slice that fails to be recognized in the preset single-character recognition model, the quality inspection is unqualified, or, display the quality inspection element image slices separately according to the classification, and obtain the input quality inspection results, which include qualified quality inspection and unqualified quality inspection.

5. The document entry review method according to claim 4, characterized in that: If the quality inspection result includes quality inspection failure, the method further includes: Obtaining initial identification information corresponding to the image slice of the quality inspection element that failed the quality inspection; Obtaining a quality inspection pass rate for each initial identification information, wherein the quality inspection pass rate is determined according to the total number of the quality inspection element image slices and the number of the quality inspection element image slices corresponding to the initial identification information; If there is abnormal recognition information, the preset single character recognition model and / or the preset full character recognition model is retrained according to the abnormal recognition information, and the abnormal recognition information includes the initial recognition information whose quality inspection pass rate is lower than the preset quality inspection pass rate threshold.

6. A document entry review system, characterized in that: The system comprises: An image segmentation module is used to obtain an original element image corresponding to a document entered for the first time, and segment the original element image to obtain a plurality of element image slices; A first identification information acquisition module, used to acquire the first identification information of the first input document corresponding to the element image slice; A classification module, used for labeling and classifying the element image slices according to the initial recognition information to obtain a plurality of element image categories; An identification module, used for performing secondary identification on the element image slice groups according to the element image categories to obtain secondary identification information of the element image slices; A determination module, used to determine a review result according to the primary identification information and the secondary identification information; The image segmentation module is also used to segment the original element image according to characters to obtain a plurality of element image slices including one character; The secondary identification of the element image slices by grouping according to the element image category to obtain the secondary identification information of the element image slices includes any one of the following: Distributing tasks for the element image slices according to the element image categories, displaying the element image slices respectively according to the element image categories, and acquiring secondary identification information of the element image slices; Distribute tasks for the element image slices according to the element image categories, determine a preset single-character recognition model according to the initial recognition information corresponding to the element image slices in the classification, input the element image slices in the classification into the preset single-character recognition model, if the preset single-character recognition model recognizes successfully, obtain secondary recognition information of the element image slices, if the preset single-character recognition model fails to recognize, input the element image slices into a preset full-character recognition model to obtain secondary recognition information of the element image slices; Tasks are distributed to the element image slices according to the element image categories, a preset full-character recognition model is determined based on the primary recognition information corresponding to the element image slices in the classification, the element image slices in the classification are input into the preset full-character recognition model, and secondary recognition information of the element image slices is obtained.

7. An electronic device, characterized in that: including a processor, a memory and a communication bus; The communication bus is used to connect the processor and the memory; The processor is configured to execute the computer program stored in the memory to implement the method according to any one of claims 1 to 5.

8. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is used to make the computer execute the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method of image information input and system thereof

    CN101739441A

  • Information checking method, apparatus and system

    CN109409401A

  • Nuclear power file verifying and processing method and system

    CN109446345A

  • Certificate authenticity verification method and device, computer device and storage medium

    CN109446900A

  • An insulator string self-destruction identification method based on transfer learning

    CN109934222A