CN115620329A - Stamp deviation intelligent identification method based on artificial intelligence - Google Patents
Stamp deviation intelligent identification method based on artificial intelligence Download PDFInfo
- Publication number
- CN115620329A CN115620329A CN202211350073.4A CN202211350073A CN115620329A CN 115620329 A CN115620329 A CN 115620329A CN 202211350073 A CN202211350073 A CN 202211350073A CN 115620329 A CN115620329 A CN 115620329A
- Authority
- CN
- China
- Prior art keywords
- file
- signature
- image
- standard
- intelligent identification
- 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.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/40—Document-oriented image-based pattern recognition
- G06V30/41—Analysis of document content
- G06V30/413—Classification of content, e.g. text, photographs or tables
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/14—Image acquisition
- G06V30/146—Aligning or centring of the image pick-up or image-field
- G06V30/1465—Aligning or centring of the image pick-up or image-field by locating a pattern
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/10—Character recognition
- G06V30/14—Image acquisition
- G06V30/146—Aligning or centring of the image pick-up or image-field
- G06V30/1475—Inclination or skew detection or correction of characters or of image to be recognised
- G06V30/1478—Inclination or skew detection or correction of characters or of image to be recognised of characters or characters lines
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V30/00—Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
- G06V30/40—Document-oriented image-based pattern recognition
- G06V30/41—Analysis of document content
- G06V30/414—Extracting the geometrical structure, e.g. layout tree; Block segmentation, e.g. bounding boxes for graphics or text
Landscapes
- Engineering & Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Artificial Intelligence (AREA)
- Computer Graphics (AREA)
- Geometry (AREA)
- Image Processing (AREA)
Abstract
The invention discloses an intelligent identification method for stamp deviation based on artificial intelligence, which relates to the technical field of stamp identification and solves the technical problems that in the prior art, when signature is carried out, the error of the working process cannot be completely avoided, and once the error occurs, signature abnormity can be caused, so that the signature effectiveness is influenced and the prompt remedy cannot be carried out; the method identifies the signature area and the signature image in the file after the file is corrected, and further judges whether the signature image deviates or not; according to the invention, after the file image is identified, file correction is carried out to ensure the quality, whether offset occurs is judged according to the overlapping area between the signature area and the signature image, and the application range is widened on the basis of ensuring the identification efficiency; in the file correction process, the standard content in the file image is reasonably determined based on the standard gray scale, and the established file frame is filled in a radiation mode; the invention finishes document correction with smaller data processing amount and effectively improves the data processing efficiency.
Description
Technical Field
The invention belongs to the field of stamp identification, relates to a stamp position identification and verification technology based on artificial intelligence, and particularly relates to a stamp deviation intelligent identification method based on artificial intelligence.
Background
Most of the engineering drawings or contracts at the present stage are manually signed after being checked by workers, and are stored and used as the basis for effectiveness. However, the staff may need to sign multiple engineering drawings or contracts in a short time, and label missing or position deviation is inevitable to affect the execution efficiency.
In the prior art, electronic seals are mostly adopted, for example, the invention patent application with the publication number of CN114399278A discloses a method for intelligently positioning frames and signing in batches of engineering drawings, wherein the engineering drawings are distributed to PDF documents and a storage path is established; automatically identifying the signature position and the signature coordinate based on the storage path, and realizing intelligent batch stamping based on user authorization after selecting the signature; however, the work is still manual for small batches of signatures. Both electronic signature and manual signature cannot completely avoid errors, and once the errors occur, signature abnormity can be caused, so that the signature effectiveness is influenced, and the remediation cannot be carried out in time; therefore, an intelligent identification method for stamp deviation based on artificial intelligence is needed.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art; therefore, the invention provides an intelligent identification method for stamp deviation based on artificial intelligence, which is used for solving the technical problems that in the prior art, when signature work is carried out, the error of the working process cannot be completely avoided, and once the error occurs, signature abnormity can be caused, so that the signature effect is influenced, and the correction cannot be carried out in time.
In order to achieve the above object, a first aspect of the present invention provides an intelligent identification method for stamp deviation based on artificial intelligence, including:
acquiring file images in batches through an intelligent identification module, and identifying the standard size of the file images; performing file correction on the file image on the basis of the standard size; wherein, the file correction starts from a plurality of standard contents;
identifying a signature region in the document image and a signature image after document correction; judging whether the signature image deviates relative to the signature area; if yes, early warning is carried out; otherwise, the signature is qualified.
Preferably, the intelligent recognition module comprises a central analysis unit and an image acquisition unit, wherein:
the image acquisition unit acquires file images to be identified through shooting and sequentially sends the file images to the central pivot analysis unit;
the pivot analysis unit performs file correction on the received file image and performs signature offset judgment.
Preferably, the intelligent identification module acquires a file image, identifies a standard size of the file image, and includes:
setting a scale in a shooting area, and acquiring various types of files in the shooting area to obtain file images;
identifying the size of the corresponding file according to a scale in the file image, and matching the size with a standard size; wherein the standard size comprises A1, A2, A3, A4 or custom size.
Preferably, the intelligent recognition module performs file correction on the file image based on a standard size, and includes:
establishing a file frame according to the standard size, and identifying a plurality of standard contents from the file image;
determining file attributes according to the plurality of standard contents, identifying all around by taking the plurality of standard contents as starting points, and filling a file frame according to an identification result; wherein the file attributes include line space, font, and margin.
Preferably, the intelligent recognition module recognizes a plurality of standard contents in the document image, including:
acquiring acquisition information of a file image; wherein the acquisition information comprises acquisition height and acquisition brightness;
and matching the acquisition height and the acquisition brightness to obtain standard gray scale, and comparing the gray scale value of the file image with the standard gray scale to determine a plurality of standard contents.
Preferably, the intelligent identification module establishes an association relationship between the standard gray scale and the acquisition height and the acquisition brightness, and includes:
setting a standard array; the standard array comprises combinations of different acquisition heights and different acquisition brightnesses;
adjusting the intelligent identification module according to each standard array, shooting various types of files through the adjusted intelligent identification module, and determining the standard gray scale of the corresponding file image by combining an expert scoring mode;
and establishing an incidence relation between the standard gray scale and the corresponding standard array, and storing the incidence relation in the intelligent identification module.
Preferably, after the document is corrected, the intelligent recognition module recognizes a signature area of the document image, and includes:
extracting a preset area of a file image; the preset area is a conventional signature area corresponding to the file;
judging whether a character signature exists in a preset area or not; if yes, a signature area is defined around the character signature; and if not, early warning is carried out.
Preferably, the intelligent identification module determines whether the signature image is shifted based on the signature region, including:
extracting whether a signature image exists or not; if yes, the next step is carried out; if not, early warning is carried out;
analyzing and calculating the overlapping area of the signature image and the signature area, and marking as CDM; when CDM is larger than or equal to CDY, judging that the signature image has no offset, otherwise, judging that the signature image has offset; where CDY is the overlap threshold.
Compared with the prior art, the invention has the beneficial effects that:
1. the method automatically acquires the file image after the signature through the image acquisition unit, and performs file correction on the file image based on the standard size; identifying a signature area and a signature image in the file after the file is corrected, and further judging whether the signature image has offset; the invention carries out file correction after identifying the file image to ensure the quality, and then judges whether the offset occurs according to the overlapping area between the signature area and the signature image, thereby widening the application range on the basis of ensuring the identification efficiency.
2. In the file correction process, corresponding standard gray scale is extracted by combining the acquisition conditions of the file image, the standard content in the file image is reasonably determined based on the standard gray scale, and the established file frame is filled in a radiation mode to realize file correction; the invention finishes document correction with smaller data processing amount and effectively improves the data processing efficiency.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a schematic diagram of the working steps of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the following embodiments, and it should be understood that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
Referring to fig. 1, a first embodiment of the present invention provides an intelligent identification method for stamp deviation based on artificial intelligence, including: acquiring file images in batches through an intelligent identification module, and identifying the standard size of the file images; performing file correction on the file image on the basis of the standard size; identifying a signature region in the document image and a signature image after document correction; judging whether the signature image deviates relative to the signature area; if yes, early warning is carried out; otherwise, the signature is qualified.
In the prior art, when a signature is performed, the embedding of the signature is generally realized by an automation technology, so that an image can be embedded into a preset position according to a set program. However, this method requires a corresponding program for each type of file, and image embedding is completed on the basis of identifying the file type, so that a lot of preparation work is required, and the stability of the automation technology cannot be ensured, and omission or errors are inevitable. Moreover, the application scenarios of automatic signature are limited, and manual signature is still used in most cases, so that how to identify signature abnormality is a necessary problem.
The method automatically acquires the file image after the signature through the image acquisition unit, and performs file correction on the file image based on the standard size; and identifying the signature area and the signature image in the file after the file is corrected, and further judging whether the signature image has offset or not. The invention carries out file correction after identifying the file image to ensure the quality, and then judges whether the offset occurs according to the overlapping area between the signature area and the signature image, thereby widening the application range on the basis of ensuring the identification efficiency.
The intelligent identification module comprises a central analysis unit and an image acquisition unit, wherein: the image acquisition unit acquires file images to be identified by shooting and sequentially sends the file images to the pivot analysis unit; the pivot analysis unit performs file correction on the received file image and performs signature offset judgment.
The image acquisition unit is mainly a height-adjustable camera and can continuously shoot a shooting area to acquire a file image. And if the standard area exists, the next step is carried out, and if the standard area does not exist, the height of the camera is adjusted or the background light source is adjusted to re-collect the file image. The central analysis unit mainly performs document correction, matching judgment and other processing, and is in communication and/or electrical connection with the image acquisition unit. It should be understood that the standard content is an area or content of the document image with a gray scale value meeting the requirement.
In a preferred embodiment, the intelligent recognition module obtains the document image, recognizes the standard size of the document image, and comprises: setting a scale in a shooting area, and acquiring various types of files in the shooting area to obtain file images; and identifying the size of the corresponding file according to a ruler in the file image, and matching the standard size.
The ruler is arranged in a shooting area where the image acquisition unit acquires the file image, when the file is placed on the ruler, the file image can be acquired together with the ruler, and then the standard size of the file is acquired. The standard sizes of this embodiment include A1, A2, A3, and A4 or custom sizes, that is, some files of the same type may be identified as the standard size of A4, and the same engineering drawings may be A1 and A2; also, some of the less common document workers may customize the size. It should be noted that the technical scheme of the invention can also be used for electronic documents, and the process of collecting the file images is remained and can be directly sent to the central analysis unit for subsequent processing.
In a preferred embodiment, the intelligent recognition module performs file correction on the file image based on the standard size, and comprises: establishing a file frame according to the standard size, and identifying a plurality of standard contents from the file image; determining the file attribute according to the plurality of standard contents, identifying all around by taking the plurality of standard contents as starting points, and filling a file frame according to an identification result.
In order to ensure the quality of the file image, after the standard size of the file corresponding to the file image is determined, the file image is corrected based on the standard size, specifically, the standard content in the file image is firstly identified and obtained, then the file attribute is identified and sorted according to the standard content, and then the whole file frame is filled by taking the standard content as a radiation starting point. Note that the file attributes include line space, font, and margin, etc.
The file frame can be established after the standard size is known, the emission pattern of the file can be known by combining the file attribute, characters, symbols and the like in the file can be identified by combining the image identification technology, and the file correction is completed after the file is recombined and filled into the file frame. If the standard size is A4, the file size is 210mm × 297mm, the content distribution area can be known by combining the margin, and the file layout can be determined by combining the line spacing, the font, and the like.
In an alternative embodiment, the smart identification module identifies a number of standard contents in the document image, including: acquiring acquisition information of a file image; and matching the acquisition height and the acquisition brightness to obtain standard gray scale, and comparing the gray scale value of the file image with the standard gray scale to determine a plurality of standard contents.
The most important standard content in the file correction process is determined based on the gray value, namely after the standard gray value is acquired by combining the acquisition height and the acquisition brightness, the area of the gray value of the file image closest to the standard gray value is determined as the standard content; if the standard gray scale is 100, the nearby pixels such as 98 and 102 can be determined as the standard content. It should be understood that, when determining the gray value of the document image, the minimum unit is a single font or symbol, that is, one font gray value meets the requirement, and then the font gray value is included in the standard content until the adjacent font gray value (adjacent includes left-right adjacent and up-down adjacent) does not meet the requirement. It should be noted that the size and distribution of the standard content may affect the document correction effect, so that the standard content is determined without being excessive, and the document attribute may be identified and determined.
In an optional embodiment, the intelligent identification module establishes an association relationship between standard gray scale and acquisition height and acquisition brightness, and comprises: setting a standard array; adjusting the intelligent identification module according to each standard array, shooting each type of file through the adjusted intelligent identification module, and determining the standard gray scale of the corresponding file image by combining an expert scoring mode; and establishing an incidence relation between the standard gray scale and the corresponding standard array, and storing the incidence relation in the intelligent identification module.
Shooting experiments are carried out through the combination of different acquisition heights and different acquisition brightnesses, the best gray values of various types of files under various standard arrays are obtained through an expert scoring mode, and the association relationship between the optimal gray values and the standard arrays is established. When the file correction is carried out, the corresponding standard gray scale can be directly extracted according to the information during shooting.
In a preferred embodiment, after the document correction is completed, the smart identification module identifies a signature region of the document image, including: extracting a preset area of a file image; judging whether a character signature exists in a preset area or not; if yes, a signature area is defined around the character signature; and if not, early warning is carried out.
The preset areas are the conventional signature areas corresponding to the files, such as the upper part of the first page and the lower part of the last page of the contract. And identifying whether a signature exists in a preset area, such as a name of a responsible person, a company name and the like, if not, performing early warning, and if so, marking the area where the signature exists as a signature area. It should be understood that the signature area should not be too large, just including the signature.
In an optional embodiment, the intelligent identification module judges whether the signature image shifts or not based on the signature area, and the judging comprises the following steps: extracting whether a signature image exists or not; if yes, the next step is carried out; if not, early warning is carried out; analyzing and calculating the overlapping area of the signature image and the signature area, and marking as CDM; when CDM is larger than or equal to CDY, judging that the signature image has no offset, otherwise, judging that the signature image has offset.
After the signature region is determined, the stamp image, that is, the position of the stamp is identified, and then it is determined whether the stamp image is offset or not based on the degree of overlap of the stamp image and the signature region. It is understood that the signature area may also be an area preset by a worker.
Part of data in the formula is obtained by removing dimensions and calculating the numerical value of the data, and the formula is a formula which is closest to the real condition and obtained by simulating a large amount of collected data through software; the preset parameters and the preset threshold values in the formula are set by those skilled in the art according to actual conditions or obtained through simulation of a large amount of data.
The working principle of the invention is as follows:
acquiring file images in batches through an intelligent identification module, and identifying the standard size of the file images; the document image is subjected to document correction on the basis of a standard size.
Identifying a signature region in the document image and a signature image after document correction; judging whether the signature image deviates relative to the signature area; if yes, early warning is carried out; otherwise, the signature is qualified.
Although the present invention has been described in detail with reference to the preferred embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the spirit and scope of the present invention.
Claims (8)
1. A stamp deviation intelligent identification method based on artificial intelligence is characterized by comprising the following steps:
acquiring file images in batches through an intelligent identification module, and identifying the standard size of the file images; performing file correction on the file image on the basis of the standard size; wherein, the file correction starts from a plurality of standard contents;
identifying a signature region in the document image and a signature image after document correction; judging whether the signature image deviates relative to the signature area; if yes, early warning is carried out; otherwise, the signature is qualified.
2. The intelligent identification method for stamp deflection based on artificial intelligence as claimed in claim 1, wherein the intelligent identification module comprises a central analysis unit and an image acquisition unit, wherein:
the image acquisition unit acquires file images to be identified through shooting and sequentially sends the file images to the central pivot analysis unit;
the pivot analysis unit performs file correction on the received file image and performs signature offset judgment.
3. The intelligent identification method for stamp deflection based on artificial intelligence as claimed in claim 2, wherein the intelligent identification module obtains a document image, identifies the standard size of the document image, and comprises:
setting a scale in a shooting area, and acquiring various types of files in the shooting area to obtain file images;
identifying the size of a corresponding file according to a scale in the file image, and matching the size with a standard size; wherein the standard size comprises A1, A2, A3, A4 or custom size.
4. The intelligent identification method for stamp deflection based on artificial intelligence as claimed in claim 3, wherein the intelligent identification module performs file correction to the file image based on standard size, comprising:
establishing a file frame according to the standard size, and identifying a plurality of standard contents from the file image;
determining file attributes according to the plurality of standard contents, identifying the file attributes to the periphery by taking the plurality of standard contents as starting points, and filling a file frame according to an identification result; wherein the file attributes include line space, font, and margin.
5. The intelligent identifying method for stamp deviation based on artificial intelligence as claimed in claim 4, wherein said intelligent identifying module identifies a plurality of standard contents in the document image, including:
acquiring acquisition information of a file image; wherein the acquisition information comprises acquisition height and acquisition brightness;
and matching the acquisition height and the acquisition brightness to obtain standard gray scale, and comparing the gray scale value of the file image with the standard gray scale to determine a plurality of standard contents.
6. The intelligent identification method for stamp deflection based on artificial intelligence as claimed in claim 5, wherein the intelligent identification module establishes the association relationship between the standard gray scale and the collection height and the collection brightness, and comprises:
setting a standard array; the standard array comprises combinations of different acquisition heights and different acquisition brightnesses;
adjusting the intelligent identification module according to each standard array, shooting each type of file through the adjusted intelligent identification module, and determining the standard gray scale of the corresponding file image by combining an expert scoring mode;
and establishing an incidence relation between the standard gray scale and the corresponding standard array, and storing the incidence relation in the intelligent identification module.
7. The method for intelligently identifying stamp wandering based on artificial intelligence as claimed in claim 1 or 6, wherein after the document correction is completed, the intelligent identification module identifies a signature region of the document image, comprising:
extracting a preset area of a file image; the preset area is a conventional signature area corresponding to the file;
judging whether a character signature exists in a preset area or not; if yes, a signature area is defined around the character signature; and if not, early warning is carried out.
8. The method of claim 7, wherein the intelligent recognition module determines whether the signature image is shifted based on the signature region, and comprises:
extracting whether a signature image exists or not; if yes, the next step is carried out; if not, early warning is carried out;
analyzing and calculating the overlapping area of the signature image and the signature area, and marking as CDM; when CDM is larger than or equal to CDY, judging that the signature image has no offset, otherwise, judging that the signature image has offset; where CDY is the overlap threshold.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211350073.4A CN115620329A (en) | 2022-10-31 | 2022-10-31 | Stamp deviation intelligent identification method based on artificial intelligence |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211350073.4A CN115620329A (en) | 2022-10-31 | 2022-10-31 | Stamp deviation intelligent identification method based on artificial intelligence |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115620329A true CN115620329A (en) | 2023-01-17 |
Family
ID=84877500
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211350073.4A Pending CN115620329A (en) | 2022-10-31 | 2022-10-31 | Stamp deviation intelligent identification method based on artificial intelligence |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115620329A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116204390A (en) * | 2023-05-06 | 2023-06-02 | 北京惠朗时代科技有限公司 | Seal monitoring management method and system based on data analysis |
-
2022
- 2022-10-31 CN CN202211350073.4A patent/CN115620329A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116204390A (en) * | 2023-05-06 | 2023-06-02 | 北京惠朗时代科技有限公司 | Seal monitoring management method and system based on data analysis |
CN116204390B (en) * | 2023-05-06 | 2023-06-30 | 北京惠朗时代科技有限公司 | Seal monitoring management method and system based on data analysis |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111737478B (en) | Text detection method, electronic device and computer readable medium | |
CN113569863B (en) | Document checking method, system, electronic equipment and storage medium | |
CN110781877B (en) | Image recognition method, device and storage medium | |
CN107590495A (en) | Answer sheet picture method for correcting error, device, readable storage medium storing program for executing and electronic equipment | |
CN115620329A (en) | Stamp deviation intelligent identification method based on artificial intelligence | |
CN114648776B (en) | Financial reimbursement data processing method and processing system | |
CN112749649A (en) | Method and system for intelligently identifying and generating electronic contract | |
CN110991434B (en) | Self-service terminal certificate identification method and device | |
CN113139399B (en) | Image wire frame identification method and server | |
CN114049540A (en) | Method, device, equipment and medium for detecting marked image based on artificial intelligence | |
CN113704111A (en) | Page automatic testing method, device, equipment and storage medium | |
CN111126030B (en) | Label typesetting processing method, device and system | |
CN117079297A (en) | Relay protection fixed value checking method, system, equipment and medium | |
CN114926829A (en) | Certificate detection method and device, electronic equipment and storage medium | |
CN113610155A (en) | Wafer defect classification method and device based on similarity comparison model, electronic equipment and storage medium | |
CN112967166A (en) | OpenCV-based automatic image watermark identification processing method and system | |
CN114241356A (en) | Wood board color identification method and device, electronic equipment and storage medium | |
CN113688834A (en) | Ticket recognition method, ticket recognition system and computer readable storage medium | |
CN111225297A (en) | Broadband passive optical network port resource remediation method and system | |
CN117095446B (en) | Cloud database-based instant license generation and verification method, system and medium | |
CN113298271B (en) | Digital inspection method and system for optical fiber network resources | |
CN112163581B (en) | License plate letter recognition method, system, device and storage medium | |
CN113963365A (en) | Form recognition method and device, electronic equipment and readable storage medium | |
JP2024034613A (en) | Document checking device and program | |
JP2024034615A (en) | Document checking device and program |
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 |