[go: up one dir, main page]

TWI856861B - Document Identification and Verification System - Google Patents

Document Identification and Verification System Download PDF

Info

Publication number
TWI856861B
TWI856861B TW112142279A TW112142279A TWI856861B TW I856861 B TWI856861 B TW I856861B TW 112142279 A TW112142279 A TW 112142279A TW 112142279 A TW112142279 A TW 112142279A TW I856861 B TWI856861 B TW I856861B
Authority
TW
Taiwan
Prior art keywords
document
image
processing device
document image
content
Prior art date
Application number
TW112142279A
Other languages
Chinese (zh)
Other versions
TW202520215A (en
Inventor
郭詠晟
邱建中
宋政隆
王俊權
Original Assignee
中國信託商業銀行股份有限公司
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 中國信託商業銀行股份有限公司 filed Critical 中國信託商業銀行股份有限公司
Priority to TW112142279A priority Critical patent/TWI856861B/en
Application granted granted Critical
Publication of TWI856861B publication Critical patent/TWI856861B/en
Publication of TW202520215A publication Critical patent/TW202520215A/en

Links

Images

Landscapes

  • Character Discrimination (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

一種文件辨識與檢核系統包含一處理裝置,及電連接該處理裝置的一通訊裝置與一儲存裝置。該儲存裝置儲存分別對應多個文件類型的多個業務規則。該處理裝置藉由該通訊裝置與一資料來源端裝置建立連線,以接收包括對應一文件類型的一快速回應碼的一文件影像,並對該文件影像作校正以產生一校正後文件影像,且對該校正後文件影像作影像辨識,以獲得該校正後文件影像的一文件內容及該快速回應碼的一資料內容。該處理裝置根據該資料內容選擇相符合的該文件類型所對應的一業務規則,以對該文件內容作檢核,且將一檢核結果回傳至該資料來源端裝置。A document recognition and verification system includes a processing device, a communication device and a storage device electrically connected to the processing device. The storage device stores a plurality of business rules corresponding to a plurality of document types. The processing device establishes a connection with a data source end device through the communication device to receive a document image including a quick response code corresponding to a document type, and corrects the document image to generate a corrected document image, and performs image recognition on the corrected document image to obtain a document content of the corrected document image and a data content of the quick response code. The processing device selects a business rule corresponding to the corresponding document type according to the data content to verify the document content, and returns a verification result to the data source end device.

Description

文件辨識與檢核系統Document Identification and Verification System

本發明是有關於一種文件辨識與檢核系統,特別是指一種利用快速回應碼的文件辨識與檢核系統。The present invention relates to a document identification and verification system, and more particularly to a document identification and verification system using a quick response code.

在現有的銀行或保險的金融業務中,普遍需要對各種紙本文件的資料內容作辨識與檢核,舉例來說,對客戶所提交的自動轉帳授權書辨識出保單號碼、要保人、與是否郵寄收據,及授權人的帳戶戶名、身分證號碼、與扣款帳號等等的內容。此外,也需要對紙本文件中的印鑑圖案作印鑑證明的核對。這些作業內容對於各個企業來說都是一種數量龐大且繁瑣複雜的處理過程。因此,如何利用一種自動化的系統以簡化流程並提升執行效率便成為一個重要的課題。In existing banking or insurance financial services, it is generally necessary to identify and verify the data content of various paper documents. For example, the autopay authorization form submitted by the customer needs to identify the policy number, the insured, whether the receipt is mailed, and the account name, ID number, and debit account of the authorizer. In addition, it is also necessary to verify the seal pattern in the paper document. These operations are a large and complicated processing process for each company. Therefore, how to use an automated system to simplify the process and improve execution efficiency has become an important issue.

因此,本發明的目的,即在提供一種利用快速回應碼以簡化流程並提升執行效率的文件辨識與檢核系統。Therefore, the purpose of the present invention is to provide a document recognition and verification system that uses quick response codes to simplify the process and improve execution efficiency.

於是,本發明之一觀點,提供一種文件辨識與檢核系統,適用於一資料來源端裝置,並包含一通訊裝置、一儲存裝置、及一處理裝置。該通訊裝置用於提供連網功能。該儲存裝置儲存分別對應多個文件類型的多個業務規則。Therefore, one aspect of the present invention is to provide a document identification and verification system, which is applicable to a data source device and includes a communication device, a storage device, and a processing device. The communication device is used to provide a networking function. The storage device stores a plurality of business rules corresponding to a plurality of document types.

該處理裝置電連接該通訊裝置及該儲存裝置,並藉由該通訊裝置與該資料來源端裝置建立連線,以接收來自該資料來源端裝置的一文件影像。該文件影像包括對應其中一個該文件類型的一快速回應碼(QR code)。該處理裝置對該文件影像作旋轉與縮放比例的校正,以產生一校正後文件影像,且對該校正後文件影像作影像辨識,以獲得該校正後文件影像的一文件內容及該快速回應碼的一資料內容。The processing device is electrically connected to the communication device and the storage device, and establishes a connection with the data source device through the communication device to receive a document image from the data source device. The document image includes a quick response code (QR code) corresponding to one of the document types. The processing device performs rotation and scaling correction on the document image to generate a corrected document image, and performs image recognition on the corrected document image to obtain a document content of the corrected document image and a data content of the quick response code.

該處理裝置根據該資料內容選擇相符合的該等文件類型之其中一者,並根據其中該者所對應的該業務規則,對該文件內容作檢核,且將一檢核結果經由該通訊裝置回傳至該資料來源端裝置。The processing device selects one of the document types that matches the data content, and checks the document content according to the business rule corresponding to the document, and returns a check result to the data source device via the communication device.

在一些實施態樣中,其中,該處理裝置對該文件影像提取多個特徵點,並根據該等特徵點對該文件影像先作旋轉的校正。In some implementations, the processing device extracts a plurality of feature points from the document image and first performs rotation correction on the document image based on the feature points.

在一些實施態樣中,其中,該儲存裝置還儲存一快速回應碼定位標記間位置關係。該快速回應碼包括分別位於左上、右上、及左下的三個定位標記。該處理裝置根據該等定位標記的位置,及該快速回應碼定位標記間位置關係,計算該等定位標記之其中任意兩者的距離,以將旋轉後的該文件影像作比例縮放的校正,而產生能夠還原出與該文件影像所對應的一紙本文件的尺寸比例的該校正後文件影像。In some embodiments, the storage device further stores a positional relationship between positioning marks of a quick response code. The quick response code includes three positioning marks located at the upper left, upper right, and lower left, respectively. The processing device calculates the distance between any two of the positioning marks based on the positions of the positioning marks and the positional relationship between the positioning marks of the quick response code, so as to perform a proportional scaling correction on the rotated document image, thereby generating the corrected document image that can restore the size ratio of a paper document corresponding to the document image.

在一些實施態樣中,其中,該處理裝置是藉由光學字元辨識(Optical Character Recognition,OCR)技術對該校正後影像作影像辨識,並還將該文件內容經由該通訊裝置回傳至該資料來源端裝置。In some implementations, the processing device performs image recognition on the corrected image using optical character recognition (OCR) technology, and also returns the document content to the data source device via the communication device.

在一些實施態樣中,其中,每一該業務規則所對應的多個檢核項目至少包括一身分證字號及一文件序號。In some implementations, the multiple verification items corresponding to each of the business rules include at least an identity card number and a document serial number.

在一些實施態樣中,其中,每一該業務規則所對應的該等檢核項目還包括該業務規則所對應的該文件類型的至少一檢核內容。In some implementations, the check items corresponding to each of the business rules further include at least one check content of the document type corresponding to the business rule.

在一些實施態樣中,其中,該儲存裝置還儲存一物件偵測模型。該處理裝置藉由該物件偵測模型偵測出該校正後影像中的一印鑑位置,而在該印鑑位置擷取出一待鑑定印鑑影像。當該處理裝置判斷該文件內容符合對應的每一該檢核項目以表示檢核正確時,藉由該通訊裝置取得一系統印鑑影像,並將該待鑑定印鑑影像以長寬等比例作縮放而與該系統印鑑影像的一邊長相等後再與該系統印鑑影像作重疊,以產生一印鑑比對影像。該處理裝置還將該印鑑比對影像經由該通訊裝置回傳至該資料來源端裝置。In some implementations, the storage device also stores an object detection model. The processing device detects a seal position in the corrected image by means of the object detection model, and captures a seal image to be authenticated at the seal position. When the processing device determines that the document content meets each of the corresponding verification items to indicate that the verification is correct, a system seal image is obtained by means of the communication device, and the seal image to be authenticated is scaled in proportion to its length and width to be equal to the length of one side of the system seal image, and then overlapped with the system seal image to generate a seal comparison image. The processing device also transmits the seal comparison image back to the data source device via the communication device.

於是,本發明之另一觀點,提供一種文件辨識與檢核系統,適用於一資料來源端裝置,並包含一通訊裝置及一處理裝置。該通訊裝置用於提供連網功能。Therefore, another aspect of the present invention is to provide a document identification and verification system, which is applicable to a data source terminal device and includes a communication device and a processing device. The communication device is used to provide a networking function.

該處理裝置電連接該通訊裝置,並藉由該通訊裝置與該資料來源端裝置建立連線,以接收來自該資料來源端裝置的一文件影像。該文件影像包括對應一文件類型的一快速回應碼。該處理裝置對該文件影像作旋轉與縮放比例的校正,以產生一校正後文件影像,且對該校正後文件影像作影像辨識,以獲得該校正後文件影像的一文件內容及該快速回應碼的一資料內容。該資料內容包括該文件類型及對應該文件類型的至少一業務規則。The processing device is electrically connected to the communication device, and establishes a connection with the data source device through the communication device to receive a document image from the data source device. The document image includes a quick response code corresponding to a document type. The processing device performs rotation and scaling correction on the document image to generate a corrected document image, and performs image recognition on the corrected document image to obtain a document content of the corrected document image and a data content of the quick response code. The data content includes the document type and at least one business rule corresponding to the document type.

該處理裝置根據該資料內容的該至少一業務規則,對該文件內容作檢核,且將一檢核結果經由該通訊裝置回傳至該資料來源端裝置。The processing device checks the document content according to the at least one business rule of the data content, and returns a check result to the data source device via the communication device.

在一些實施態樣中,其中,該處理裝置對該文件影像提取多個特徵點,並根據該等特徵點對該文件影像先作旋轉的校正。In some implementations, the processing device extracts a plurality of feature points from the document image and first performs rotation correction on the document image based on the feature points.

在一些實施態樣中,其中,該儲存裝置還儲存一快速回應碼定位標記間位置關係。該快速回應碼包括分別位於左上、右上、及左下的三個定位標記。該處理裝置根據該等定位標記的位置,及該快速回應碼定位標記間位置關係,計算該等定位標記之其中任意兩者的距離,以將旋轉後的該文件影像作比例縮放的校正,而產生能夠還原出與該文件影像所對應的一紙本文件的尺寸比例的該校正後文件影像。In some embodiments, the storage device further stores a positional relationship between positioning marks of a quick response code. The quick response code includes three positioning marks located at the upper left, upper right, and lower left, respectively. The processing device calculates the distance between any two of the positioning marks based on the positions of the positioning marks and the positional relationship between the positioning marks of the quick response code, so as to perform a proportional scaling correction on the rotated document image, thereby generating the corrected document image that can restore the size ratio of a paper document corresponding to the document image.

本發明的功效在於:藉由該處理裝置先對該文件影像作旋轉與縮放比例的校正,再對該校正後文件影像作影像辨識,以獲得該文件內容及該快速回應碼的該資料內容,並根據該資料內容選擇相符合的該儲存裝置所儲存的該文件類型,且根據該文件類型所對應的該業務規則,對該文件內容作檢核,以將所產生的該檢核結果經由該通訊裝置回傳至該資料來源端裝置,進而能夠實現一種具備流程簡化且執行效率提升的文件辨識與檢核系統。The effect of the present invention is that: the processing device first performs rotation and scaling correction on the document image, and then performs image recognition on the corrected document image to obtain the document content and the data content of the quick response code, and selects the document type stored in the storage device that matches the data content, and verifies the document content according to the business rules corresponding to the document type, so as to return the generated verification result to the data source device via the communication device, thereby realizing a document recognition and verification system with simplified process and improved execution efficiency.

在本發明被詳細描述之前,應當注意在以下的說明內容中,類似的元件是以相同的編號來表示。Before the present invention is described in detail, it should be noted that similar components are represented by the same reference numerals in the following description.

參閱圖1,本發明文件辨識與檢核系統之一實施例,適用於一資料來源端裝置4,並包含一通訊裝置3、一儲存裝置2、及一處理裝置1。該通訊裝置3用於提供連網功能,並例如是支援有線網路技術(如乙太網路)或無線網路技術(如Wi-Fi)的晶片或設備,但不以此為限。該儲存裝置2例如是硬碟、記憶體、或其他儲存設備,並儲存分別對應多個文件類型的多個業務規則、一快速回應碼定位標記間位置關係、及一物件偵測模型。此外,在其他的實施例中,該儲存裝置2也可以是一儲存伺服器,並改為與該通訊裝置3建立連線的方式,也不會影響本案申請的技術手段。Referring to FIG. 1 , an embodiment of the document identification and verification system of the present invention is applicable to a data source terminal device 4, and includes a communication device 3, a storage device 2, and a processing device 1. The communication device 3 is used to provide a networking function, and is, for example, a chip or device that supports wired network technology (such as Ethernet) or wireless network technology (such as Wi-Fi), but is not limited thereto. The storage device 2 is, for example, a hard disk, a memory, or other storage device, and stores a plurality of business rules corresponding to a plurality of file types, a position relationship between quick response code location tags, and an object detection model. In addition, in other embodiments, the storage device 2 may also be a storage server, and the method of establishing a connection with the communication device 3 is changed, which will not affect the technical means applied for in this case.

在本實施例中,該文件辨識與檢核系統例如是屬於一保險公司,該資料來源端裝置4例如是該保險公司的一承辦人員的一電腦設備。當該承辦人員要對一紙本文件的內容作檢核時,藉由該來源端裝置對該紙本文件拍照或掃描以產生一文件影像,進而將該文件影像傳送至該文件辨識與檢核系統。In this embodiment, the document recognition and verification system belongs to an insurance company, for example, and the data source device 4 is a computer device of a person in charge of the insurance company. When the person in charge wants to verify the content of a paper document, the source device takes a photo or scans the paper document to generate a document image, and then transmits the document image to the document recognition and verification system.

該處理裝置1例如是一個或多個中央處理器,並電連接該通訊裝置3及該儲存裝置2。當該處理裝置1藉由該通訊裝置3與該資料來源端裝置4建立連線,以接收來自該來源端裝置的該文件影像。該文件影像包括對應其中一個該文件類型的一快速回應碼(QR code)。該快速回應碼包括分別位於左上、右上、及左下且都呈「回」字型的三個定位標記。該儲存裝置2所儲存的該快速回應碼定位標記間位置關係即是該三個定位標記其協定或標準中的相對位置與距離。該處理裝置1對該文件影像作旋轉與縮放比例的校正,以產生一校正後文件影像。The processing device 1 is, for example, one or more central processing units, and is electrically connected to the communication device 3 and the storage device 2. When the processing device 1 establishes a connection with the data source device 4 via the communication device 3, it receives the document image from the source device. The document image includes a quick response code (QR code) corresponding to one of the document types. The quick response code includes three positioning marks located at the upper left, upper right, and lower left, respectively, and all in the shape of a "return". The positional relationship between the quick response code positioning marks stored in the storage device 2 is the relative position and distance of the three positioning marks in the protocol or standard. The processing device 1 performs rotation and scaling correction on the document image to generate a corrected document image.

更詳細地說,該處理裝置1對該文件影像提取多個特徵點,並根據該等特徵點對該文件影像先作旋轉的校正。也就是說,該處理裝置1利用特徵比對(Feature matching)辨識某物體的特徵,也就是要辨識的是該文件影像中的某個物件(如圖示、圖像、人物等)而非整張圖片,因此需要提取所謂稱為「Local features」的特徵,作法是先在影像中選取重要的特徵點,接著以其為基準(Base)利用特徵點描述及比對以取得周圍的特徵(Local features)來進行旋轉。亦即利用依序作關鍵點偵測(Keypoint detection)以在圖片中取得感興趣的關鍵點、再作特徵點描述(Feature extraction)以針對各關鍵點提取該區域的特徵(Local features)、再對關鍵點篩選並進行特徵點比對(Feature matching)。其中,關鍵點偵測所採用的演算法是Fast Feature- Detector(FAST)、StarFeatureDetector(STAR)、SIFT(nonfree module)、SURF(nonfree module)、ORB、BRISK、MSER、GoodFeaturesToTrackDetector(GFTT)、GoodFeaturesTo- TrackDetector with Harris detector enabled (HARRIS)、DenseFeatureDetector(Dense)、SimpleBlobDetector(Simple- Blob)等等之其中任一者。特徵點描述所採用的演算法是Scale Invariant Feature Transform(SIFT)、Speed-Up Robust Feature(SURF)、Histogram of Oriented Gradient (HOG)、Gradient Location Orientation Histogram(GLOH)、PCA- SIFT、RootSIFT、Pyramidal HOG (PHOG)、Pyramidal Histogram Of visual Words (PHOW)等等之其中任一者。但都不以前述演算法為限。In more detail, the processing device 1 extracts a plurality of feature points from the document image, and performs rotation correction on the document image based on the feature points. That is, the processing device 1 uses feature matching to identify the features of an object, that is, to identify an object (such as an icon, image, person, etc.) in the document image rather than the entire image, so it is necessary to extract features called "local features". The method is to first select important feature points in the image, and then use the feature points as a basis to describe and compare the surrounding features (local features) to perform rotation. That is, keypoint detection is performed in sequence to obtain keypoints of interest in the image, feature extraction is performed to extract the local features of the area for each keypoint, and then the keypoints are screened and feature matching is performed. The algorithm used for keypoint detection is any one of Fast Feature-Detector (FAST), StarFeatureDetector (STAR), SIFT (nonfree module), SURF (nonfree module), ORB, BRISK, MSER, GoodFeaturesToTrackDetector (GFTT), GoodFeaturesTo- TrackDetector with Harris detector enabled (HARRIS), DenseFeatureDetector (Dense), SimpleBlobDetector (Simple- Blob), etc. The algorithm used for feature point description is any one of Scale Invariant Feature Transform (SIFT), Speed-Up Robust Feature (SURF), Histogram of Oriented Gradient (HOG), Gradient Location Orientation Histogram (GLOH), PCA-SIFT, RootSIFT, Pyramidal HOG (PHOG), Pyramidal Histogram Of visual Words (PHOW), etc. However, the above algorithms are not limited to the above algorithms.

該處理裝置1根據在旋轉後的該文件影像中該等定位標記的位置,及該快速回應碼定位標記間位置關係,計算該等定位標記之其中任意兩者的距離,以將旋轉後的該文件影像作比例縮放的校正,而產生能夠還原出與該文件影像所對應的該紙本文件的尺寸比例的該校正後文件影像。The processing device 1 calculates the distance between any two of the positioning marks based on the positions of the positioning marks in the rotated document image and the positional relationship between the quick response code positioning marks, so as to perform proportional scaling correction on the rotated document image and generate the corrected document image that can restore the size ratio of the paper document corresponding to the document image.

接著,該處理裝置1藉由光學字元辨識(OCR)技術對該校正後影像作影像辨識,以獲得該校正後文件影像的一文件內容,並藉由影像辨識技術讀取該快速回應碼的一資料內容。舉例來說,所採用的光學字元辨識技術是一種字元辨識軟體。該資料內容是對應版本40所能儲存的最大資料容量的內容(如該文件類型或對應該文件類型的資訊)。該文件內容包含自動轉帳付款授權書、保單號碼、要保人、是否郵寄、授權人資料(如帳戶戶名、身分證字號、郵局資料、銀行資料)等等。Next, the processing device 1 performs image recognition on the corrected image by optical character recognition (OCR) technology to obtain a document content of the corrected document image, and reads a data content of the quick response code by image recognition technology. For example, the optical character recognition technology adopted is a character recognition software. The data content is the content of the maximum data capacity that can be stored in the corresponding version 40 (such as the document type or information corresponding to the document type). The document content includes an automatic transfer payment authorization form, a policy number, an insured person, whether to mail, the authorizer information (such as account name, ID number, post office information, bank information), etc.

該處理裝置1根據該資料內容選擇該儲存裝置2所儲存且相符合的該等文件類型之其中一者,並根據其中該者所對應的該業務規則,對該文件內容作檢核,以產生一檢核結果。具體地說,每一該業務規則所對應的多個檢核項目至少包括一身分證字號及一文件序號,且每一該業務規則所對應的該等檢核項目還包括該業務規則所對應的該文件類型的至少一檢核內容。舉例來說,該文件類型是對應自動轉帳付款授權書時,該等檢核內容包含保單號碼是否符合公司格式、身分證字號的檢核、及其他對應要保人、是否郵寄、授權人資料(如帳戶戶名、身分證字號、郵局資料、銀行資料)等等的對應檢核。當該處理裝置1判斷該文件內容符合對應的每一該檢核項目時,所產生的該檢核結果表示檢核正確。The processing device 1 selects one of the file types stored in the storage device 2 and matching the data content, and checks the file content according to the business rule corresponding to the file to generate a check result. Specifically, the multiple check items corresponding to each business rule at least include an identity card number and a file serial number, and the check items corresponding to each business rule also include at least one check content of the file type corresponding to the business rule. For example, when the document type corresponds to an autopay payment authorization form, the verification contents include whether the policy number conforms to the company format, verification of the ID number, and other corresponding verifications of the insured, whether it is mailed, the information of the authorizer (such as account name, ID number, post office information, bank information), etc. When the processing device 1 determines that the document content conforms to each of the corresponding verification items, the generated verification result indicates that the verification is correct.

此外,該處理裝置1還藉由該物件偵測模型偵測出該校正後影像中的一印鑑位置。也就是說,該物件偵測模型是在照片或影片等圖像內容中,用「框」標出物件的範圍,並且分類為何種物件及附帶他是此物件的猜測機率,例如YOLOv7演算法,但不以此為限。接著,該處理裝置1在該印鑑位置擷取出一待鑑定印鑑影像,當該處理裝置1判斷該檢核結果是表示檢核正確時,藉由該通訊裝置3取得例如是來自另一資料庫的一系統印鑑影像,並將該待鑑定印鑑影像以長寬等比例作縮放而與該系統印鑑影像的一邊長相等後再與該系統印鑑影像作重疊,以產生一印鑑比對影像。In addition, the processing device 1 also detects a fingerprint position in the corrected image by means of the object detection model. That is, the object detection model uses a "frame" to mark the range of the object in the image content such as the photo or video, and classifies it into what kind of object and the guess probability of it being the object, such as the YOLOv7 algorithm, but not limited thereto. Next, the processing device 1 captures a seal image to be authenticated at the seal authentication position. When the processing device 1 determines that the authentication result indicates that the authentication is correct, the communication device 3 obtains a system seal image, for example, from another database, and scales the seal image to be authenticated in a ratio of length and width to make it equal to the length of one side of the system seal image, and then overlaps it with the system seal image to generate a seal comparison image.

該處理裝置1將該檢核結果、該文件內容、該印鑑比對影像之其中至少一者或全部經由該通訊裝置3回傳至該資料來源端裝置4,使得該承辦人員能夠快速且正確地獲得檢核正確與否的相關資訊。The processing device 1 transmits at least one or all of the verification result, the document content, and the seal comparison image back to the data source device 4 via the communication device 3, so that the person in charge can quickly and accurately obtain relevant information on whether the verification is correct.

另外值得一提的是:在其他的實施例中,該快速回應碼的該資料內容除了包括該文件類型,也可以還包括對應該文件類型的至少一業務規則。因此,該處理裝置1不需要根據該資料內容的該文件類型而至該儲存裝置2取得符合該文件類型所對應的該業務規則,該處理裝置1改為直接由該資料內容取得該至少一業務規則,但要特別提醒的是:由於該快速回應碼的該資料內容具有容量的限制,舉例來說,版本40的快速回應碼所能儲存的最大資料容量是984字元的中文漢字或4296字元的字母,故該資料內容所包括的該至少一業務規則的數量與字數也受到容量上的限制。It is also worth mentioning that: in other embodiments, the data content of the quick response code may include not only the file type but also at least one business rule corresponding to the file type. Therefore, the processing device 1 does not need to obtain the business rule corresponding to the file type from the storage device 2 according to the file type of the data content. Instead, the processing device 1 directly obtains the at least one business rule from the data content. However, it should be noted that: since the data content of the quick response code has a capacity limitation, for example, the maximum data capacity that can be stored in the version 40 quick response code is 984 Chinese characters or 4296 letters, so the number and number of characters of the at least one business rule included in the data content are also subject to capacity limitations.

綜上所述,藉由該處理裝置1先對該文件影像作旋轉與縮放比例的校正,再對該校正後文件影像作影像辨識,以獲得該文件內容及該快速回應碼的該資料內容,並根據該資料內容選擇相符合的該儲存裝置2所儲存的該文件類型,且根據該文件類型所對應的該業務規則,對該文件內容作檢核,以產生的該檢核結果。且還能夠進一步在判斷出檢核正確時,執行核印流程以產生該印鑑比對影像,使得該資料來源端裝置4能夠快速且正確地取得該檢核結果、該文件內容、及該印鑑比對影像,進而能夠實現一種具備流程簡化且執行效率提升的文件辨識與檢核系統,故確實能達成本發明的目的。In summary, the processing device 1 first performs rotation and scaling correction on the document image, and then performs image recognition on the corrected document image to obtain the document content and the data content of the quick response code, and selects the file type stored in the storage device 2 that matches the data content, and checks the document content according to the business rules corresponding to the file type to generate the verification result. Furthermore, when it is determined that the verification is correct, the verification process can be executed to generate the seal comparison image, so that the data source end device 4 can quickly and correctly obtain the verification result, the document content, and the seal comparison image, thereby realizing a document recognition and verification system with simplified process and improved execution efficiency, so that the purpose of the present invention can be achieved.

惟以上所述者,僅為本發明的實施例而已,當不能以此限定本發明實施的範圍,凡是依本發明申請專利範圍及專利說明書內容所作的簡單的等效變化與修飾,皆仍屬本發明專利涵蓋的範圍內。However, the above is only an embodiment of the present invention and should not be used to limit the scope of implementation of the present invention. All simple equivalent changes and modifications made according to the scope of the patent application of the present invention and the content of the patent specification are still within the scope of the present patent.

1:處理裝置 2:儲存裝置 3:通訊裝置 4:資料來源端裝置 1: Processing device 2: Storage device 3: Communication device 4: Data source device

本發明的其他的特徵及功效,將於參照圖式的實施方式中清楚地呈現,其中: 圖1是一方塊圖,說明本發明文件辨識與檢核系統的一實施例。 Other features and functions of the present invention will be clearly presented in the implementation method of the reference drawings, in which: Figure 1 is a block diagram illustrating an implementation example of the document recognition and verification system of the present invention.

1:處理裝置 1: Processing device

2:儲存裝置 2: Storage device

3:通訊裝置 3: Communication device

4:資料來源端裝置 4: Data source device

Claims (6)

一種文件辨識與檢核系統,適用於一資料來源端裝置,並包含:一通訊裝置,用於提供連網功能;一儲存裝置,儲存分別對應多個文件類型的多個業務規則,及一快速回應碼定位標記間位置關係;及一處理裝置,電連接該通訊裝置及該儲存裝置,並藉由該通訊裝置與該資料來源端裝置建立連線,以接收來自該資料來源端裝置的一文件影像,該文件影像包括對應其中一個該文件類型的一快速回應碼(QR code),該快速回應碼包括分別位於左上、右上、及左下的三個定位標記,該處理裝置對該文件影像作旋轉與縮放比例的校正,以產生一校正後文件影像,且對該校正後文件影像作影像辨識,以獲得該校正後文件影像的一文件內容及該快速回應碼的一資料內容,其中,該處理裝置是對該文件影像提取多個特徵點,並根據該等特徵點對該文件影像先作旋轉的校正,該處理裝置是根據該等定位標記的位置,及該快速回應碼定位標記間位置關係,計算該等定位標記之其中任意兩者的距離,以將旋轉後的該文件影像作比例縮放的校正,而產生能夠還原出與該文件影像所對應的一紙本文件的尺寸比例的該校正後文件影像,該處理裝置根據該資料內容選擇相符合的該等文件類型之其中一者,並根據其中該者所對應的該業務規則,對該文件內容作檢核,且將一檢核結果經由該通訊裝置回 傳至該資料來源端裝置。 A document recognition and verification system is applicable to a data source terminal device and includes: a communication device for providing a networking function; a storage device for storing a plurality of business rules corresponding to a plurality of document types, and a position relationship between a quick response code location marker; and a processing device electrically connected to the communication device and the storage device, and establishing a connection with the data source terminal device through the communication device to receive a document image from the data source terminal device, the document image including a quick response code (QR code) corresponding to one of the document types. The quick response code includes three positioning marks located at the upper left, upper right, and lower left, respectively. The processing device performs rotation and scaling correction on the document image to generate a corrected document image, and performs image recognition on the corrected document image to obtain a document content of the corrected document image and a data content of the quick response code, wherein the processing device extracts a plurality of feature points from the document image, and performs rotation correction on the document image according to the feature points, and the processing device performs rotation correction on the document image according to the positions of the positioning marks. , and the positional relationship between the quick response code positioning marks, calculate the distance between any two of the positioning marks, so as to perform proportional scaling correction on the rotated document image, and generate the corrected document image that can restore the size ratio of a paper document corresponding to the document image. The processing device selects one of the document types that matches the data content, and checks the document content according to the business rules corresponding to the document, and transmits a check result back to the data source device via the communication device. 如請求項1所述的文件辨識與檢核系統,其中,該處理裝置是藉由光學字元辨識(Optical Character Recog-nition,OCR)技術對該校正後影像作影像辨識,並還將該文件內容經由該通訊裝置回傳至該資料來源端裝置。 The document recognition and verification system as described in claim 1, wherein the processing device performs image recognition on the corrected image by optical character recognition (OCR) technology, and also transmits the document content back to the data source device via the communication device. 如請求項2所述的文件辨識與檢核系統,其中,每一該業務規則所對應的多個檢核項目至少包括一身分證字號及一文件序號。 A document identification and verification system as described in claim 2, wherein the multiple verification items corresponding to each business rule include at least an identity card number and a document serial number. 如請求項3所述的文件辨識與檢核系統,其中,每一該業務規則所對應的該等檢核項目還包括該業務規則所對應的該文件類型的至少一檢核內容。 A document identification and verification system as described in claim 3, wherein the verification items corresponding to each business rule further include at least one verification content of the document type corresponding to the business rule. 如請求項4所述的文件辨識與檢核系統,其中,該儲存裝置還儲存一物件偵測模型,該處理裝置藉由該物件偵測模型偵測出該校正後影像中的一印鑑位置,而在該印鑑位置擷取出一待鑑定印鑑影像,當該處理裝置判斷該文件內容符合對應的每一該檢核項目以表示檢核正確時,藉由該通訊裝置取得一系統印鑑影像,並將該待鑑定印鑑影像以長寬等比例作縮放而與該系統印鑑影像的一邊長相等後再與該系統印鑑影像作重疊,以產生一印鑑比對影像,該處理裝置還將該印鑑比對影像經由該通訊裝置回傳至該資料來源端裝置。 The document recognition and verification system as described in claim 4, wherein the storage device further stores an object detection model, the processing device detects a seal position in the corrected image by means of the object detection model, and captures a seal image to be verified at the seal position, and when the processing device determines that the document content meets the corresponding verification items, the processing device indicates that the document content meets the corresponding verification items. When the verification is correct, a system seal image is obtained through the communication device, and the seal image to be authenticated is scaled in proportion to the length and width to be equal to the length of one side of the system seal image, and then overlapped with the system seal image to generate a seal comparison image. The processing device also returns the seal comparison image to the data source device via the communication device. 一種文件辨識與檢核系統,適用於一資料來源端裝置,並包含:一儲存裝置,儲存一快速回應碼定位標記間位置關 係;一通訊裝置,用於提供連網功能;及一處理裝置,電連接該儲存裝置及該通訊裝置,並藉由該通訊裝置與該資料來源端裝置建立連線,以接收來自該資料來源端裝置的一文件影像,該文件影像包括對應一文件類型的一快速回應碼,該快速回應碼包括分別位於左上、右上、及左下的三個定位標記,該處理裝置對該文件影像作旋轉與縮放比例的校正,以產生一校正後文件影像,且對該校正後文件影像作影像辨識,以獲得該校正後文件影像的一文件內容及該快速回應碼的一資料內容,該資料內容包括該文件類型及對應該文件類型的至少一業務規則,其中,該處理裝置是對該文件影像提取多個特徵點,並根據該等特徵點對該文件影像先作旋轉的校正,該處理裝置是根據該等定位標記的位置,及該快速回應碼定位標記間位置關係,計算該等定位標記之其中任意兩者的距離,以將旋轉後的該文件影像作比例縮放的校正,而產生能夠還原出與該文件影像所對應的一紙本文件的尺寸比例的該校正後文件影像;該處理裝置根據該資料內容的該至少一業務規則,對該文件內容作檢核,且將一檢核結果經由該通訊裝置回傳至該資料來源端裝置。 A document recognition and verification system is applicable to a data source terminal device and includes: a storage device for storing a position relationship between positioning marks of a quick response code; a communication device for providing a networking function; and a processing device for electrically connecting the storage device and the communication device, and establishing a connection with the data source terminal device through the communication device to receive a document image from the data source terminal device, the document image including a quick response code corresponding to a document type, the quick response code including three positioning marks located at the upper left, upper right, and lower left, respectively. The processing device performs rotation and scaling correction on the document image to generate a corrected document image, and performs image recognition on the corrected document image to obtain a document content of the corrected document image and the quick response code. A data content of the response code, the data content includes the document type and at least one business rule corresponding to the document type, wherein the processing device extracts multiple feature points from the document image, and first performs rotation correction on the document image according to the feature points, and the processing device calculates the distance between any two of the positioning marks according to the positions of the positioning marks and the position relationship between the positioning marks of the quick response code, so as to perform proportional scaling correction on the rotated document image, and generate the corrected document image that can restore the size ratio of a paper document corresponding to the document image; the processing device checks the document content according to the at least one business rule of the data content, and returns a check result to the data source end device via the communication device.
TW112142279A 2023-11-02 2023-11-02 Document Identification and Verification System TWI856861B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW112142279A TWI856861B (en) 2023-11-02 2023-11-02 Document Identification and Verification System

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW112142279A TWI856861B (en) 2023-11-02 2023-11-02 Document Identification and Verification System

Publications (2)

Publication Number Publication Date
TWI856861B true TWI856861B (en) 2024-09-21
TW202520215A TW202520215A (en) 2025-05-16

Family

ID=93649240

Family Applications (1)

Application Number Title Priority Date Filing Date
TW112142279A TWI856861B (en) 2023-11-02 2023-11-02 Document Identification and Verification System

Country Status (1)

Country Link
TW (1) TWI856861B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103093186B (en) * 2011-07-28 2016-03-09 施乐公司 For improvement of the system and method for image recognition
TWM584921U (en) * 2019-07-16 2019-10-11 中國信託商業銀行股份有限公司 Seal stamp anti-counterfeiting system
US20200210694A1 (en) * 2008-01-18 2020-07-02 Mitek Systems, Inc. Systems and methods for classifying payment documents during mobile image processing
TW202147171A (en) * 2020-01-23 2021-12-16 瑞士商Ovd綺納格拉姆有限公司 Method for authenticating a security document
CN110675546B (en) * 2019-09-06 2022-07-08 深圳壹账通智能科技有限公司 Invoice picture identification and verification method, system, equipment and readable storage medium
CN116524507A (en) * 2023-03-21 2023-08-01 中教云智数字科技有限公司 Answer sheet answer area acquisition method
TWM651969U (en) * 2023-11-02 2024-02-21 中國信託商業銀行股份有限公司 Document identification and verification system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200210694A1 (en) * 2008-01-18 2020-07-02 Mitek Systems, Inc. Systems and methods for classifying payment documents during mobile image processing
CN103093186B (en) * 2011-07-28 2016-03-09 施乐公司 For improvement of the system and method for image recognition
TWM584921U (en) * 2019-07-16 2019-10-11 中國信託商業銀行股份有限公司 Seal stamp anti-counterfeiting system
CN110675546B (en) * 2019-09-06 2022-07-08 深圳壹账通智能科技有限公司 Invoice picture identification and verification method, system, equipment and readable storage medium
TW202147171A (en) * 2020-01-23 2021-12-16 瑞士商Ovd綺納格拉姆有限公司 Method for authenticating a security document
CN116524507A (en) * 2023-03-21 2023-08-01 中教云智数字科技有限公司 Answer sheet answer area acquisition method
TWM651969U (en) * 2023-11-02 2024-02-21 中國信託商業銀行股份有限公司 Document identification and verification system

Also Published As

Publication number Publication date
TW202520215A (en) 2025-05-16

Similar Documents

Publication Publication Date Title
US12125302B2 (en) Systems and methods for classifying payment documents during mobile image processing
Bulatovich et al. MIDV-2020: A comprehensive benchmark dataset for identity document analysis
US11349666B2 (en) Electronically signing and distributing identification data as a service that provides proof of identity, integrity, validity and origin of data for non-repudiation and ID validation methods
CN111353492B (en) Image recognition and information extraction method and device for standardized document
EP4052177A1 (en) System and methods for authentication of documents
WO2021042747A1 (en) Invoice picture recognition and verification method and system, device, and readable storage medium
US10452908B1 (en) Document fraud detection
JP6252150B2 (en) Information code generation method, information code, information code reader, and information code utilization system
EA034354B1 (en) System and method for document information authenticity verification
US20080279455A1 (en) Machine character recognition verification
CN102737239B (en) Receipt data recognition device and method
JP2016048444A (en) Document identification program, document identification device, document identification system, and document identification method
CN114092937B (en) Seal recognition method, device, equipment and medium
US20180033020A1 (en) System and apparatus for detecting forgery features on identification documents
US20230259907A1 (en) Augmented reality-enabled atm for secure augmented reality check realization
Liu et al. MRZ code extraction from visa and passport documents using convolutional neural networks
EP3796218B1 (en) Image processing system, image processing method, and program
CN116563876A (en) Invoice identification method
JP2013025571A (en) Card issue system and card issue method
TWM651969U (en) Document identification and verification system
JP5659505B2 (en) Authentication apparatus and authentication method
TWI856861B (en) Document Identification and Verification System
JP2019071006A (en) Transaction device, system, method, and program
JP7083055B1 (en) Issuing device, authentication device, authentication system, issuing method, and information code
TWM626292U (en) Business-oriented key item key-value identification system