Disclosure of Invention
Based on the problems, the invention provides a new image analysis scheme for the securities, which can effectively improve the accuracy of judgment and reduce the checking cost.
In view of the above, the present invention provides an image analysis method for securities, including: detecting a plurality of pieces of oriented information of the image of the valuable paper according to a preset sequence, wherein the oriented information comprises front information, back information, perspective information and/or infrared information; when any one of the orientation information is detected to be unqualified, judging that the image is unqualified; when each piece of orientation information in the plurality of pieces of orientation information is detected to be qualified, judging that the image is qualified; and analyzing and recording the error type and the error process of the unqualified image so as to manage and count the unqualified image.
In the technical scheme, multiple kinds of information of the images are detected for multiple times respectively, one set of images contain multi-directional information such as front, back, perspective, infrared and the like, if one side of the images is unqualified, the set of images is considered unqualified, and only if all the pieces of information are qualified, the set of images is considered qualified. Therefore, the image is detected for many times when the information is unqualified, so that the judgment result is more reliable, the judgment accuracy is effectively improved, manual detection is replaced, and the checking cost is reduced.
In the above technical solution, preferably, the method includes: when the number of the images needing to be detected is multiple, the multiple images are distributed to multiple different detection nodes, so that the multiple images are detected by the multiple different detection nodes at the same time.
In the technical scheme, when the number of the images needing to be judged in a certain batch is too large, the images can be judged in a multi-node concurrent operation mode, so that the judgment time of the images is saved. The multi-node operation relates to a scheduling method in a system, and images to be judged can be distributed to different nodes according to respective operation conditions of the nodes.
In any one of the above technical solutions, preferably, the method further includes: respectively acquiring crown word number information of the unqualified image and the qualified image; adding crown word number information of the unqualified images into a black list, adding crown word number information of the qualified images into a white list, and adding crown word number information meeting specified conditions in the crown word number information of the unqualified images or in the crown word number information of the qualified images into a gray list.
In the technical scheme, the access of the judgment result takes the database as a main carrier, the information of the judgment process and the final result are synchronously written into the database in the judgment process of the system, and when the software and hardware are abnormal or other breakdown conditions occur, the system can be intelligently recovered to be in the current judgment state from the database so as to keep the running consistency of the system. Therefore, the information of the prefix number of the image is added to the list and stored, so that the system can support the judgment result of the retrieval image under abnormal or other special conditions, and the judgment information of the past image is truly restored. Wherein, the system supports the output of three types of crown word number lists: the white list refers to a crown word number set of images judged to be qualified by the system; the blacklist refers to a crown word number set of images which are judged to be unqualified by the system; the grey list refers to a set of prefix numbers that meet specified conditions.
In any one of the above technical solutions, preferably, the error types of the faulty image include: smearing, ink stain, corner folding and missing printing; the error process of the defective image includes: white paper, offset printing, gravure.
In any one of the above technical solutions, preferably, the preset sequence is set according to an error type and/or an error procedure of the unqualified image.
In the technical scheme, the determination-oriented sequence can be self-defined, generally, in the determination, the front information of all images needing to be determined is determined firstly, if the front of a certain set of images is determined to be unqualified, the set of images is unqualified, and the rest of the set of images do not need to be determined again; and after the front judgment of all the images is finished, judging qualified images on the front, and then judging the back. The above rules are also applicable to determining other information-oriented information such as perspective and infrared. For example, the known perspective surfaces of the images of the batch are more unqualified, the default perspective surface is selected to be firstly judged, and the front surface, the back surface and other surfaces of the images are judged according to the perspective judgment result, so that the judgment time is saved, and the operation efficiency of the system is improved. In addition, the plurality of orientation settings may be set to a unified priority, that is, the plurality of orientation settings may be set to a criterion of the parallel first judgment. Because some information on the image needs to be combined into multiple faces to determine whether the information is qualified or not in some cases, any number of faces (such as only the front face/the infrared face) can be displayed at the same time to perform the determination of the comprehensive information. In this mode, the result of the system determination is the final result of the set of images, and other-oriented determinations are not required.
By the technical scheme, whether the images of the securities are qualified or not can be judged efficiently and rapidly, the judgment efficiency is improved, and the checking cost and the misjudgment rate are reduced.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
Fig. 1 shows a flow chart of a method for analyzing an image of a document of value according to an embodiment of the invention.
As shown in fig. 1, a method of analyzing a security image according to an embodiment of the present invention includes:
step 102, detecting a plurality of pieces of oriented information of the image of the valuable paper according to a preset sequence, wherein the oriented information comprises front information, back information, perspective information and/or infrared information.
And step 104, judging that the image is unqualified when any piece of orientation information is unqualified, and judging that the image is qualified when each piece of orientation information in the plurality of pieces of orientation information is qualified.
And 106, analyzing and recording the error types and error procedures of the unqualified images so as to manage and count the unqualified images.
In the technical scheme, multiple kinds of information of the images are detected for multiple times respectively, one set of images contain multi-directional information such as front, back, perspective, infrared and the like, and if one side of the images is unqualified, the set of images is considered to be unqualified. The set of images is qualified only if all the information-oriented data is qualified. Therefore, the image is detected for many times when the information is unqualified, so that the judgment result is more reliable, the judgment accuracy is effectively improved, manual detection is replaced, and the checking cost is reduced.
In the above technical solution, preferably, the method includes: when the number of the images needing to be detected is multiple, the multiple images are distributed to multiple different detection nodes, so that the multiple images are detected by the multiple different detection nodes at the same time.
In the technical scheme, when the number of the images needing to be judged in a certain batch is too large, the images can be judged in a multi-node concurrent operation mode, so that the judgment time of the images is saved. The multi-node operation relates to a scheduling method in a system, and images to be judged can be distributed to different nodes according to respective operation conditions of the nodes.
In any one of the above technical solutions, preferably, the method further includes: acquiring crown word number information of the unqualified image and the qualified image respectively; adding the crown number information of the unqualified images into a black list, adding the crown number information of the qualified images into a white list, and adding the crown number information meeting the specified conditions in the crown number information of the unqualified images or the crown number information of the qualified images into a gray list.
In the technical scheme, the access of the judgment result takes the database as a main carrier, the information of the judgment process and the final result are synchronously written into the database in the judgment process of the system, and when the software and hardware are abnormal or other breakdown conditions occur, the system can be intelligently recovered to be in the current judgment state from the database so as to keep the running consistency of the system. Therefore, the information of the prefix number of the image is added to the list and stored, so that the system can support the judgment result of the retrieval image under abnormal or other special conditions, and the judgment information of the past image is truly restored. Wherein, the system supports the output of three types of crown word number lists: the white list refers to a crown word number set of images judged to be qualified by the system; the blacklist refers to a crown word number set of images which are judged to be unqualified by the system; the grey list refers to a set of prefix numbers that meet specified conditions.
In any one of the above technical solutions, preferably, the error types of the faulty image include: smearing, ink stain, corner folding and missing printing; the error process of the defective image includes: white paper, offset printing, gravure.
In any of the above technical solutions, preferably, the preset sequence is set according to an error type and/or an error procedure of the failed image.
In the technical scheme, the determination-oriented sequence can be self-defined, generally, in the determination, the front information of all images needing to be determined is determined firstly, if the front of a certain set of images is determined to be unqualified, the set of images is unqualified, and the rest of the set of images do not need to be determined again; and after the front judgment of all the images is finished, judging qualified images on the front, and then judging the back. The above rules are also applicable to determining other information-oriented information such as perspective and infrared. For example, the known perspective surfaces of the images of the batch are more unqualified, the default perspective surface is selected to be firstly judged, and the front surface, the back surface and other surfaces of the images are judged according to the perspective judgment result, so that the judgment time is saved, and the operation efficiency of the system is improved. In addition, the plurality of orientation settings may be set to a unified priority, that is, the plurality of orientation settings may be set to a criterion of the parallel first judgment. Because some information on the image needs to be combined into multiple faces to determine whether the information is qualified or not in some cases, any number of faces (such as only the front face/the infrared face) can be displayed at the same time to perform the determination of the comprehensive information. In this mode, the result of the system determination is the final result of the set of images, and other-oriented determinations are not required.
FIG. 2 shows a schematic block diagram of an image analysis system of a value document according to an embodiment of the invention.
As shown in fig. 2, an analysis system 200 of a security image according to an embodiment of the present invention includes: detection unit 202, determination unit 204, and processing unit 206.
The detection unit 202 is configured to detect multiple pieces of information-oriented information of an image of a valuable document according to a preset sequence, where the information-oriented information includes front information, back information, perspective information, and/or infrared information; a determining unit 204 configured to determine that the image is not qualified when any piece of orientation information is detected to be not qualified, and determine that the image is qualified when each piece of orientation information in the plurality of pieces of orientation information is detected to be qualified; and the processing unit 206 is used for analyzing and recording the error types and error procedures of the unqualified images so as to manage and count the unqualified images.
In the technical scheme, multiple kinds of information of the images are detected for multiple times respectively, one set of images contain multi-directional information such as front, back, perspective, infrared and the like, and if one side of the images is unqualified, the set of images is considered to be unqualified. The set of images is qualified only if all the information-oriented data is qualified. Therefore, the image is detected for many times when the information is unqualified, so that the judgment result is more reliable, the judgment accuracy is effectively improved, manual detection is replaced, and the checking cost is reduced.
In the above technical solution, preferably, the method includes: the allocating unit 208 is configured to, when the number of images to be detected is multiple, allocate the multiple images to multiple different detection nodes, so as to detect the multiple images by using the multiple different detection nodes at the same time.
In the technical scheme, when the number of the images needing to be judged in a certain batch is too large, the images can be judged in a multi-node concurrent operation mode, so that the judgment time of the images is saved. The multi-node operation relates to a scheduling method in a system, and images to be judged can be distributed to different nodes according to respective operation conditions of the nodes.
In any one of the above technical solutions, preferably, the method further includes: an obtaining unit 210, configured to obtain crown word number information of the non-qualified image and the qualified image respectively; an adding unit 212, configured to add the crown number information of the unqualified image to a blacklist, add the crown number information of the qualified image to a whitelist, and add the crown number information meeting a specified condition in the crown number information of the unqualified image or in the crown number information of the qualified image to a grey list.
In the technical scheme, the access of the judgment result takes the database as a main carrier, the information of the judgment process and the final result are synchronously written into the database in the judgment process of the system, and when the software and hardware are abnormal or other breakdown conditions occur, the system can be intelligently recovered to be in the current judgment state from the database so as to keep the running consistency of the system. Therefore, the information of the prefix number of the image is added to the list and stored, so that the system can support the judgment result of the retrieval image under abnormal or other special conditions, and the judgment information of the past image is truly restored. Wherein, the system supports the output of three types of crown word number lists: the white list refers to a crown word number set of images judged to be qualified by the system; the blacklist refers to a crown word number set of images which are judged to be unqualified by the system; the grey list refers to a set of prefix numbers that meet specified conditions.
In any one of the above technical solutions, preferably, the error types of the faulty image include: smearing, ink stain, corner folding and missing printing; the error process of the defective image includes: white paper, offset printing, gravure.
In any one of the above technical solutions, preferably, the error types of the faulty image include: smudge, ink stain, corner mark and/or lack of print; the error process of the defective image includes: white paper, offset printing and/or gravure printing.
In any one of the above technical solutions, preferably, the method further includes: a setting unit 214, configured to set the preset order according to the error type and/or the error procedure of the unqualified image.
In the technical scheme, the determination-oriented sequence can be self-defined, generally, in the determination, the front information of all images needing to be determined is determined firstly, if the front of a certain set of images is determined to be unqualified, the set of images is unqualified, and the rest of the set of images do not need to be determined again; and after the front judgment of all the images is finished, judging qualified images on the front, and then judging the back. The above rules are also applicable to determining other information-oriented information such as perspective and infrared. For example, the known perspective surfaces of the images of the batch are more unqualified, the default perspective surface is selected to be firstly judged, and the front surface, the back surface and other surfaces of the images are judged according to the perspective judgment result, so that the judgment time is saved, and the operation efficiency of the system is improved. In addition, the plurality of orientation settings may be set to a unified priority, that is, the plurality of orientation settings may be set to a criterion of the parallel first judgment. Because some information on the image needs to be combined into multiple faces to determine whether the information is qualified or not in some cases, any number of faces (such as only the front face/the infrared face) can be displayed at the same time to perform the determination of the comprehensive information. In this mode, the result of the system determination is the final result of the set of images, and other-oriented determinations are not required.
Specifically, the technical solution of the present invention can be embodied by a plurality of examples as follows:
the first embodiment is as follows: firstly, a preset sequence can be set according to the error type and/or the error process of the unqualified image, wherein the error type of the unqualified image comprises the following steps: smearing, ink stain, corner folding and/or lack of printing and the like; the error process of the defective image includes: white paper, offset printing, gravure printing and the like, then detecting a plurality of pieces of oriented information such as front information, back information, perspective information and/or infrared information of the image of the securities according to a preset sequence, and judging that the image is unqualified when any piece of oriented information is detected to be unqualified; only when each piece of oriented information in the plurality of pieces of oriented information is detected to be qualified, the image is judged to be qualified, and the error type and the error process of the unqualified image are analyzed and recorded so as to manage and count the unqualified image, so that the judgment result is more reliable, the judgment accuracy is effectively improved, manual detection is replaced, and the checking cost is reduced.
Example two: the method can also be implemented on the basis of the first embodiment, the number of the images to be detected is detected, when the number of the images to be detected is multiple, the multiple images are distributed to multiple different detection nodes, and the multiple images are detected by using the multiple different detection nodes at the same time, so that when the number of a certain batch of images to be determined is too large, the images can be determined by using a multi-node concurrent operation mode, the determination time of the multiple images is saved, the multi-node operation relates to a scheduling method in a system, and the images to be determined can be distributed to different nodes according to respective operation conditions of the nodes.
Example three: the detection of the crown word number information of the unqualified image and the crown word number information of the qualified image can be added on the basis of the first embodiment, the crown word number information of the unqualified image and the crown word number information of the qualified image are respectively obtained, the crown word number information of the unqualified image is added into a blacklist, the crown word number information of the qualified image is added into a whitelist, and the crown word number information meeting the specified conditions in the crown word number information of the unqualified image or in the crown word number information of the qualified image is added into a grey list, so that the system can support the judgment result of the retrieval image under abnormal or other special conditions, and the judgment information of the conventional image is really restored.
The technical solution of the present invention is further explained with reference to fig. 3.
As shown in fig. 3, the sorter 302 detects a plurality of orientation information of the image of the securities in a preset order, wherein the orientation information includes front information, back information, perspective information, and/or infrared information. The sorter 302 is connected to the secondary checking automatic detection system 304, and sends the detection result of the images of a certain number (e.g. 7000) of securities to the secondary checking automatic detection system 304, and the secondary checking automatic detection system 304 distinguishes qualified products, general waste products and serious waste products through the secondary checking, and sends the distinguishing result to the secondary checking image comprehensive analysis and judgment system 306. The secondary inspection image comprehensive analysis and judgment system 306 analyzes and records the error types and error procedures of the unqualified images so as to manage and count the unqualified images, respectively obtain the prefix number information of the images of qualified products, general waste products and serious waste products, and send the prefix number information to the corresponding output list. Wherein, the system supports the output of three types of crown word number lists: the white list refers to a crown word number set of images judged to be qualified by the system; the blacklist refers to a crown word number set of images which are judged to be unqualified by the system; the grey list refers to a set of prefix numbers that meet specified conditions.
In the technical scheme, multiple kinds of information of the images are detected for multiple times respectively, one set of images contain multi-directional information such as front, back, perspective, infrared and the like, and if one side of the images is unqualified, the set of images is considered to be unqualified. The set of images is qualified only if all the information-oriented data is qualified. Therefore, the image is detected for many times when the information is unqualified, so that the judgment result is more reliable, and the judgment accuracy is effectively improved.
In addition, the access of the judgment result takes the database as a main carrier, the information of the judgment process and the final result are synchronously written into the database in the judgment process of the system, and when the software and hardware are abnormal or other breakdown conditions occur, the system can be intelligently recovered to be in a current judgment state from the database so as to keep the running consistency of the system. Therefore, the information of the prefix number of the image is added to the list and stored, so that the system can support the judgment result of the retrieval image under abnormal or other special conditions, and the judgment information of the past image is truly restored.
The technical scheme of the invention is explained in detail by combining the attached drawings, and the invention provides a novel image analysis scheme of the negotiable securities, which can efficiently and quickly judge whether the images of the negotiable securities are qualified or not, and effectively improve the accuracy of checking by repeatedly checking the negotiable securities for many times.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.