CN110516679A - A kind of method and system that the material stamped an offical seal is checked - Google Patents

A kind of method and system that the material stamped an offical seal is checked Download PDF

Info

Publication number
CN110516679A
CN110516679A CN201910816316.0A CN201910816316A CN110516679A CN 110516679 A CN110516679 A CN 110516679A CN 201910816316 A CN201910816316 A CN 201910816316A CN 110516679 A CN110516679 A CN 110516679A
Authority
CN
China
Prior art keywords
picture
seal
pixel
offical
enterprise
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910816316.0A
Other languages
Chinese (zh)
Other versions
CN110516679B (en
Inventor
王晓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201910816316.0A priority Critical patent/CN110516679B/en
Publication of CN110516679A publication Critical patent/CN110516679A/en
Application granted granted Critical
Publication of CN110516679B publication Critical patent/CN110516679B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/26Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion
    • G06V10/267Segmentation of patterns in the image field; Cutting or merging of image elements to establish the pattern region, e.g. clustering-based techniques; Detection of occlusion by performing operations on regions, e.g. growing, shrinking or watersheds
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/14Image acquisition
    • G06V30/148Segmentation of character regions
    • G06V30/153Segmentation of character regions using recognition of characters or words

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Business, Economics & Management (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Strategic Management (AREA)
  • Human Resources & Organizations (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Economics (AREA)
  • Evolutionary Biology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Character Input (AREA)
  • Collating Specific Patterns (AREA)

Abstract

The embodiment of the invention discloses a kind of method and system checked to the material stamped an offical seal, method includes: the corresponding picture of material for obtaining and stamping an offical seal, and is denoted as the first picture, and the first picture is redefined as the three-dimensional array of three kinds of colors of RGB composition;The corresponding position array of red pixel in three-dimensional array is obtained, second picture is generated;Image recognition is carried out to the official seal in second picture, the enterprise name that will identify that is compared with the enterprise name of authorization enterprise, obtains the first comparison result;Optical character identification is carried out to the first picture, according to needing the external input business factor examined and component attributes predetermined to be compared in the first picture after identification, obtains the second comparison result;According to the first comparison result and the second comparison result, checking to the material stamped an offical seal is realized.The present invention audits the automation realized to class material of stamping an offical seal, and improves the flexibility for handling such Business Information in scene, reduces operation cost.

Description

A kind of method and system that the material stamped an offical seal is checked
Technical field
The present invention relates to technical field of data processing more particularly to a kind of methods checked to the material stamped an offical seal And system.
Background technique
Enterprise exists for regulatory requirement and is authorized to the handler of different business when handling all kinds of business Scene has obtained the approval of enterprise to express the behavior in the scene, has needed to cover enterprise's official seal to meet scene to risk The requirement of management.
By manual examination and verification official seal whether be that authorization enterprise affixes one's seal in existing most of scenes, which in addition to low efficiency, Operator easily occurs to audit the mistake of official seal.
It carries out official seal using stamp checking system in financial field to check, but which needs client to carry out reserved print in bank It reflects, recognition accuracy is high under line, and long flow path, business efficiency are lower, is unable to satisfy the demand of internet batch service processing.
Therefore manual identified mainly is passed through to the audit of official seal in the prior art, is divided into naked eyes comparison and stamp checking system ratio To two ways, both mode recognition accuracies are higher, but due to needing staff to cooperate, recognition time is long, identification effect Rate is low.
Therefore the prior art needs further to develop.
Summary of the invention
In view of the above technical problems, the embodiment of the invention provides a kind of methods checked to the material stamped an offical seal And system, it is able to solve and manual identified mainly is passed through to the audit of official seal in the prior art, be divided into naked eyes comparison and print test system System compares two ways, and for both modes due to needing staff to cooperate, recognition time is long, and the low technology of recognition efficiency is asked Topic.
The first aspect of the embodiment of the present invention provides a kind of method checked to the material stamped an offical seal, comprising:
The corresponding picture of material stamped an offical seal is obtained, the first picture is denoted as, pixels whole in the first picture are reset Justice is the three-dimensional array of three kinds of colors of RGB composition;
The corresponding position array of red pixel in three-dimensional array is obtained, according to the corresponding position array of red pixel Generate second picture;
Image recognition is carried out to the official seal in second picture, obtains recognition result;The enterprise name and authorization that will identify that The enterprise name of enterprise is compared, and obtains the first comparison result;
Optical character identification is carried out to the first picture, according to the external input business for needing inspection in the first picture after identification Element and component attributes predetermined are compared, and obtain the second comparison result;
According to the first comparison result and the second comparison result, generate to official seal type, official seal material in the material stamped an offical seal Checking to the material stamped an offical seal is realized in the judgement of the correctness of material.
Optionally, described to obtain the corresponding picture of material stamped an offical seal, it is denoted as the first picture, it will be whole in the first picture Pixel redefines as the three-dimensional array of three kinds of colors of RGB composition, comprising:
The corresponding picture of material stamped an offical seal is obtained, the first picture is denoted as;
Pixel analysis is carried out to the pixel of the first picture, pixel each in the first picture is redefined as RGB three The three-dimensional array of kind color composition, realizes the digitlization of the first picture.
Optionally, the corresponding position array of red pixel obtained in three-dimensional array, according to red pixel pair The position array answered generates second picture, comprising:
Obtain the red corresponding position array of pixel for accounting for primary color in three-dimensional array;
Generating a new whole colors is white picture, and the corresponding positional number of pixel of primary color is accounted for according to red The pixel of corresponding position in white picture is changed to red by group, and the picture of generation is denoted as second picture.
Optionally, the official seal in second picture carries out image recognition, obtains recognition result;The enterprise that will identify that Title enterprise name corresponding with authorization enterprise is compared, and obtains the first comparison result, comprising:
Image recognition is carried out to the official seal in second picture, obtains recognition result;
If identifying enterprise name, determine that, containing red official seal in second picture, official seal type is original part;
It is compared according to the enterprise name identified enterprise name corresponding with quasi- authorization enterprise;
If comparing the authenticity of authorization enterprise's transacting business wish in the material that successfully determines to stamp an offical seal.
Optionally, described that optical character identification is carried out to the first picture, obtain the external input for needing to examine in the first picture Business factor and component attributes predetermined are compared, and obtain the second comparison result, comprising:
Gridding definition is carried out to the format text of the first picture in advance, and component attributes are defined in advance, element Attribute is element name and factor content division rule;
Optical character identification is carried out to the first picture, obtains the external input business factor for needing verification in the first picture and pre- The corresponding factor content of the element name first defined is compared;
If it is correct for comparing the material successfully determined in the material stamped an offical seal.
Second aspect of the embodiment of the present invention provides a kind of system checked to the material stamped an offical seal, the system Include: memory, processor and is stored in the computer program that can be run on the memory and on the processor, it is described Computer program performs the steps of when being executed by the processor
The corresponding picture of material stamped an offical seal is obtained, the first picture is denoted as, pixels whole in the first picture are reset Justice is the three-dimensional array of three kinds of colors of RGB composition;
The corresponding position array of red pixel in three-dimensional array is obtained, according to the corresponding position array of red pixel Generate second picture;
Image recognition is carried out to the official seal in second picture, obtains recognition result;The enterprise name and authorization that will identify that The enterprise name of enterprise is compared, and obtains the first comparison result;
Optical character identification is carried out to the first picture, according to the external input business for needing inspection in the first picture after identification Element and component attributes predetermined are compared, and obtain the second comparison result;
According to the first comparison result and the second comparison result, generate to official seal type, official seal material in the material stamped an offical seal Checking to the material stamped an offical seal is realized in the judgement of the correctness of material.
Optionally, it is also performed the steps of when the computer program is executed by the processor
The corresponding picture of material stamped an offical seal is obtained, the first picture is denoted as;
Pixel analysis is carried out to the pixel of the first picture, pixel each in the first picture is redefined as RGB three The three-dimensional array of kind color composition, realizes the digitlization of the first picture.
Optionally, it is also performed the steps of when the computer program is executed by the processor
Obtain the red corresponding position array of pixel for accounting for primary color in three-dimensional array;
Generating a new whole colors is white picture, and the corresponding positional number of pixel of primary color is accounted for according to red The pixel of corresponding position in white picture is changed to red by group, and the picture of generation is denoted as second picture.
Optionally, it is also performed the steps of when the computer program is executed by the processor
Image recognition is carried out to the official seal in second picture, obtains recognition result;
If identifying enterprise name, determine that, containing red official seal in second picture, official seal type is original part;
It is compared according to the enterprise name identified enterprise name corresponding with quasi- authorization enterprise;
If comparing the authenticity of authorization enterprise's transacting business wish in the material that successfully determines to stamp an offical seal.
The third aspect of the embodiment of the present invention provides a kind of non-volatile computer readable storage medium storing program for executing, which is characterized in that The non-volatile computer readable storage medium storing program for executing is stored with computer executable instructions, and the computer executable instructions are by one Or multiple processors are when executing, and may make one or more of processors execute above-mentioned to examine the material stamped an offical seal The method tested.
In technical solution provided in an embodiment of the present invention, the corresponding picture of the material stamped an offical seal is obtained, the first figure is denoted as Piece redefines the first picture for the three-dimensional array of three kinds of colors of RGB composition;Obtain the red pixel in three-dimensional array Corresponding position array generates second picture;Image recognition, the enterprise name that will identify that are carried out to the official seal in second picture It is compared with the enterprise name of authorization enterprise, obtains the first comparison result;Optical character identification is carried out to the first picture, according to It needs the external input business factor examined and component attributes predetermined to be compared in the first picture after identification, obtains the Two comparison results;According to the first comparison result and the second comparison result, checking to the material stamped an offical seal is realized.Therefore opposite In the prior art, the embodiment of the present invention to the official seal of data whether be duplicating, format correctness, the correctness stamped an offical seal and The correctness of fill substance has carried out auxiliary judgment, realizes that the automation to class material of stamping an offical seal is audited, improves in scene The flexibility for handling such Business Information, reduces operation cost, expands Internet service for scene and provides the foundation facility.
Detailed description of the invention
Fig. 1 is a kind of process of an embodiment of the method checked to the material stamped an offical seal in the embodiment of the present invention Schematic diagram;
Fig. 2 is hard for another embodiment for the system checked to the material stamped an offical seal a kind of in the embodiment of the present invention Part structural schematic diagram.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description.Obviously, the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this Embodiment in invention, those skilled in the art's every other implementation obtained without creative efforts Example, shall fall within the protection scope of the present invention.
The embodiment of the present invention is described in detail below in conjunction with attached drawing.
Referring to Fig. 1, Fig. 1 is one of a kind of method checked to the material stamped an offical seal in the embodiment of the present invention The flow diagram of embodiment.As shown in Figure 1, comprising:
Step S100, the corresponding picture of material stamped an offical seal is obtained, the first picture is denoted as, by pictures whole in the first picture Vegetarian refreshments redefines as the three-dimensional array of three kinds of colors of RGB composition;
Step S200, the corresponding position array of red pixel in three-dimensional array is obtained, it is corresponding according to red pixel Position array generate second picture;
Step S300, image recognition is carried out to the official seal in second picture, obtains recognition result;The enterprise's name that will identify that Claim to be compared with the enterprise name of authorization enterprise, obtains the first comparison result;
Step S400, optical character identification is carried out to the first picture, it is outer according to needing to examine in the first picture after identification Portion's incoming traffic element and component attributes predetermined are compared, and obtain the second comparison result;
Step S500, it according to the first comparison result and the second comparison result, generates to official seal class in the material stamped an offical seal Checking to the material stamped an offical seal is realized in the judgement of type, the correctness of official seal material.
Specifically, three kinds of colors of color RGB of picture whole pixel are mainly added comparison by the embodiment of the present invention Degree pulls out red pixel, is reassembled into image data to carry out digital definition again;
Official seal in newly-generated image data is identified, is such as identified successfully, it was demonstrated that containing red public in image data Chapter, such as recognition failures, then redfree seal is black-and-white image in image data;By the official seal content of identification and want transacting business Enterprise name is compared, and judges whether it is authorization enterprise and stamps an offical seal, the comprehensive authenticity for determining enterprise's transacting business;
Authority is subjected to digitized label definition, has element information label to become label the element name in file, And carry out storehouse processing;Pictograph identification is carried out to whole file, using the element name of two labeling as separator, is taken out Element information placed in the middle;It is compared according to preset element information rule or content, it is ensured that the correctness of business text. The first comparison result and the second comparison result wherein returned in step S500 include but is not limited in the data official seal whether be Copy, the data cover official seal whether be Target Enterprise official seal, the data factor content whether the industry with external definition Business element is consistent.
As known from the above, the embodiment of the present invention changes the business model of original reserved specimen seal-artificial treatment, directly divides Authenticity, reasonability that data is submitted by enterprise are analysed, automation is established and checks mechanism, industrial and commercial, administrative, financial industry internet is provided It is turned into the base power of industry, checks on for the control and management of operational risk in scene.By this method to the official seal of data Whether it is that the correctness of duplicating, format correctness, the correctness stamped an offical seal and fill substance has carried out auxiliary judgment, realizes Automation audit to class material of stamping an offical seal, improves the flexibility for handling such Business Information in scene, reduces operation Cost expands Internet service for scene and provides the foundation facility.
Further, step S100 includes:
The corresponding picture of material stamped an offical seal is obtained, the first picture is denoted as;
Pixel analysis is carried out to the pixel of the first picture, pixel each in the first picture is redefined as RGB three The three-dimensional array of kind color composition, realizes the digitlization of the first picture.
Specifically, client of the embodiment of the present invention directly upload stamp an offical seal class material picture or to stamp an offical seal class material into Capable upload of taking pictures, picture are defined as the first picture, and the first picture is denoted as picture A;
The color analysis that pixel is carried out for picture A is with three kinds of colors of RGB by being defined as each pixel The three-dimensional array of standard, picture information is digitized.
Further, step S200 specifically:
Obtain the red corresponding position array of pixel for accounting for primary color in three-dimensional array;
Generating a new whole colors is white picture, and the corresponding positional number of pixel of primary color is accounted for according to red The pixel of corresponding position in white picture is changed to red by group, and the picture of generation is denoted as second picture.
Specifically, green according to each pixel red value lower limit, the blue values upper limit, green numerical upper limits and blue Difference between color takes out the pixel position array that red accounts for primary color;
The picture that a new whole colors are white is generated, according to the pixel position array that previous step obtains, by phase It answers position pixel to be changed to red, is defined as second picture, second picture is denoted as picture B.
Further, step S300 includes:
Image recognition is carried out to the official seal in second picture, obtains recognition result;
If identifying enterprise name, determine that, containing red official seal in second picture, official seal type is original part;
It is compared according to the enterprise name identified enterprise name corresponding with authorization enterprise;
If comparing the authenticity of authorization enterprise's transacting business in the material that successfully determines to stamp an offical seal.
When it is implemented, carrying out pictograph identification to the official seal in picture B;If identifying enterprise name, is determined Containing red official seal in two pictures, official seal type is original part, then unidentified enterprise name out, then determine not red in second picture Color official seal, official seal type are copy.
If identifying enterprise name, the enterprise name of identification is compared with enterprise name of affixing one's seal, whether judges official seal Effectively;
If comparing successfully, the authenticity of authorization enterprise's transacting business in the material that illustrates to stamp an offical seal, official seal is effective. If comparing failure, illustrate that official seal is invalid.
Further, step S400 includes:
Gridding definition is carried out to the format text of the first picture in advance, and component attributes are defined in advance, element Attribute is element name and factor content division rule;
Optical character identification is carried out to the first picture, obtains the external input business factor for needing verification in the first picture and pre- The corresponding factor content of the element name first defined is compared;
If it is correct for comparing the material successfully determined in the material stamped an offical seal.
When it is implemented, carrying out gridding definition previously according to format text pattern to the format text of block letter, determining Element name and factor content division rule, such as the service authorization book in attached drawing are enterprise name, factor content, quilt after division Donor's name requires content, licensee's certificate type, factor content etc.;
Optical character identification is carried out to picture A;
The text splicing between two element names is obtained as factor content, is defined into corresponding element name, such as basis Factor content of the character string as enterprise name between enterprise name and licensee's name, licensee's name and be authorized to Factor content of the character string as licensee's name between testimony of a witness part type;
It is compared according to the external input business factor that need to be verified factor content corresponding with corresponding element name.If comparing Success, then determine that the material in the material stamped an offical seal is correct.
The method checked to the material stamped an offical seal in the embodiment of the present invention is described above, below it is right The system checked to the material stamped an offical seal in the embodiment of the present invention is described, referring to Fig. 2, Fig. 2 is the present invention A kind of hardware structural diagram of another embodiment for the system that the material stamped an offical seal is checked, such as Fig. 2 in embodiment It is shown, system 10 include: memory 101, processor 102 and storage on a memory and the computer that can run on a processor Program, computer program perform the steps of when being executed by processor 101
The corresponding picture of material stamped an offical seal is obtained, the first picture is denoted as, pixels whole in the first picture are reset Justice is the three-dimensional array of three kinds of colors of RGB composition;
The corresponding position array of red pixel in three-dimensional array is obtained, according to the corresponding position array of red pixel Generate second picture;
Image recognition is carried out to the official seal in second picture, obtains recognition result;The enterprise name and authorization that will identify that The enterprise name of enterprise is compared, and obtains the first comparison result;
Optical character identification is carried out to the first picture, according to the external input business for needing inspection in the first picture after identification Element and component attributes predetermined are compared, and obtain the second comparison result;
According to the first comparison result and the second comparison result, generate to official seal type, official seal material in the material stamped an offical seal Checking to the material stamped an offical seal is realized in the judgement of the correctness of material.
Specifically, three kinds of colors of color RGB of picture whole pixel are mainly added comparison by the embodiment of the present invention Degree pulls out red pixel, is reassembled into image data to carry out digital definition again;
Official seal in newly-generated image data is identified, is such as identified successfully, it was demonstrated that containing red public in image data Chapter, such as recognition failures, then redfree seal is black-and-white image in image data;By the official seal content of identification and want transacting business Enterprise name is compared, and judges whether it is authorization enterprise and stamps an offical seal, the comprehensive authenticity for determining enterprise's transacting business;
Authority is subjected to digitized label definition, has element information label to become label the element name in file, And carry out storehouse processing;Pictograph identification is carried out to whole file, using the element name of two labeling as separator, is taken out Element information placed in the middle;It is compared according to preset element information rule or content, it is ensured that the correctness of business text. The first comparison result and the second comparison result wherein returned in step S500 include but is not limited in the data official seal whether be Copy, the data cover official seal whether be Target Enterprise official seal, the data factor content whether the industry with external definition Business element is consistent.
As known from the above, the embodiment of the present invention changes the business model of original reserved specimen seal-artificial treatment, directly divides Authenticity, reasonability that data is submitted by enterprise are analysed, automation is established and checks mechanism, industrial and commercial, administrative, financial industry internet is provided It is turned into the base power of industry, checks on for the control and management of operational risk in scene.By this method to the official seal of data Whether it is that the correctness of duplicating, format correctness, the correctness stamped an offical seal and fill substance has carried out auxiliary judgment, realizes Automation audit to class material of stamping an offical seal, improves the flexibility for handling such Business Information in scene, reduces operation Cost expands Internet service for scene and provides the foundation facility.
Optionally, it is also performed the steps of when computer program is executed by processor 101
The corresponding picture of material stamped an offical seal is obtained, the first picture is denoted as;
Pixel analysis is carried out to the pixel of the first picture, pixel each in the first picture is redefined as RGB three The three-dimensional array of kind color composition, realizes the digitlization of the first picture.
Specifically, client of the embodiment of the present invention directly upload stamp an offical seal class material picture or to stamp an offical seal class material into Capable upload of taking pictures, picture are defined as the first picture, and the first picture is denoted as picture A;
The color analysis that pixel is carried out for picture A is with three kinds of colors of RGB by being defined as each pixel The three-dimensional array of standard, picture information is digitized.
Optionally, it is also performed the steps of when computer program is executed by processor 101
Obtain the red corresponding position array of pixel for accounting for primary color in three-dimensional array;
Generating a new whole colors is white picture, and the corresponding positional number of pixel of primary color is accounted for according to red The pixel of corresponding position in white picture is changed to red by group, and the picture of generation is denoted as second picture.
When it is implemented, according to each pixel red value lower limit, the blue values upper limit, green numerical upper limits and indigo plant Difference between color green takes out the pixel position array that red accounts for primary color;
The picture that a new whole colors are white is generated, according to the pixel position array that previous step obtains, by phase It answers position pixel to be changed to red, is defined as second picture, second picture is denoted as picture B.
Optionally, it is also performed the steps of when computer program is executed by processor 101
Image recognition is carried out to the official seal in second picture, obtains recognition result;
If identifying enterprise name, determine that, containing red official seal in second picture, official seal type is original part;
It is compared according to the enterprise name identified enterprise name corresponding with authorization enterprise;
If comparing the authenticity of authorization enterprise's transacting business in the material that successfully determines to stamp an offical seal.
When it is implemented, carrying out pictograph identification to the official seal in picture B;If identifying enterprise name, is determined Containing red official seal in two pictures, official seal type is original part, then unidentified enterprise name out, then determine not red in second picture Color official seal, official seal type are copy.
If identifying enterprise name, the enterprise name of identification is compared with enterprise name of affixing one's seal, whether judges official seal Effectively;
If comparing successfully, the authenticity of authorization enterprise's transacting business in the material that illustrates to stamp an offical seal, official seal is effective. If comparing failure, illustrate that official seal is invalid.
The embodiment of the invention provides a kind of non-volatile computer readable storage medium storing program for executing, computer readable storage medium is deposited Computer executable instructions are contained, which is executed by one or more processors, for example, executing above retouch Method and step S100 to step S500 in the Fig. 1 stated.
The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to the foregoing embodiments Invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each implementation Technical solution documented by example is modified or equivalent replacement of some of the technical features;And these modification or Replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of method checked to the material stamped an offical seal characterized by comprising
Obtain the corresponding picture of material stamped an offical seal, be denoted as the first picture, by pixels whole in the first picture redefine for The three-dimensional array of three kinds of colors of RGB composition;
The corresponding position array of red pixel in three-dimensional array is obtained, is generated according to the corresponding position array of red pixel Second picture;
Image recognition is carried out to the official seal in second picture, obtains recognition result;The enterprise name that will identify that and authorization enterprise Enterprise name be compared, obtain the first comparison result;
Optical character identification is carried out to the first picture, according to the external input business factor for needing inspection in the first picture after identification And component attributes predetermined are compared, and obtain the second comparison result;
According to the first comparison result and the second comparison result, generate to official seal type in the material stamped an offical seal, official seal material Checking to the material stamped an offical seal is realized in the judgement of correctness.
2. the method according to claim 1 checked to the material stamped an offical seal, which is characterized in that described obtain adds The corresponding picture of the material affixed the official stamp, is denoted as the first picture, and it is three kinds of RGB that pixels whole in the first picture, which are redefined, The three-dimensional array of color composition, comprising:
The corresponding picture of material stamped an offical seal is obtained, the first picture is denoted as;
Pixel analysis is carried out to the pixel of the first picture, pixel each in the first picture is redefined as three kinds of face of RGB Colour cell at three-dimensional array, realize the first picture digitlization.
3. the method according to claim 2 checked to the material stamped an offical seal, which is characterized in that described to obtain three The corresponding position array of red pixel in dimension group generates second picture according to the corresponding position array of red pixel, Include:
Obtain the red corresponding position array of pixel for accounting for primary color in three-dimensional array;
Generating a new whole colors is white picture, and the corresponding position array of pixel of primary color is accounted for according to red, The pixel of corresponding position in white picture is changed to red, the picture of generation is denoted as second picture.
4. the method according to claim 3 checked to the material stamped an offical seal, which is characterized in that described to second Official seal in picture carries out image recognition, obtains recognition result;The enterprise name that will identify that enterprise corresponding with authorization enterprise Title is compared, and obtains the first comparison result, comprising:
Image recognition is carried out to the official seal in second picture, obtains recognition result;
If identifying enterprise name, determine that, containing red official seal in second picture, official seal type is original part;
It is compared according to the enterprise name identified enterprise name corresponding with authorization enterprise;
If comparing the authenticity of authorization enterprise's transacting business in the material that successfully determines to stamp an offical seal.
5. the method according to claim 4 checked to the material stamped an offical seal, which is characterized in that described to first Picture carries out optical character identification, obtains the external input business factor and element category predetermined for needing to examine in the first picture Property be compared, obtain the second comparison result, comprising:
Gridding definition is carried out to the format text of the first picture in advance, and component attributes are defined in advance, component attributes For element name and factor content division rule;
To the first picture progress optical character identification, obtains the external input business factor for needing verification in the first picture and determine in advance The corresponding factor content of element name of justice is compared;
If it is correct for comparing the material successfully determined in the material stamped an offical seal.
6. a kind of system checked to the material stamped an offical seal, which is characterized in that the system comprises: memory, processing Device and it is stored in the computer program that can be run on the memory and on the processor, the computer program is described Processor performs the steps of when executing
Obtain the corresponding picture of material stamped an offical seal, be denoted as the first picture, by pixels whole in the first picture redefine for The three-dimensional array of three kinds of colors of RGB composition;
The corresponding position array of red pixel in three-dimensional array is obtained, is generated according to the corresponding position array of red pixel Second picture;
Image recognition is carried out to the official seal in second picture, obtains recognition result;The enterprise name that will identify that and authorization enterprise Enterprise name be compared, obtain the first comparison result;
Optical character identification is carried out to the first picture, according to the external input business factor for needing inspection in the first picture after identification And component attributes predetermined are compared, and obtain the second comparison result;
According to the first comparison result and the second comparison result, generate to official seal type in the material stamped an offical seal, official seal material Checking to the material stamped an offical seal is realized in the judgement of correctness.
7. the system according to claim 6 checked to the material stamped an offical seal, which is characterized in that the computer It is also performed the steps of when program is executed by the processor
The corresponding picture of material stamped an offical seal is obtained, the first picture is denoted as;
Pixel analysis is carried out to the pixel of the first picture, pixel each in the first picture is redefined as three kinds of face of RGB Colour cell at three-dimensional array, realize the first picture digitlization.
8. the system according to claim 7 checked to the material stamped an offical seal, which is characterized in that the computer It is also performed the steps of when program is executed by the processor
Obtain the red corresponding position array of pixel for accounting for primary color in three-dimensional array;
Generating a new whole colors is white picture, and the corresponding position array of pixel of primary color is accounted for according to red, The pixel of corresponding position in white picture is changed to red, the picture of generation is denoted as second picture.
9. the system according to claim 8 checked to the material stamped an offical seal, which is characterized in that the computer It is also performed the steps of when program is executed by the processor
Image recognition is carried out to the official seal in second picture, obtains recognition result;
If identifying enterprise name, determine that, containing red official seal in second picture, official seal type is original part;
It is compared according to the enterprise name identified enterprise name corresponding with authorization enterprise;
If comparing the authenticity of authorization enterprise's transacting business in the material that successfully determines to stamp an offical seal.
10. a kind of non-volatile computer readable storage medium storing program for executing, which is characterized in that the non-volatile computer readable storage medium Matter is stored with computer executable instructions, when which is executed by one or more processors, may make institute It states one or more processors perform claim and requires the described in any item methods checked to the material stamped an offical seal of 1-5.
CN201910816316.0A 2019-08-30 2019-08-30 Method and system for examining materials with official seal Active CN110516679B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910816316.0A CN110516679B (en) 2019-08-30 2019-08-30 Method and system for examining materials with official seal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910816316.0A CN110516679B (en) 2019-08-30 2019-08-30 Method and system for examining materials with official seal

Publications (2)

Publication Number Publication Date
CN110516679A true CN110516679A (en) 2019-11-29
CN110516679B CN110516679B (en) 2021-05-28

Family

ID=68629689

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910816316.0A Active CN110516679B (en) 2019-08-30 2019-08-30 Method and system for examining materials with official seal

Country Status (1)

Country Link
CN (1) CN110516679B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090257641A1 (en) * 2008-04-14 2009-10-15 Xu-Hua Liu Method for detecting monetary banknote and performing currency type analysis operation
CN101976333A (en) * 2010-11-18 2011-02-16 上海合合信息科技发展有限公司 Method for automatically distinguishing first-generation identity card from second-generation identity card
CN102004914A (en) * 2010-08-12 2011-04-06 汉王科技股份有限公司 Method and device for detecting round seal position
CN104517115A (en) * 2013-09-29 2015-04-15 北大方正集团有限公司 Classification processing method and device
CN104573647A (en) * 2014-12-30 2015-04-29 福建三元达软件有限公司 Recognition method and device for illegal identity document
CN105760740A (en) * 2016-02-02 2016-07-13 广州市百成科技有限公司 Method for quickly making dynamic electronic seal based on mobile terminal
CN108509564A (en) * 2018-03-23 2018-09-07 乐清咔咔网络科技有限公司 Electronic record filing and inquiry service based on seal impression scanning and method
CN109840520A (en) * 2017-11-24 2019-06-04 中国移动通信集团广东有限公司 A kind of invoice key message recognition methods and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090257641A1 (en) * 2008-04-14 2009-10-15 Xu-Hua Liu Method for detecting monetary banknote and performing currency type analysis operation
CN102004914A (en) * 2010-08-12 2011-04-06 汉王科技股份有限公司 Method and device for detecting round seal position
CN101976333A (en) * 2010-11-18 2011-02-16 上海合合信息科技发展有限公司 Method for automatically distinguishing first-generation identity card from second-generation identity card
CN104517115A (en) * 2013-09-29 2015-04-15 北大方正集团有限公司 Classification processing method and device
CN104573647A (en) * 2014-12-30 2015-04-29 福建三元达软件有限公司 Recognition method and device for illegal identity document
CN105760740A (en) * 2016-02-02 2016-07-13 广州市百成科技有限公司 Method for quickly making dynamic electronic seal based on mobile terminal
CN109840520A (en) * 2017-11-24 2019-06-04 中国移动通信集团广东有限公司 A kind of invoice key message recognition methods and system
CN108509564A (en) * 2018-03-23 2018-09-07 乐清咔咔网络科技有限公司 Electronic record filing and inquiry service based on seal impression scanning and method

Also Published As

Publication number Publication date
CN110516679B (en) 2021-05-28

Similar Documents

Publication Publication Date Title
DE112019001531B4 (en) Method of manufacturing an authenticated packaged product and system for verifying the authenticity of a packaged product
CN109417547B (en) Automation of image verification
CN110175436A (en) The generation of block chain digital certificate, verification method, computer equipment and storage medium
CA2617793A1 (en) Image processing system
CN104573937A (en) Enterprise credit website system
CN101894260A (en) Method for identifying forgery seal based on feature line randomly generated by matching feature points
CN106504097A (en) A kind for the treatment of method and apparatus of assets information
CN103985082B (en) Verification method and device for electronic certificate information
CN109815039A (en) Test method and device, storage medium, the computer equipment of business software
CN110378886B (en) Image comparison method, image comparison device, electronic device and medium
CN109886076B (en) Invoice storage method
CN114004714A (en) Data processing and identification report issuing method and system based on block chain
CN104408403A (en) Arbitration method and apparatus for inconsistent phenomenon of two pieces of entry information
CN109190724A (en) A kind of method of calibration and electronic equipment of electron scanning file
CN110516679A (en) A kind of method and system that the material stamped an offical seal is checked
CN110135523A (en) Method for building up, system, storage medium and the electronic equipment of rebuilding spectrum model
CN115809837A (en) Financial enterprise management method, equipment and medium based on digital simulation scene
CN112329814B (en) Invoice data processing method and equipment
CN114202040A (en) Anti-counterfeiting method based on product surface texture password label
JP4958868B2 (en) Document feature extraction apparatus and method
CN110619290B (en) Method and system for on-line examining business license
CN109214898A (en) A kind of ceramics trading service platform and method
CN109858275A (en) Invoice publicity method and system neural network based
Rybakou Management, Appraisal and Preservation of Electronic Records: the Belarusian Experience
Jansen Digital Legacies on Paper: Reading Punchcards with Computer Vision.

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant