WO2021042747A1 - Invoice picture recognition and verification method and system, device, and readable storage medium - Google Patents

Invoice picture recognition and verification method and system, device, and readable storage medium Download PDF

Info

Publication number
WO2021042747A1
WO2021042747A1 PCT/CN2020/087586 CN2020087586W WO2021042747A1 WO 2021042747 A1 WO2021042747 A1 WO 2021042747A1 CN 2020087586 W CN2020087586 W CN 2020087586W WO 2021042747 A1 WO2021042747 A1 WO 2021042747A1
Authority
WO
WIPO (PCT)
Prior art keywords
invoice
data
picture
verification
verified
Prior art date
Application number
PCT/CN2020/087586
Other languages
French (fr)
Chinese (zh)
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 深圳壹账通智能科技有限公司
Publication of WO2021042747A1 publication Critical patent/WO2021042747A1/en

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D7/00Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency
    • G07D7/20Testing patterns thereon
    • G07D7/2016Testing patterns thereon using feature extraction, e.g. segmentation, edge detection or Hough-transformation
    • 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
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • G06V30/41Analysis of document content
    • G06V30/412Layout analysis of documents structured with printed lines or input boxes, e.g. business forms or tables
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07DHANDLING OF COINS OR VALUABLE PAPERS, e.g. TESTING, SORTING BY DENOMINATIONS, COUNTING, DISPENSING, CHANGING OR DEPOSITING
    • G07D7/00Testing specially adapted to determine the identity or genuineness of valuable papers or for segregating those which are unacceptable, e.g. banknotes that are alien to a currency
    • G07D7/20Testing patterns thereon
    • G07D7/202Testing patterns thereon using pattern matching
    • G07D7/206Matching template patterns

Definitions

  • the embodiments of the present application relate to the field of big data, and in particular to a method, system, computer device, and computer-readable storage medium for identifying and verifying invoice images.
  • invoices are not only an important original document for accounting, but also the main effective means for tax authorities to conduct tax accounting, collection, and tax audits. Falsified invoices will cause trouble for the company or enterprise's reimbursement, accounting and other operations, and even financial losses. Therefore, in the reimbursement process of a company or enterprise, it is necessary for the relevant financial department to verify the authenticity of the invoice.
  • the verification operation of the invoice by the financial department of the company or enterprise usually requires the financial staff to manually enter the invoice code, invoice number, invoice date, and issued amount (excluding tax) , Basic information such as the identification number of the issuing party, and then check the national tax website to determine the authenticity of the invoice.
  • the inventor realized that using the above method to verify the invoices has the following problems: the first is that the query efficiency is low, and manual input is easy to make mistakes; the second is that when financial staff perform financial work such as reimbursement and entry, they need to start from In the batch of invoices, the invoices that meet the requirements are screened out, and the authenticity operation is performed, which is inefficient.
  • An invoice picture recognition and authenticity method including:
  • invoice type is a preset invoice type, extract multiple text data and image data in the original invoice picture to be verified;
  • the first verification result is that the true invoice picture to be verified is a compliant picture, extract basic invoice data from the multiple text data and picture data;
  • the verification conclusion form is sent to the client, so that the verification conclusion form is displayed on the corresponding display interface of the client through the client.
  • the embodiment of the present application also provides an invoice picture recognition and authenticity verification system, including:
  • the receiving module is used to receive the genuine invoice picture to be verified provided by the user through the client, and to identify the invoice type of the genuine invoice picture to be verified;
  • the first extraction module is configured to extract multiple text data and image data in the original invoice picture to be verified if the invoice type is a preset invoice type;
  • the first authenticity verification module is configured to perform a first authenticity verification operation on the to-be-verified authentic invoice picture according to the plurality of text data and image data to generate a first authenticity verification result;
  • the second extraction module is configured to extract basic invoice data from the plurality of text data and image data if the first verification result is that the original invoice picture to be verified is a compliant picture;
  • the second authenticity verification module is used to perform a second authenticity verification operation according to the basic data of the invoice to generate a verification conclusion form
  • the display module is configured to send the verification conclusion form to the client, so as to display the verification conclusion form on the corresponding display interface of the client through the client.
  • an embodiment of the present application further provides a computer device.
  • the computer device includes a memory, a processor, and a computer program stored on the memory and running on the processor, and the processor executes the The computer program realizes the steps of the method for recognizing and authenticating the invoice picture as described above.
  • the embodiments of the present application also provide a computer-readable storage medium having a computer program stored in the computer-readable storage medium, and the computer program may be executed by at least one processor, so that the at least A processor executes the steps of the invoice picture recognition and authenticity method described above.
  • Fig. 1 is a flowchart of the steps of the method for identifying and authenticating invoice pictures in the first embodiment of the application;
  • FIG. 2 is a schematic diagram of a specific flow of step S100 in FIG. 1;
  • FIG. 3 is a schematic diagram of a specific flow of step S100A in FIG. 2;
  • FIG. 4 is a schematic diagram of a specific flow of step S100B in FIG. 2;
  • FIG. 7 is a schematic diagram of the program modules of the second embodiment of the system for identifying and authenticating pictures of application invoices
  • FIG. 8 is a schematic diagram of the hardware structure of the third embodiment of the computer equipment of this application.
  • Step S100 Receive a genuine invoice picture to be verified provided by the user through the client, and identify the invoice type of the genuine invoice picture to be verified.
  • step S100 may further include:
  • step S100A a plurality of convolutional features are extracted from the authentic invoice image to be verified through a deep residual network (Deep Residual Network, DRN for short) model.
  • DRN Deep Residual Network
  • the deep residual network model includes an input layer, a primary convolutional layer, multiple residual modules, a fully connected layer, and an output layer; the primary function of the primary convolutional layer is to convolve the input original data.
  • Product multiple residual modules are used to extract the convolutional features of the above-mentioned convolutional data; the fully connected layer has multiple nodes, and the main function is to classify the above-mentioned convolutional features.
  • Each residual module is divided into a main path and a shortcut, and re-superimposed and integrated at the end, that is, a residual module is composed of two layers of convolution and an identity map.
  • Step S100A1 input the original invoice picture to be verified into the input layer.
  • step S100A2 the initial convolution layer performs a convolution operation on the true invoice picture to be verified in the input layer to obtain multiple convolution feature maps.
  • step S100A3 multiple residual modules are used to extract multiple convolution features in the multiple convolution feature maps.
  • Step S100B performing dimensionality reduction processing on the multiple convolution features to obtain multiple low-dimensional features.
  • PCA principal component analysis
  • step S100B1 a 128-dimensional feature vector matrix is composed of multiple convolution features, and one convolution feature is expressed as a 128-dimensional feature vector;
  • Step S100B3 Decompose the eigenvalues of the covariance matrix, and select 64 eigenvalues corresponding to the eigenvalues to form a projection matrix according to the size of the eigenvalues;
  • Step S100B4 project the 128-dimensional feature vector matrix to the projection matrix to obtain a 64-dimensional feature vector matrix, the 64-dimensional feature vector matrix includes a plurality of low-dimensional features, and a low-dimensional feature is represented as a 64-dimensional feature vector .
  • the eigenvalues of the covariance matrix are sorted from large to small, and the eigenvectors corresponding to the first 64 eigenvalues are selected to obtain multiple low-dimensional features after dimensionality reduction.
  • Step S100C calculating the Euclidean distance between the multiple low-dimensional features and the feature of each picture in the pre-configured multi-view image database.
  • the pre-configured multi-view image database contains invoice images taken at different angles for each invoice type.
  • x and y represent two n-dimensional vectors: x (x 1 , x 2 ,..., x n ), y (y 1 , y 2 ,..., y n ).
  • step S100D a reference invoice picture in the multi-view image database is selected, and the Euclidean distance between the reference invoice picture and the invoice picture to be verified is greater than the other invoice pictures in the multi-view database and the authentic invoice to be verified Euclidean distance between.
  • Step S100E Send a query request to the multi-view image database, where the query request is used to request the multi-view image database to query the reference invoice type of the reference invoice picture.
  • Step S100F receiving the reference invoice type returned by the multi-view image database.
  • step S100G the reference invoice type is determined as the invoice type of the genuine invoice picture to be verified.
  • Step S102 Determine whether the invoice type is a preset invoice type.
  • Step S104 if the invoice type is a preset invoice type, extract multiple text data and image data in the invoice picture to be verified.
  • the text data includes: text content, text attributes (font, font size, etc.), the position of the text content in the layout, and other data;
  • the image data includes: image attributes (resolution, image color gamut, channel, etc.) , The position of the picture in the layout and other data.
  • Step S106 Perform a first authenticity verification operation on the authentic invoice image to be verified according to the multiple text data and image data to generate a first authenticity verification result.
  • step S106 may further include:
  • Step S106A extracting the picture data of the invoice supervisor chapter picture data, the picture data of the special invoice chapter picture data of the seller and the two-dimensional code picture data from the plurality of picture data.
  • Step S106B parse the two-dimensional code image data to obtain a plurality of first field data, and match the plurality of first field data with a plurality of text field data in the plurality of text data to generate a text match Result data.
  • the generated text matching result data is represented as the text matching consistency; if the matches are inconsistent, the generated text matching result data is represented as the text matching inconsistency.
  • the specific operation of parsing the image data of the two-dimensional code is as follows:
  • step 1.3 Judge whether the decryption is successful; if the decryption is successful, go to step 1.4; if the decryption is unsuccessful, then generate the decryption failure conclusion data and feed it back to the client.
  • Step S106C parse the picture data of the invoice production supervision chapter to obtain multiple second field data, and match the multiple second field data with multiple production supervision chapter fields pre-configured based on the national unified invoice production supervision chapter to generate production supervision chapter Chapter matching result data.
  • the OCR recognition technology may be used to parse the picture data of the invoice supervisory chapter to obtain multiple second field data.
  • Step S106D parse the picture data of the special invoice chapter of the seller to obtain a plurality of third field data, and match the plurality of third fields with the plurality of invoice chapter field data in each picture in the pre-configured invoice chapter database , To generate invoice-specific chapter matching result data.
  • the generated invoice-specific chapter matching result data is represented as the invoice-specific chapter matching is consistent; if the matches are inconsistent, the generated invoice-specific chapter matching result data is represented as the invoice-specific chapter matching inconsistency.
  • OCR recognition technology may also be used to parse the picture data of the seller's invoice special chapter to obtain multiple third field data.
  • Step S106E If the text matching result data, the production supervisor chapter matching result data, and the invoice special chapter matching result data all indicate that the matching is consistent, a first verification result is generated, and the first verification result is the true picture to be verified It is a compliance picture.
  • Step S106F if any one of the text matching result data, the production supervision chapter matching result data, and the invoice special chapter matching result data indicates that the matching is inconsistent, a first verification result is generated, and the first verification result is all The real picture to be verified is a non-compliant picture.
  • Step S108 If the first authenticity verification result is that the authentic invoice picture to be verified is a compliant picture, extract basic invoice data from the multiple text data and image data.
  • the basic invoice data includes multiple characteristic data such as invoice code, invoice number, total amount (excluding tax), invoice date, invoice verification code, and so on.
  • Step S110 Perform a second verification operation according to the basic invoice data to generate a verification conclusion form.
  • step S110 it may further include:
  • Step S110A Send the basic invoice data and the related data query instruction to the electronic invoice verification system.
  • the related data query instruction is used to request the electronic invoice verification system to query multiple related relationships based on the image of the invoice to be verified. data;
  • Step S110B receiving multiple associated data returned by the electronic invoice verification system
  • the multiple query parameters include, but are not limited to, machine number, specification model, invoice number, invoice code, invoice date, check code, amount, unit, quantity, unit price, amount, tax rate, tax amount, and buyer's area information (Name, taxpayer identification number, account opening bank and account number, address, telephone), seller area information (name, taxpayer identification number, account opening bank and account number, address, telephone), remarks, password area, payee, review , Invoicing person, etc.
  • the verification conclusion data in the verification conclusion form generated for the authentic invoice picture to be verified is indicated as the authenticity to be verified.
  • the invoice picture is a compliant invoice picture.
  • the verification conclusion data in the verification conclusion form generated for the authentic invoice image to be verified is expressed as the authentic invoice image to be verified Picture of non-compliant invoice.
  • Step S112 sending the authenticity verification conclusion form to the client, so that the authenticity verification conclusion form is displayed on the corresponding display interface of the client through the client.
  • the invoice picture recognition and verification system 20 may include or be divided into one or more program modules, and the one or more program modules are stored in a storage medium and executed by one or more processors.
  • the program module referred to in the embodiments of the present application refers to a series of computer program instruction segments capable of completing specific functions, and is more suitable for describing the execution process of the invoice picture recognition and verification system 20 in the storage medium than the program itself. The following description will specifically introduce the functions of each program module in this embodiment:
  • the receiving module 200 is configured to receive the genuine invoice picture to be verified provided by the user through the client, and to identify the invoice type of the genuine invoice picture to be verified.
  • receiving module 200 is also used for:
  • the reference invoice type is determined as the invoice type of the genuine invoice picture to be verified.
  • Judging module 202 used to determine whether the invoice type is a preset invoice type.
  • the first extraction module 204 is configured to extract multiple text data and image data in the picture of the genuine invoice to be verified if the invoice type is a preset invoice type.
  • the first authenticity verification module 206 is configured to perform a first authenticity verification operation on the authentic invoice image to be verified according to the multiple text data and image data to generate a first authenticity verification result.
  • the first authenticity verification module 206 is also used for:
  • Parse the picture data of the invoice production supervision chapter to obtain multiple second field data, and match the multiple second field data with multiple production supervision chapter fields pre-configured based on the national unified invoice production supervision chapter to generate a production supervision chapter matching result data;
  • the second extraction module 208 is configured to extract basic invoice data from the plurality of text data and image data if the first verification result is that the original invoice picture to be verified is a compliant picture.
  • the second authenticity verification module 210 is configured to perform a second authenticity verification operation according to the basic invoice data to generate a verification conclusion form.
  • the second authenticity verification module 210 is also used for:
  • the final comparison result of the basic invoice data and the multiple inspection parameters is received to generate a verification conclusion form.
  • the docking interface is obtained through the verification code information, and the docking interface is used to send basic data of the invoice to the electronic invoice verification system.
  • the computer device 2 is a device that can automatically perform numerical calculation and/or information processing in accordance with pre-set or stored instructions.
  • the computer device 2 may be a rack server, a blade server, a tower server, or a cabinet server (including an independent server or a server cluster composed of multiple servers).
  • the computer device 2 at least includes, but is not limited to, a memory 21, a processor 22, a network interface 23, and an invoice picture recognition and authenticity system 20 that can communicate with each other through a system bus. among them:
  • the memory 21 may also be an external storage device of the computer device 2, such as a plug-in hard disk, a smart media card (SMC), and a secure digital (Secure Digital, SMC) equipped on the computer device 2. SD) card, flash card (Flash Card), etc.
  • the memory 21 may also include both the internal storage unit of the computer device 2 and its external storage device.
  • the memory 21 is generally used to store the operating system and various application software installed in the computer device 2, such as the program code of the invoice picture recognition and verification system 20 in the third embodiment.
  • the memory 21 can also be used to temporarily store various types of data that have been output or will be output.
  • the processor 22 may be a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments.
  • the processor 22 is generally used to control the overall operation of the computer device 2.
  • the processor 22 is used to run the program code or processing data stored in the memory 21, for example, to run the invoice picture recognition and authenticity system 20 to implement the invoice picture recognition and authenticity method of the first embodiment.
  • the network interface 23 may include a wireless network interface or a wired network interface, and the network interface 23 is generally used to establish a communication connection between the computer device 2 and other electronic devices.
  • the network interface 23 is used to connect the computer device 2 with an external terminal through a network, and establish a data transmission channel and a communication connection between the computer device 2 and the external terminal.
  • the network may be Intranet, Internet, Global System of Mobile Communication (GSM), Wideband Code Division Multiple Access (WCDMA), 4G network, 5G Network, Bluetooth (Bluetooth), Wi-Fi and other wireless or wired networks.
  • FIG. 8 only shows the computer device 2 with components 20-23, but it should be understood that it is not required to implement all the components shown, and more or fewer components may be implemented instead.
  • the invoice picture recognition and verification system 20 stored in the memory 21 can also be divided into one or more program modules, and the one or more program modules are stored in the memory 21, and It is executed by one or more processors (the processor 22 in this embodiment) to complete the application.
  • This embodiment also provides a computer-readable storage medium, such as flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), only Readable memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disks, optical disks, servers, App application malls, etc., on which computer programs are stored, The corresponding function is realized when the program is executed by the processor.
  • the computer-readable storage medium of this embodiment is used to store the invoice image recognition and authenticity system 20, and when executed by the processor, the invoice image recognition and authenticity method of the first embodiment is implemented.
  • the computer-readable storage medium may be non-volatile or volatile.

Abstract

Embodiments of the present application provide an invoice picture recognition and verification method, comprising: receiving an invoice picture to be verified, and recognizing the invoice type of said invoice picture; determining whether the invoice type is a preset invoice type; if the invoice type is the preset invoice type, extracting a plurality of pieces of text data and picture data in said invoice picture; performing a first verification operation on said invoice picture according to the plurality of pieces of text data and picture data to generate a first verification result; if the first verification result is that said invoice picture is a compliant picture, extracting invoice basic data from the plurality of pieces of text data and picture data; executing a second verification operation according to the invoice basic data to generate a verification conclusion form; and sending the verification conclusion form to a client to display the verification conclusion form by means of the client. The embodiments of the present application further provide an invoice picture recognition and verification system, a device and a readable storage medium. According to the embodiments of the present application, invoice recognition and verification can be completed more efficiently and conveniently.

Description

发票图片识别及验真方法、系统、设备及可读存储介质Method, system, equipment and readable storage medium for recognizing and authenticating invoice pictures
本申请要求于2019年9月6日提交中国专利局、申请号为201910844520.3,发明名称为“发票图片识别及验真方法、系统、设备及可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires the priority of a Chinese patent application filed with the Chinese Patent Office on September 6, 2019, with an application number of 201910844520.3 and an invention title of "Invoice Picture Recognition and Verification Method, System, Equipment, and Readable Storage Medium". The entire content is incorporated into this application by reference.
技术领域Technical field
本申请实施例涉及大数据领域,尤其涉及一种发票图片识别及验真方法、系统、计算机设备及计算机可读存储介质。The embodiments of the present application relate to the field of big data, and in particular to a method, system, computer device, and computer-readable storage medium for identifying and verifying invoice images.
背景技术Background technique
发票作为我国财务制度的重要组成部分,既是会计核算的重要原始凭证,也是税务机关进行税款核算征收、税务稽查的主要有效手段。伪造出的发票会为公司或企业的报销、入账等操作带来麻烦,甚至是财务损失。因此,在公司或企业的报销流程中,相关的财务部门有必要对发票进行验真操作。As an important part of my country's financial system, invoices are not only an important original document for accounting, but also the main effective means for tax authorities to conduct tax accounting, collection, and tax audits. Falsified invoices will cause trouble for the company or enterprise's reimbursement, accounting and other operations, and even financial losses. Therefore, in the reimbursement process of a company or enterprise, it is necessary for the relevant financial department to verify the authenticity of the invoice.
目前,在大多数公司或企业的报销流程中,公司或企业的财务部门对发票的验真操作,通常需要财务人员手动录入发票的发票代码、发票号码、开票日期、开具金额(不含税)、开票方识别号等基本信息,再到国税网站查询以判断发票的真伪。但是发明人意识到,采用上述方式进行发票的验真存在以下问题:第一是查询效率低下,手动输入很容易操作失误;第二是当财务人员进行报销、入账等财务工作时,需要从大批量的发票中筛选出符合要求的发票,并进行验真操作,效率较低。At present, in the reimbursement process of most companies or enterprises, the verification operation of the invoice by the financial department of the company or enterprise usually requires the financial staff to manually enter the invoice code, invoice number, invoice date, and issued amount (excluding tax) , Basic information such as the identification number of the issuing party, and then check the national tax website to determine the authenticity of the invoice. However, the inventor realized that using the above method to verify the invoices has the following problems: the first is that the query efficiency is low, and manual input is easy to make mistakes; the second is that when financial staff perform financial work such as reimbursement and entry, they need to start from In the batch of invoices, the invoices that meet the requirements are screened out, and the authenticity operation is performed, which is inefficient.
因此,如何高效、便捷地完成发票的识别及验真,成为目前亟待解决的问题。Therefore, how to efficiently and conveniently complete the identification and verification of invoices has become an urgent problem to be solved at present.
发明内容Summary of the invention
有鉴于此,本申请实施例提供了一种发票图片识别及验真方法、系统、计算机设备及计算机可读存储介质,用于解决财务人员从大批量的发票中筛选出符合要求的发票并验真,效率较低的问题。In view of this, the embodiments of this application provide a method, system, computer equipment, and computer-readable storage medium for identifying and verifying invoice pictures, which are used to solve the problem that financial personnel can select and verify invoices that meet the requirements from a large number of invoices. Really, the problem of inefficiency.
本申请实施例是通过下述技术方案来解决上述技术问题:The embodiments of this application solve the above technical problems through the following technical solutions:
一种发票图片识别及验真方法,包括:An invoice picture recognition and authenticity method, including:
接收用户通过客户端提供的待验真发票图片,并识别所述待验真发票图片的发票类型;Receiving the genuine invoice picture to be verified provided by the user through the client, and identifying the invoice type of the genuine invoice picture to be verified;
判断所述发票类型是否为预设发票类型;Determine whether the invoice type is a preset invoice type;
如果所述发票类型为预设发票类型,提取所述待验真发票图片中的多个文字数据和图片数据;If the invoice type is a preset invoice type, extract multiple text data and image data in the original invoice picture to be verified;
根据所述多个文字数据和图片数据对所述待验真发票图片执行第一验真操作,以生成第一验真结果;Performing a first authenticity verification operation on the authentic invoice picture to be verified according to the plurality of text data and image data to generate a first authenticity verification result;
如果所述第一验真结果为所述待验真发票图片为合规图片,则从所述多个文字数据和图片数据提取发票基础数据;If the first verification result is that the true invoice picture to be verified is a compliant picture, extract basic invoice data from the multiple text data and picture data;
根据所述发票基础数据执行第二验真操作,以生成验真结论表单;Perform a second verification operation according to the basic invoice data to generate a verification conclusion form;
发送所述验真结论表单至所述客户端,以通过所述客户端将所述验真结论表单显示在所述客户端相应的显示界面上。The verification conclusion form is sent to the client, so that the verification conclusion form is displayed on the corresponding display interface of the client through the client.
为了实现上述目的,本申请实施例还提供一种发票图片识别及验真系统,包括:In order to achieve the above objective, the embodiment of the present application also provides an invoice picture recognition and authenticity verification system, including:
接收模块,用于接收用户通过客户端提供的待验真发票图片,并识别所述待验真发票图片的发票类型;The receiving module is used to receive the genuine invoice picture to be verified provided by the user through the client, and to identify the invoice type of the genuine invoice picture to be verified;
判断模块;用于判断所述发票类型是否为预设发票类型;Judging module; used to determine whether the invoice type is a preset invoice type;
第一提取模块,用于如果所述发票类型为预设发票类型,提取所述待验真发票图片中的多个文字数据和图片数据;The first extraction module is configured to extract multiple text data and image data in the original invoice picture to be verified if the invoice type is a preset invoice type;
第一验真模块,用于根据所述多个文字数据和图片数据对所述待验真发票图片执行第一验真操作,以生成第一验真结果;The first authenticity verification module is configured to perform a first authenticity verification operation on the to-be-verified authentic invoice picture according to the plurality of text data and image data to generate a first authenticity verification result;
第二提取模块,用于如果所述第一验真结果为所述待验真发票图片为合规图片,则从所述多个文字数据和图片数据提取发票基础数据;The second extraction module is configured to extract basic invoice data from the plurality of text data and image data if the first verification result is that the original invoice picture to be verified is a compliant picture;
第二验真模块,用于根据所述发票基础数据执行第二验真操作,以生成验真结论表单;The second authenticity verification module is used to perform a second authenticity verification operation according to the basic data of the invoice to generate a verification conclusion form;
显示模块,用于发送所述验真结论表单至所述客户端,以通过所述客户端将所述验真结论表单显示在所述客户端相应的显示界面上。The display module is configured to send the verification conclusion form to the client, so as to display the verification conclusion form on the corresponding display interface of the client through the client.
为了实现上述目的,本申请实施例还提供一种计算机设备,所述计算机设备包括存储器、处理器以及存储在所述存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如上所述发票图片识别及验真方法的步骤。In order to achieve the foregoing objective, an embodiment of the present application further provides a computer device. The computer device includes a memory, a processor, and a computer program stored on the memory and running on the processor, and the processor executes the The computer program realizes the steps of the method for recognizing and authenticating the invoice picture as described above.
为了实现上述目的,本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质内存储有计算机程序,所述计算机程序可被至少一个处理器所执行,以使所述至少一个处理器执行如上所述的发票图片识别及验真方法的步骤。In order to achieve the foregoing objective, the embodiments of the present application also provide a computer-readable storage medium having a computer program stored in the computer-readable storage medium, and the computer program may be executed by at least one processor, so that the at least A processor executes the steps of the invoice picture recognition and authenticity method described above.
本申请实施例提供的发票图片识别及验真方法、系统、计算机设备及计算机可读存储介质,在对待验真发票图片进行验真操作之前,通过识别并判断待验真发票图片的发票类型,根据所述发票类型财务人员在进行报销、入账等财务工作时,能够更高效地从大批量 的发票中筛选出符合要求的发票;且在判断待验真发票图片的发票类型之后,通过发票票面上文字数据与图片数据对比的第一验真操作以及根据发票图片中提取的发票基础数据进行的第二验真操作,对待验真发票图片的两次验真操作,能够使待验真的发票图片的验真结果更加准确。The method, system, computer equipment, and computer-readable storage medium for identifying and authenticating invoice pictures provided in the embodiments of this application are used to identify and determine the invoice type of the authentic invoice picture to be verified before the authenticity verification operation is performed on the authentic invoice picture. According to the invoice type, the financial staff can more efficiently screen out the invoices that meet the requirements from the large batch of invoices when performing financial work such as reimbursement and entry; and after judging the invoice type of the true invoice picture to be verified, pass the invoice face The first verification operation of comparing the text data with the picture data and the second verification operation based on the basic invoice data extracted from the invoice picture, and the two verification operations of the invoice picture to be verified can enable the invoice to be verified The image verification result is more accurate.
以下结合附图和具体实施例对本申请进行详细描述,但不作为对本申请的限定。The following describes the application in detail with reference to the accompanying drawings and specific embodiments, but it is not intended to limit the application.
附图说明Description of the drawings
图1为本申请实施例一之发票图片识别及验真方法的步骤流程图;Fig. 1 is a flowchart of the steps of the method for identifying and authenticating invoice pictures in the first embodiment of the application;
图2为图1中步骤S100的具体流程示意图;FIG. 2 is a schematic diagram of a specific flow of step S100 in FIG. 1;
图3为图2中步骤S100A的具体流程示意图;FIG. 3 is a schematic diagram of a specific flow of step S100A in FIG. 2;
图4为图2中步骤S100B的具体流程示意图;FIG. 4 is a schematic diagram of a specific flow of step S100B in FIG. 2;
图5为图1中步骤S106的具体流程示意图;FIG. 5 is a schematic diagram of a specific flow of step S106 in FIG. 1;
图6为图1中步骤S110的具体流程示意图;FIG. 6 is a schematic diagram of a specific flow of step S110 in FIG. 1;
图7为本申请发票图片识别及验真系统之实施例二的程序模块示意图;FIG. 7 is a schematic diagram of the program modules of the second embodiment of the system for identifying and authenticating pictures of application invoices;
图8为本申请计算机设备之实施例三的硬件结构示意图。FIG. 8 is a schematic diagram of the hardware structure of the third embodiment of the computer equipment of this application.
具体实施方式detailed description
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions, and advantages of this application clearer, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, and are not used to limit the present application. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。The technical solutions between the various embodiments can be combined with each other, but they must be based on what can be achieved by a person of ordinary skill in the art. When the combination of technical solutions is contradictory or cannot be achieved, it should be considered that such a combination of technical solutions does not exist. It is not within the scope of protection required by this application.
实施例一Example one
请参阅图1,示出了本申请实施例之发票图片识别及验真方法的步骤流程图。可以理解,本方法实施例中的流程图不用于对执行步骤的顺序进行限定。下面以计算机设备为执行主体进行示例性描述,具体如下:Please refer to FIG. 1, which shows a flow chart of the method for recognizing and authenticating an invoice picture according to an embodiment of the present application. It can be understood that the flowchart in this method embodiment is not used to limit the order of execution of the steps. The following is an exemplary description with computer equipment as the main body of execution, and the details are as follows:
步骤S100,接收用户通过客户端提供的待验真发票图片,并识别所述待验真发票图片的发票类型。Step S100: Receive a genuine invoice picture to be verified provided by the user through the client, and identify the invoice type of the genuine invoice picture to be verified.
如图2所示,在示例性的实施例中,步骤S100还可以进一步包括:As shown in FIG. 2, in an exemplary embodiment, step S100 may further include:
步骤S100A,通过深度残差网络(Deep Residual Network,简称DRN)模型从所述待验真发票图片中提取多个卷积特征。In step S100A, a plurality of convolutional features are extracted from the authentic invoice image to be verified through a deep residual network (Deep Residual Network, DRN for short) model.
具体的,所述深度残差网络模型包括一个输入层、一个初级卷积层、多个残差模块、一个全连接层和一个输出层;初级卷积层主要作用是对输入的原始数据进行卷积;多个残差模块用于提取上述卷积后的数据的卷积特征;全连接层有多个节点,主要作用是对上述卷积特征进行分类。Specifically, the deep residual network model includes an input layer, a primary convolutional layer, multiple residual modules, a fully connected layer, and an output layer; the primary function of the primary convolutional layer is to convolve the input original data. Product; multiple residual modules are used to extract the convolutional features of the above-mentioned convolutional data; the fully connected layer has multiple nodes, and the main function is to classify the above-mentioned convolutional features.
每个残差模块分为一条主径和一条捷径,并在结束时重新叠加整合,即一个残差模块是由两层卷积再加一个恒等映射组成的。一个残差模块可以表示为y=F(x+{W i})+x,其中,x表示经由捷径得到的输出,W i表示该残差模块的权重,F(x+{W i})为经由主径得到的输出,y为主径和捷径得到的输出之和。 Each residual module is divided into a main path and a shortcut, and re-superimposed and integrated at the end, that is, a residual module is composed of two layers of convolution and an identity map. A residual module can be expressed as y=F(x+{W i })+x, where x represents the output obtained through the shortcut, W i represents the weight of the residual module, and F(x+{W i }) is the output The output from the main path, y is the sum of the output from the main path and the shortcut.
在本实施例中,请参阅图3,步骤S100A还可以进一步包括以下步骤:In this embodiment, referring to FIG. 3, step S100A may further include the following steps:
步骤S100A1,将所述待验真发票图片输入至输入层中。Step S100A1, input the original invoice picture to be verified into the input layer.
步骤S100A2,初始卷积层对输入层中的所述待验真发票图片进行卷积操作,以得到多个卷积特征图。In step S100A2, the initial convolution layer performs a convolution operation on the true invoice picture to be verified in the input layer to obtain multiple convolution feature maps.
步骤S100A3,通过多个残差模块提取所述多个卷积特征图中的多个卷积特征。In step S100A3, multiple residual modules are used to extract multiple convolution features in the multiple convolution feature maps.
步骤S100A4,多个卷积特征输入至全连接层进行分类。In step S100A4, multiple convolutional features are input to the fully connected layer for classification.
步骤S100A5,通过输出层输出多个卷积特征。Step S100A5, output multiple convolution features through the output layer.
步骤S100B,对所述多个卷积特征进行降维处理,以得到多个低维特征。Step S100B, performing dimensionality reduction processing on the multiple convolution features to obtain multiple low-dimensional features.
接上例,可采用主成分分析法(Principal Component Analysis,简称PCA)对上述经深度残差网络模型提取的卷积特征进行降维操作,请参阅图4,具体如下:Following the above example, the principal component analysis (PCA) method can be used to perform dimensionality reduction operations on the convolutional features extracted by the deep residual network model. Please refer to Figure 4 for details as follows:
步骤S100B1,将多个卷积特征组成128维特征向量矩阵,一个卷积特征表示为一个128维特征向量;In step S100B1, a 128-dimensional feature vector matrix is composed of multiple convolution features, and one convolution feature is expressed as a 128-dimensional feature vector;
步骤S100B2,计算128维特征向量矩阵的协方差矩阵;Step S100B2, calculating the covariance matrix of the 128-dimensional eigenvector matrix;
步骤S100B3,对所述协方差矩阵进行特征值的分解,根据特征值大小选择64个特征值对应的特征向量组成投影矩阵;Step S100B3: Decompose the eigenvalues of the covariance matrix, and select 64 eigenvalues corresponding to the eigenvalues to form a projection matrix according to the size of the eigenvalues;
步骤S100B4,将所述128维特征向量矩阵向投影矩阵进行投影,以得到64维特征向量矩阵,所述64维特征向量矩阵包括多个低维特征,一个低维特征表示为一个64维特征向量。Step S100B4, project the 128-dimensional feature vector matrix to the projection matrix to obtain a 64-dimensional feature vector matrix, the 64-dimensional feature vector matrix includes a plurality of low-dimensional features, and a low-dimensional feature is represented as a 64-dimensional feature vector .
由于图像信息集中在特征值大的特征向量中,因此,舍弃特征值小的特征向量不会影响图像质量。因此,根据协方差矩阵的特征值大小由大到小进行排序,选择前64个特征值对应的特征向量,以得到降维后的多个低维特征。Since the image information is concentrated in the feature vector with a large feature value, discarding the feature vector with a small feature value will not affect the image quality. Therefore, the eigenvalues of the covariance matrix are sorted from large to small, and the eigenvectors corresponding to the first 64 eigenvalues are selected to obtain multiple low-dimensional features after dimensionality reduction.
步骤S100C,计算所述多个低维特征与预配置的多视角图像数据库中各图片的特征的欧式距离。Step S100C, calculating the Euclidean distance between the multiple low-dimensional features and the feature of each picture in the pre-configured multi-view image database.
具体的,预配置的多视角图像数据库包含每一种发票类型在不同角度下拍摄的发票图像。Specifically, the pre-configured multi-view image database contains invoice images taken at different angles for each invoice type.
欧式距离计算公式为:The formula for calculating Euclidean distance is:
Figure PCTCN2020087586-appb-000001
其中x和y表示两个n维向量:x(x 1、x 2、…、x n),y(y 1、y 2、…、 y n)。
Figure PCTCN2020087586-appb-000001
Where x and y represent two n-dimensional vectors: x (x 1 , x 2 ,..., x n ), y (y 1 , y 2 ,..., y n ).
步骤S100D,选择所述多视角图像数据库中的参考发票图片,所述参考发票图片与所述待验证发票图片之间的欧式距离大于所述多视角数据库中其他发票图片与所述待验真发票之间的欧式距离。In step S100D, a reference invoice picture in the multi-view image database is selected, and the Euclidean distance between the reference invoice picture and the invoice picture to be verified is greater than the other invoice pictures in the multi-view database and the authentic invoice to be verified Euclidean distance between.
步骤S100E,向所述多视角图像数据库发送查询请求,所述查询请求用于请求所述多视角图像数据库查询所述参考发票图片的参考发票类型。Step S100E: Send a query request to the multi-view image database, where the query request is used to request the multi-view image database to query the reference invoice type of the reference invoice picture.
步骤S100F,接收所述多视角图像数据库返回的参考发票类型。Step S100F, receiving the reference invoice type returned by the multi-view image database.
步骤S100G,将所述参考发票类型确定为所述待验真发票图片的发票类型。In step S100G, the reference invoice type is determined as the invoice type of the genuine invoice picture to be verified.
步骤S102,判断所述发票类型是否为预设发票类型。Step S102: Determine whether the invoice type is a preset invoice type.
步骤S104,如果所述发票类型为预设发票类型,提取所述待验真发票图片中的多个文字数据和图片数据。Step S104, if the invoice type is a preset invoice type, extract multiple text data and image data in the invoice picture to be verified.
具体的,所述文字数据包括:文字内容、文字属性(字体、字号等)、文字内容在版面中的位置等数据;所述图片数据包括:图片属性(分辨率、图片色域、通道等)、图片在版面中位置等数据。Specifically, the text data includes: text content, text attributes (font, font size, etc.), the position of the text content in the layout, and other data; the image data includes: image attributes (resolution, image color gamut, channel, etc.) , The position of the picture in the layout and other data.
步骤S106,根据所述多个文字数据和图片数据对所述待验真发票图片执行第一验真操作,以生成第一验真结果。Step S106: Perform a first authenticity verification operation on the authentic invoice image to be verified according to the multiple text data and image data to generate a first authenticity verification result.
如图5所示,在示例性的实施例中,步骤S106还可以进一步包括:As shown in FIG. 5, in an exemplary embodiment, step S106 may further include:
步骤S106A,从所述多个图片数据中提取出发票监制章图片数据、销售方发票专用章图片数据和二维码图片数据。Step S106A, extracting the picture data of the invoice supervisor chapter picture data, the picture data of the special invoice chapter picture data of the seller and the two-dimensional code picture data from the plurality of picture data.
具体的,通过遍历的方式从多个图片数据中提取出发票监制章图片数据、销售方发票专用章图片数据和二维码图片数据;其中,二维码为加密二维码。Specifically, the picture data of the invoice supervisor chapter picture data, the picture data of the special invoice chapter of the seller and the picture data of the two-dimensional code are extracted from the plurality of picture data in a traversal manner; wherein the two-dimensional code is an encrypted two-dimensional code.
步骤S106B,解析所述二维码图片数据以得到多个第一字段数据,将所述多个第一字段数据与所述多个文字数据中的多个文字字段数据进行匹配,以生成文字匹配结果数据。Step S106B: parse the two-dimensional code image data to obtain a plurality of first field data, and match the plurality of first field data with a plurality of text field data in the plurality of text data to generate a text match Result data.
具体的,如果匹配一致,则生成的文字匹配结果数据表示为文字匹配一致;如果匹配不一致,则生成的文字匹配结果数据表示为文字匹配不一致。Specifically, if the matches are consistent, the generated text matching result data is represented as the text matching consistency; if the matches are inconsistent, the generated text matching result data is represented as the text matching inconsistency.
在示例性的实施例中,解析所述二维码图片数据的具体操作如下:In an exemplary embodiment, the specific operation of parsing the image data of the two-dimensional code is as follows:
1.1、调用zxing扫描程序,通过所述zxing扫描程序对所述二维码图片数据进行扫描,获得加密数据及该发票开票人的公钥数据;1.1. Invoke the zxing scanning program, scan the two-dimensional code image data through the zxing scanning program to obtain encrypted data and the public key data of the invoice issuer;
1.2、对所述加密数据进行解密和比对;1.2. Decrypt and compare the encrypted data;
1.3、判断是否解密成功;如果解密成功,则进入步骤1.4;如果解密不成功,则生成解密失败结论数据并反馈至所述客户端。1.3. Judge whether the decryption is successful; if the decryption is successful, go to step 1.4; if the decryption is unsuccessful, then generate the decryption failure conclusion data and feed it back to the client.
1.4、根据扫描结果提取所述二维码图片数据中的多个第一字段数据。1.4. Extract multiple first field data in the two-dimensional code image data according to the scanning result.
步骤S106C,解析所述发票监制章图片数据以得到多个第二字段数据,将所述多个第二字段数据与基于全国统一发票监制章预先配置的多个监制章字段进行匹配,以生成监制章匹配结果数据。Step S106C: parse the picture data of the invoice production supervision chapter to obtain multiple second field data, and match the multiple second field data with multiple production supervision chapter fields pre-configured based on the national unified invoice production supervision chapter to generate production supervision chapter Chapter matching result data.
在示例性的实施例中,具体的,如果匹配一致,则生成的监制章匹配结果数据表示为监制章匹配一致;如果匹配不一致,则生成的监制章匹配结果数据表示为监制章匹配不一致。In an exemplary embodiment, specifically, if the matches are consistent, the generated production supervision chapter matching result data is represented as the production supervision chapter matching consistency; if the matches are inconsistent, the generated production supervision chapter matching result data is represented as the production supervision chapter matching is inconsistent.
可以采用OCR识别技术对所述发票监制章图片数据进行解析以得到多个第二字段数据。The OCR recognition technology may be used to parse the picture data of the invoice supervisory chapter to obtain multiple second field data.
步骤S106D,解析销售方发票专用章图片数据以得到多个第三字段数据,将所述多个第三字段与预配置的发票专用章数据库的各个图片中的多个发票专用章字段数据进行匹配,以生成发票专用章匹配结果数据。Step S106D: parse the picture data of the special invoice chapter of the seller to obtain a plurality of third field data, and match the plurality of third fields with the plurality of invoice chapter field data in each picture in the pre-configured invoice chapter database , To generate invoice-specific chapter matching result data.
具体的,如果匹配一致,则生成的发票专用章匹配结果数据表示为发票专用章匹配一致;如果匹配不一致,则生成的发票专用章匹配结果数据表示为发票专用章匹配不一致。Specifically, if the matches are consistent, the generated invoice-specific chapter matching result data is represented as the invoice-specific chapter matching is consistent; if the matches are inconsistent, the generated invoice-specific chapter matching result data is represented as the invoice-specific chapter matching inconsistency.
在示例性的实施例中,也可以采用OCR识别技术对所述销售方发票专用章图片数据进行解析以得到多个第三字段数据。In an exemplary embodiment, OCR recognition technology may also be used to parse the picture data of the seller's invoice special chapter to obtain multiple third field data.
步骤S106E,如果所述文字匹配结果数据、监制章匹配结果数据及发票专用章匹配结果数据均表示匹配一致,则生成第一验真结果,所述第一验真结果为所述待验真图片为合规图片。Step S106E: If the text matching result data, the production supervisor chapter matching result data, and the invoice special chapter matching result data all indicate that the matching is consistent, a first verification result is generated, and the first verification result is the true picture to be verified It is a compliance picture.
步骤S106F,如果所述文字匹配结果数据、监制章匹配结果数据及发票专用章匹配结果数据中任一匹配结果数据表示匹配不一致,则生成第一验真结果,所述第一验真结果为所述待验真图片为非合规图片。Step S106F, if any one of the text matching result data, the production supervision chapter matching result data, and the invoice special chapter matching result data indicates that the matching is inconsistent, a first verification result is generated, and the first verification result is all The real picture to be verified is a non-compliant picture.
步骤S108,如果所述第一验真结果为所述待验真发票图片为合规图片,则从所述多个文字数据和图片数据提取发票基础数据。Step S108: If the first authenticity verification result is that the authentic invoice picture to be verified is a compliant picture, extract basic invoice data from the multiple text data and image data.
具体的,所述发票基础数据包括发票代码、发票号码、合计金额(不含税)、开票日期、发票校验码等多个特征数据。Specifically, the basic invoice data includes multiple characteristic data such as invoice code, invoice number, total amount (excluding tax), invoice date, invoice verification code, and so on.
步骤S110,根据所述发票基础数据执行第二验真操作,以生成验真结论表单。Step S110: Perform a second verification operation according to the basic invoice data to generate a verification conclusion form.
在执行第二验真操作之前,还包括获取计算机设备与电子发票验真系统之间的对接接口,具体如下:Before performing the second verification operation, it also includes obtaining the docking interface between the computer equipment and the electronic invoice verification system, as follows:
2.1、向电子发票验真系统发送获取请求,所述获取请求用于获取所述电子发票验真系统的验证码图片数据;2.1. Send an acquisition request to the electronic invoice verification system, where the acquisition request is used to acquire the verification code image data of the electronic invoice verification system;
2.2、分析所述验证码图片数据,以提取所述验证码信息;2.2. Analyze the verification code image data to extract the verification code information;
2.3、通过所述验证码信息获取对接接口,并基于所述对接接口发送所述发票基础数据至所述电子发票验真系统。2.3. Obtain the docking interface through the verification code information, and send the basic invoice data to the electronic invoice verification system based on the docking interface.
请参阅图6,在步骤S110中,还可以进一步包括:Referring to FIG. 6, in step S110, it may further include:
步骤S110A,将发票基础数据和关联数据查询指令发送至电子发票验真系统统,所述关联数据查询指令用于请求所述电子发票验真系统基于所述待验真发票图片查询的多个关联数据;Step S110A: Send the basic invoice data and the related data query instruction to the electronic invoice verification system. The related data query instruction is used to request the electronic invoice verification system to query multiple related relationships based on the image of the invoice to be verified. data;
步骤S110B,接收所述电子发票验真系统返回的多个关联数据;Step S110B, receiving multiple associated data returned by the electronic invoice verification system;
步骤S110C,从所述多个关联数据中提取多个查验参数;Step S110C, extract multiple inspection parameters from the multiple associated data;
具体的,所述多个查询参数包括但不限于机器编号、规格型号、发票号码、发票代码、开票日期、校验码、金额、单位、数量、单价、金额、税率、税额、购买方区域信息(名称、纳税人识别号、开户行及账号以及地址、电话),销售方区域信息(名称、纳税人识别号、开户行及账号以及地址、电话)、备注、密码区、收款人、复核、开票人等。Specifically, the multiple query parameters include, but are not limited to, machine number, specification model, invoice number, invoice code, invoice date, check code, amount, unit, quantity, unit price, amount, tax rate, tax amount, and buyer's area information (Name, taxpayer identification number, account opening bank and account number, address, telephone), seller area information (name, taxpayer identification number, account opening bank and account number, address, telephone), remarks, password area, payee, review , Invoicing person, etc.
步骤S110D,接收所述发票基础数据与多个查验参数的最终比对结果,以生成验真结论表单。In step S110D, the final comparison result of the basic invoice data and a plurality of verification parameters is received to generate a verification conclusion form.
具体的,如果最终比对结果表示为所述发票基础数据与多个查验参数匹配一致,则针对所述待验真发票图片生成验真结论表单中的验真结论数据表示为所述待验真发票图片为合规发票图片。Specifically, if the final comparison result indicates that the basic invoice data is consistent with multiple inspection parameters, the verification conclusion data in the verification conclusion form generated for the authentic invoice picture to be verified is indicated as the authenticity to be verified. The invoice picture is a compliant invoice picture.
如果最终比对结果表示为所述发票基础数据与多个查验参数匹配不一致,则针对所述待验真发票图片生成验真结论表单中的验真结论数据表示为所述待验真发票图片为非合规发票图片。If the final comparison result indicates that the basic invoice data is inconsistent with multiple inspection parameters, the verification conclusion data in the verification conclusion form generated for the authentic invoice image to be verified is expressed as the authentic invoice image to be verified Picture of non-compliant invoice.
步骤S112,发送所述验真结论表单至所述客户端,以通过所述客户端将所述验真结论表单显示在所述客户端相应的显示界面上。Step S112, sending the authenticity verification conclusion form to the client, so that the authenticity verification conclusion form is displayed on the corresponding display interface of the client through the client.
实施例二Example two
请继续参阅图7,示出了本申请发票图片识别及验真系统的程序模块示意图。在本实施例中,发票图片识别及验真系统20可以包括或被分割成一个或多个程序模块,一个或者多个程序模块被存储于存储介质中,并由一个或多个处理器所执行,以完成本申请,并可实现上述发票图片识别及验真方法。本申请实施例所称的程序模块是指能够完成特定功能的一系列计算机程序指令段,比程序本身更适合于描述发票图片识别及验真系统20在存储介质中的执行过程。以下描述将具体介绍本实施例各程序模块的功能:Please continue to refer to Figure 7, which shows a schematic diagram of the program modules of the invoice picture recognition and authenticity verification system of this application. In this embodiment, the invoice picture recognition and verification system 20 may include or be divided into one or more program modules, and the one or more program modules are stored in a storage medium and executed by one or more processors. , In order to complete this application and realize the above-mentioned method of identifying and authenticating invoice pictures The program module referred to in the embodiments of the present application refers to a series of computer program instruction segments capable of completing specific functions, and is more suitable for describing the execution process of the invoice picture recognition and verification system 20 in the storage medium than the program itself. The following description will specifically introduce the functions of each program module in this embodiment:
接收模块200,用于接收用户通过客户端提供的待验真发票图片,并识别所述待验真发票图片的发票类型。The receiving module 200 is configured to receive the genuine invoice picture to be verified provided by the user through the client, and to identify the invoice type of the genuine invoice picture to be verified.
进一步地,接收模块200还用于:Further, the receiving module 200 is also used for:
通过深度残差网络模型从所述待验真发票图片中提取多个卷积特征;Extracting multiple convolutional features from the true invoice picture to be verified through a deep residual network model;
对所述多个卷积特征进行降维处理,以得到多个低维特征;Performing dimensionality reduction processing on the multiple convolution features to obtain multiple low-dimensional features;
计算所述多个低维特征与预配置的多视角图像数据库中各图片的特征的欧式距离;Calculating the Euclidean distance between the multiple low-dimensional features and the feature of each picture in the pre-configured multi-view image database;
选择所述多视角图像数据库中的参考发票图片,所述参考发票图片与所述待验证发票图片之间的欧式距离大于所述多视角数据库中其他发票图片与所述待验真发票之间的欧式距离;Select the reference invoice picture in the multi-view image database, and the Euclidean distance between the reference invoice picture and the invoice picture to be verified is greater than the distance between the other invoice pictures in the multi-view database and the genuine invoice to be verified Euclidean distance
向所述多视角图像数据库发送查询请求,所述查询请求用于请求所述多视角图像数据库查询所述参考发票图片的参考发票类型;Sending a query request to the multi-view image database, where the query request is used to request the multi-view image database to query the reference invoice type of the reference invoice picture;
接收所述多视角图像数据库返回的参考发票类型;Receiving the reference invoice type returned by the multi-view image database;
将所述参考发票类型确定为所述待验真发票图片的发票类型。The reference invoice type is determined as the invoice type of the genuine invoice picture to be verified.
判断模块202;用于判断所述发票类型是否为预设发票类型。Judging module 202; used to determine whether the invoice type is a preset invoice type.
第一提取模块204,用于如果所述发票类型为预设发票类型,提取所述待验真发票图 片中的多个文字数据和图片数据。The first extraction module 204 is configured to extract multiple text data and image data in the picture of the genuine invoice to be verified if the invoice type is a preset invoice type.
第一验真模块206,用于根据所述多个文字数据和图片数据对所述待验真发票图片执行第一验真操作,以生成第一验真结果。The first authenticity verification module 206 is configured to perform a first authenticity verification operation on the authentic invoice image to be verified according to the multiple text data and image data to generate a first authenticity verification result.
进一步地,所述第一验真模块206还用于:Further, the first authenticity verification module 206 is also used for:
从所述多个图片数据中提取出发票监制章图片数据、销售方发票专用章图片数据和二维码图片数据;Extracting the picture data of the invoice supervisor chapter picture data, the picture data of the seller's invoice special chapter picture data and the two-dimensional code picture data from the plurality of picture data;
解析所述二维码图片数据以得到多个第一字段数据,将所述多个第一字段数据与所述多个文字数据中的多个文字字段数据进行匹配,以生成文字匹配结果数据;Parsing the two-dimensional code image data to obtain a plurality of first field data, and matching the plurality of first field data with a plurality of text field data in the plurality of text data to generate text matching result data;
解析所述发票监制章图片数据以得到多个第二字段数据,将所述多个第二字段数据与基于全国统一发票监制章预先配置的多个监制章字段进行匹配,以生成监制章匹配结果数据;Parse the picture data of the invoice production supervision chapter to obtain multiple second field data, and match the multiple second field data with multiple production supervision chapter fields pre-configured based on the national unified invoice production supervision chapter to generate a production supervision chapter matching result data;
解析销售方发票专用章图片数据以得到多个第三字段数据,将所述多个第三字段与预配置的发票专用章数据库的各个图片中的多个发票专用章字段数据进行匹配,以生成发票专用章匹配结果数据;Analyze the picture data of the special invoice chapter of the seller to obtain a plurality of third field data, and match the plurality of third fields with the plurality of invoice special chapter field data in each picture of the pre-configured invoice special chapter database to generate Invoice special stamp matching result data;
如果所述文字匹配结果数据、监制章匹配结果数据及发票专用章匹配结果数据均表示匹配一致,则生成第一验真结果,所述第一验真结果为所述待验真图片为合规图片;If the text matching result data, the production supervision chapter matching result data, and the invoice special chapter matching result data all indicate that the matching is consistent, a first verification result is generated, and the first verification result is that the true picture to be verified is compliant image;
如果所述文字匹配结果数据、监制章匹配结果数据及发票专用章匹配结果数据中任一匹配结果数据表示匹配不一致,则生成第一验真结果,所述第一验真结果为所述待验真图片为非合规图片。If any one of the text matching result data, the production supervision chapter matching result data, and the invoice special chapter matching result data indicates that the matching is inconsistent, a first verification result is generated, and the first verification result is the pending verification The real picture is a non-compliant picture.
第二提取模块208,用于如果所述第一验真结果为所述待验真发票图片为合规图片,则从所述多个文字数据和图片数据提取发票基础数据。The second extraction module 208 is configured to extract basic invoice data from the plurality of text data and image data if the first verification result is that the original invoice picture to be verified is a compliant picture.
第二验真模块210,用于根据所述发票基础数据执行第二验真操作,以生成验真结论表单。The second authenticity verification module 210 is configured to perform a second authenticity verification operation according to the basic invoice data to generate a verification conclusion form.
进一步地,所述第二验真模块210还用于:Further, the second authenticity verification module 210 is also used for:
将发票基础数据和关联数据查询指令发送至电子发票验真系统,所述关联数据查询指令用于请求所述电子发票验真系统基于所述待验真发票图片查询的多个关联数据;Sending basic invoice data and related data query instructions to the electronic invoice verification system, where the related data query instructions are used to request the electronic invoice verification system to query multiple related data based on the image of the invoice to be verified;
接收所述电子发票验真系统返回的多个关联数据;Receiving multiple associated data returned by the electronic invoice verification system;
从所述多个关联数据中提取多个查验参数;Extracting multiple inspection parameters from the multiple associated data;
接收所述发票基础数据与多个查验参数的最终比对结果,以生成验真结论表单。The final comparison result of the basic invoice data and the multiple inspection parameters is received to generate a verification conclusion form.
显示模块212,用于发送所述验真结论表单至所述客户端,以通过所述客户端将所述验真结论表单显示在所述客户端相应的显示界面上。The display module 212 is configured to send the verification conclusion form to the client, so as to display the verification conclusion form on the corresponding display interface of the client through the client.
可选的,所述发票图片识别及验真系统20还包括:Optionally, the invoice picture recognition and authenticity verification system 20 further includes:
获取模块214,用于向电子发票验真系统发送获取请求,所述获取请求用于获取所述电子发票验真系统的验证码图片数据;The obtaining module 214 is configured to send an obtaining request to the electronic invoice verification system, where the obtaining request is used to obtain the verification code image data of the electronic invoice verification system;
分析所述验证码图片数据,以提取所述验证码信息;Analyzing the verification code image data to extract the verification code information;
通过所述验证码信息获取对接接口,所述对接接口用于发送发票基础数据至所述电子 发票验真系统。The docking interface is obtained through the verification code information, and the docking interface is used to send basic data of the invoice to the electronic invoice verification system.
实施例三Example three
参阅图8,是本申请实施例三之计算机设备的硬件架构示意图。本实施例中,所述计算机设备2是一种能够按照事先设定或者存储的指令,自动进行数值计算和/或信息处理的设备。该计算机设备2可以是机架式服务器、刀片式服务器、塔式服务器或机柜式服务器(包括独立的服务器,或者多个服务器所组成的服务器集群)等。如图8所示,所述计算机设备2至少包括,但不限于,可通过系统总线相互通信连接存储器21、处理器22、网络接口23、以及发票图片识别及验真系统20。其中:Refer to FIG. 8, which is a schematic diagram of the hardware architecture of the computer device according to the third embodiment of the present application. In this embodiment, the computer device 2 is a device that can automatically perform numerical calculation and/or information processing in accordance with pre-set or stored instructions. The computer device 2 may be a rack server, a blade server, a tower server, or a cabinet server (including an independent server or a server cluster composed of multiple servers). As shown in FIG. 8, the computer device 2 at least includes, but is not limited to, a memory 21, a processor 22, a network interface 23, and an invoice picture recognition and authenticity system 20 that can communicate with each other through a system bus. among them:
本实施例中,存储器21至少包括一种类型的计算机可读存储介质,所述可读存储介质包括闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘等。在一些实施例中,存储器21可以是计算机设备2的内部存储单元,例如该计算机设备2的硬盘或内存。在另一些实施例中,存储器21也可以是计算机设备2的外部存储设备,例如该计算机设备2上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。当然,存储器21还可以既包括计算机设备2的内部存储单元也包括其外部存储设备。本实施例中,存储器21通常用于存储安装于计算机设备2的操作系统和各类应用软件,例如实施例三的发票图片识别及验真系统20的程序代码等。此外,存储器21还可以用于暂时地存储已经输出或者将要输出的各类数据。In this embodiment, the memory 21 includes at least one type of computer-readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory ( RAM), static random access memory (SRAM), read only memory (ROM), electrically erasable programmable read only memory (EEPROM), programmable read only memory (PROM), magnetic memory, magnetic disks, optical disks, etc. In some embodiments, the memory 21 may be an internal storage unit of the computer device 2, for example, a hard disk or a memory of the computer device 2. In other embodiments, the memory 21 may also be an external storage device of the computer device 2, such as a plug-in hard disk, a smart media card (SMC), and a secure digital (Secure Digital, SMC) equipped on the computer device 2. SD) card, flash card (Flash Card), etc. Of course, the memory 21 may also include both the internal storage unit of the computer device 2 and its external storage device. In this embodiment, the memory 21 is generally used to store the operating system and various application software installed in the computer device 2, such as the program code of the invoice picture recognition and verification system 20 in the third embodiment. In addition, the memory 21 can also be used to temporarily store various types of data that have been output or will be output.
处理器22在一些实施例中可以是中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器、或其他数据处理芯片。该处理器22通常用于控制计算机设备2的总体操作。本实施例中,处理器22用于运行存储器21中存储的程序代码或者处理数据,例如运行发票图片识别及验真系统20,以实现实施例一的发票图片识别及验真方法。The processor 22 may be a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 22 is generally used to control the overall operation of the computer device 2. In this embodiment, the processor 22 is used to run the program code or processing data stored in the memory 21, for example, to run the invoice picture recognition and authenticity system 20 to implement the invoice picture recognition and authenticity method of the first embodiment.
所述网络接口23可包括无线网络接口或有线网络接口,该网络接口23通常用于在所述计算机设备2与其他电子装置之间建立通信连接。例如,所述网络接口23用于通过网络将所述计算机设备2与外部终端相连,在所述计算机设备2与外部终端之间的建立数据传输通道和通信连接等。所述网络可以是企业内部网(Intranet)、互联网(Internet)、全球移动通讯系统(Global System of Mobile communication,GSM)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、4G网络、5G网络、蓝牙(Bluetooth)、Wi-Fi等无线或有线网络。The network interface 23 may include a wireless network interface or a wired network interface, and the network interface 23 is generally used to establish a communication connection between the computer device 2 and other electronic devices. For example, the network interface 23 is used to connect the computer device 2 with an external terminal through a network, and establish a data transmission channel and a communication connection between the computer device 2 and the external terminal. The network may be Intranet, Internet, Global System of Mobile Communication (GSM), Wideband Code Division Multiple Access (WCDMA), 4G network, 5G Network, Bluetooth (Bluetooth), Wi-Fi and other wireless or wired networks.
需要指出的是,图8仅示出了具有部件20-23的计算机设备2,但是应理解的是,并不要求实施所有示出的部件,可以替代的实施更多或者更少的部件。It should be pointed out that FIG. 8 only shows the computer device 2 with components 20-23, but it should be understood that it is not required to implement all the components shown, and more or fewer components may be implemented instead.
在本实施例中,存储于存储器21中的所述发票图片识别及验真系统20还可以被分割为一个或者多个程序模块,所述一个或者多个程序模块被存储于存储器21中,并由一个或多个处理器(本实施例为处理器22)所执行,以完成本申请。In this embodiment, the invoice picture recognition and verification system 20 stored in the memory 21 can also be divided into one or more program modules, and the one or more program modules are stored in the memory 21, and It is executed by one or more processors (the processor 22 in this embodiment) to complete the application.
例如,图7示出了所述实现发票图片识别及验真系统20实施例二的程序模块示意图, 该实施例中,所述基于发票图片识别及验真系统20可以被划分为接收模块200、判断模块202、第一提取模块204、第一验真模块206、第二提取模块208、第二验真模块210及显示模块212。其中,本申请所称的程序模块是指能够完成特定功能的一系列计算机程序指令段,比程序更适合于描述所述发票图片识别及验真系统20在所述计算机设备2中的执行过程。所述程序模块200-212的具体功能在实施例二中已有详细描述,在此不再赘述。For example, FIG. 7 shows a schematic diagram of the program modules of the second embodiment of the system for recognizing and verifying invoice pictures 20. In this embodiment, the system for recognizing and authenticating invoice pictures based on 20 can be divided into receiving modules 200, The judgment module 202, the first extraction module 204, the first authentication module 206, the second extraction module 208, the second authentication module 210, and the display module 212. Among them, the program module referred to in this application refers to a series of computer program instruction segments that can complete specific functions, and is more suitable than a program to describe the execution process of the invoice picture recognition and verification system 20 in the computer device 2. The specific functions of the program modules 200-212 have been described in detail in the second embodiment, and will not be repeated here.
实施例四Example four
本实施例还提供一种计算机可读存储介质,如闪存、硬盘、多媒体卡、卡型存储器(例如,SD或DX存储器等)、随机访问存储器(RAM)、静态随机访问存储器(SRAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、可编程只读存储器(PROM)、磁性存储器、磁盘、光盘、服务器、App应用商城等等,其上存储有计算机程序,程序被处理器执行时实现相应功能。本实施例的计算机可读存储介质用于存储发票图片识别及验真系统20,被处理器执行时实现实施例一的发票图片识别及验真方法。所述计算机可读存储介质可以是非易失性,也可以是易失性。This embodiment also provides a computer-readable storage medium, such as flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), only Readable memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disks, optical disks, servers, App application malls, etc., on which computer programs are stored, The corresponding function is realized when the program is executed by the processor. The computer-readable storage medium of this embodiment is used to store the invoice image recognition and authenticity system 20, and when executed by the processor, the invoice image recognition and authenticity method of the first embodiment is implemented. The computer-readable storage medium may be non-volatile or volatile.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the foregoing embodiments of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only the preferred embodiments of the application, and do not limit the scope of the patent for this application. Any equivalent structure or equivalent process transformation made using the content of the description and drawings of the application, or directly or indirectly applied to other related technical fields , The same reason is included in the scope of patent protection of this application.

Claims (20)

  1. 一种发票图片识别及验真方法,其中,包括:An invoice picture recognition and authenticity method, which includes:
    接收用户通过客户端提供的待验真发票图片,并识别所述待验真发票图片的发票类型;Receiving the genuine invoice picture to be verified provided by the user through the client, and identifying the invoice type of the genuine invoice picture to be verified;
    判断所述发票类型是否为预设发票类型;Determine whether the invoice type is a preset invoice type;
    如果所述发票类型为预设发票类型,提取所述待验真发票图片中的多个文字数据和图片数据;If the invoice type is a preset invoice type, extract multiple text data and image data in the original invoice picture to be verified;
    根据所述多个文字数据和图片数据对所述待验真发票图片执行第一验真操作,以生成第一验真结果;Performing a first authenticity verification operation on the authentic invoice picture to be verified according to the plurality of text data and image data to generate a first authenticity verification result;
    如果所述第一验真结果为所述待验真发票图片为合规图片,则从所述多个文字数据和图片数据提取发票基础数据;If the first verification result is that the true invoice picture to be verified is a compliant picture, extract basic invoice data from the multiple text data and picture data;
    根据所述发票基础数据执行第二验真操作,以生成验真结论表单;Perform a second verification operation according to the basic invoice data to generate a verification conclusion form;
    发送所述验真结论表单至所述客户端,以通过所述客户端将所述验真结论表单显示在所述客户端相应的显示界面上。The verification conclusion form is sent to the client, so that the verification conclusion form is displayed on the corresponding display interface of the client through the client.
  2. 根据权利要求1所述的发票图片识别及验真方法,其中,接收用户通过客户端提供的待验真发票图片,并识别所述待验真发票图片的发票类型的步骤,还包括:The method for recognizing and authenticating an invoice picture according to claim 1, wherein the step of receiving the authentic invoice picture provided by the user through the client, and identifying the invoice type of the authentic invoice picture, further comprises:
    通过深度残差网络模型从所述待验真发票图片中提取多个卷积特征;Extracting multiple convolutional features from the true invoice picture to be verified through a deep residual network model;
    对所述多个卷积特征进行降维处理,以得到多个低维特征;Performing dimensionality reduction processing on the multiple convolution features to obtain multiple low-dimensional features;
    计算所述多个低维特征与预配置的多视角图像数据库中各图片的特征的欧式距离;Calculating the Euclidean distance between the multiple low-dimensional features and the feature of each picture in the pre-configured multi-view image database;
    选择所述多视角图像数据库中的参考发票图片,所述参考发票图片与所述待验证发票图片之间的欧式距离大于所述多视角数据库中其他发票图片与所述待验真发票之间的欧式距离;Select the reference invoice picture in the multi-view image database, and the Euclidean distance between the reference invoice picture and the invoice picture to be verified is greater than the distance between the other invoice pictures in the multi-view database and the genuine invoice to be verified Euclidean distance
    向所述多视角图像数据库发送查询请求,所述查询请求用于请求所述多视角图像数据库查询所述参考发票图片的参考发票类型;Sending a query request to the multi-view image database, where the query request is used to request the multi-view image database to query the reference invoice type of the reference invoice picture;
    接收所述多视角图像数据库返回的参考发票类型;Receiving the reference invoice type returned by the multi-view image database;
    将所述参考发票类型确定为所述待验真发票图片的发票类型。The reference invoice type is determined as the invoice type of the genuine invoice picture to be verified.
  3. 根据权利要求2所述的发票图片识别及验真方法,其中,通过深度残差网络模型从所述待验真发票图片中提取多个卷积特征的步骤,还包括:The method for recognizing and authenticating an invoice picture according to claim 2, wherein the step of extracting a plurality of convolutional features from the authentic invoice picture to be verified through a deep residual network model further comprises:
    将所述待验真发票图片输入至输入层中;Input the picture of the true invoice to be verified into the input layer;
    初始卷积层对输入层中的所述待验真发票图片进行卷积操作,以得到多个卷积特征图;The initial convolution layer performs a convolution operation on the true invoice picture to be verified in the input layer to obtain multiple convolution feature maps;
    通过多个残差模块提取所述多个卷积特征图中的多个卷积特征;Extracting multiple convolution features in the multiple convolution feature maps through multiple residual modules;
    多个卷积特征输入至全连接层中进行分类;Multiple convolutional features are input to the fully connected layer for classification;
    通过输出层输出分类后的多个卷积特征。The multiple convolutional features after classification are output through the output layer.
  4. 根据权利要求3所述的发票图片识别及验真方法,其中,对所述多个卷积特征进行降维处理,以得到多个低维特征的步骤,还包括:The method for recognizing and authenticating an invoice picture according to claim 3, wherein the step of performing dimensionality reduction processing on the plurality of convolutional features to obtain a plurality of low-dimensional features further comprises:
    将多个卷积特征组成128维特征向量矩阵,一个卷积特征表示为一个128维特征向量;Multiple convolution features are formed into a 128-dimensional feature vector matrix, and one convolution feature is represented as a 128-dimensional feature vector;
    计算128维特征向量矩阵的协方差矩阵;Calculate the covariance matrix of the 128-dimensional eigenvector matrix;
    对所述协方差矩阵进行特征值的分解,根据特征值大小选择64个特征值对应的特征向量组成投影矩阵;Decompose the eigenvalues of the covariance matrix, and select eigenvectors corresponding to 64 eigenvalues to form a projection matrix according to the size of the eigenvalues;
    将所述128维特征向量矩阵向投影矩阵进行投影,以得到64维特征向量矩阵,所述64维特征向量矩阵包括多个低维特征,一个低维特征表示为一个64维特征向量。The 128-dimensional feature vector matrix is projected to the projection matrix to obtain a 64-dimensional feature vector matrix. The 64-dimensional feature vector matrix includes a plurality of low-dimensional features, and one low-dimensional feature is represented as a 64-dimensional feature vector.
  5. 根据权利要求1所述的发票图片识别及验真方法,其中,根据所述多个文字数据和图片数据对所述待验真发票图片执行第一验真操作,以生成第一验真结果的步骤,还包括:The method for recognizing and authenticating an invoice picture according to claim 1, wherein a first authenticating operation is performed on the invoice picture to be authenticated according to the plurality of text data and picture data to generate a first authenticating result. Steps also include:
    从所述多个图片数据中提取出发票监制章图片数据、销售方发票专用章图片数据和二维码图片数据;Extracting the picture data of the invoice supervisor chapter picture data, the picture data of the seller's invoice special chapter picture data and the two-dimensional code picture data from the plurality of picture data;
    解析所述二维码图片数据以得到多个第一字段数据,将所述多个第一字段数据与所述多个文字数据中的多个文字字段数据进行匹配,以生成文字匹配结果数据;Parsing the two-dimensional code image data to obtain a plurality of first field data, and matching the plurality of first field data with a plurality of text field data in the plurality of text data to generate text matching result data;
    解析所述发票监制章图片数据以得到多个第二字段数据,将所述多个第二字段数据与基于全国统一发票监制章预先配置的多个监制章字段进行匹配,以生成监制章匹配结果数据;Parse the picture data of the invoice production supervision chapter to obtain multiple second field data, and match the multiple second field data with multiple production supervision chapter fields pre-configured based on the national unified invoice production supervision chapter to generate a production supervision chapter matching result data;
    解析销售方发票专用章图片数据以得到多个第三字段数据,将所述多个第三字段与预配置的发票专用章数据库的各个图片中的多个发票专用章字段数据进行匹配,以生成发票专用章匹配结果数据;Analyze the picture data of the special invoice chapter of the seller to obtain a plurality of third field data, and match the plurality of third fields with the plurality of invoice special chapter field data in each picture of the pre-configured invoice special chapter database to generate Invoice special stamp matching result data;
    如果所述文字匹配结果数据、监制章匹配结果数据及发票专用章匹配结果数据均表示匹配一致,则所述第一验真结果为所述待验真图片为合规图片;If the text matching result data, the production supervision chapter matching result data, and the invoice special chapter matching result data all indicate that the matching is consistent, the first verification result is that the true picture to be verified is a compliant picture;
    如果所述文字匹配结果数据、监制章匹配结果数据及发票专用章匹配结果数据中任一匹配结果数据表示匹配不一致,则所述第一验真结果为所述待验真图片为非合规图片。If any one of the text matching result data, the production supervision chapter matching result data, and the invoice special chapter matching result data indicates that the matching is inconsistent, the first verification result is that the true picture to be verified is a non-compliant picture .
  6. 根据权利要求1所述的发票图片识别及验真方法,其中,根据所述发票基础数据执行第二验真操作的步骤之前,还包括:The method for recognizing and authenticating an invoice picture according to claim 1, wherein before the step of performing the second authenticating operation according to the basic data of the invoice, the method further comprises:
    向电子发票验真系统发送获取请求,所述获取请求用于获取所述电子发票验真系统的验证码图片数据;Sending an acquisition request to the electronic invoice verification system, where the acquisition request is used to acquire the verification code image data of the electronic invoice verification system;
    分析所述验证码图片数据,以提取所述验证码信息;Analyzing the verification code image data to extract the verification code information;
    通过所述验证码信息获取对接接口,所述对接接口用于发送所述发票基础数据至所述电子发票验真系统。The docking interface is obtained through the verification code information, and the docking interface is used to send the basic data of the invoice to the electronic invoice verification system.
  7. 根据权利要求1所述的发票图片识别及验真方法,其中,根据所述发票基础数据执行第二验真操作,以生成验真结论表单的步骤,还包括:The method for identifying and authenticating an invoice picture according to claim 1, wherein the step of performing a second authenticity verification operation according to the basic data of the invoice to generate an authenticity verification conclusion form further comprises:
    将发票基础数据和关联数据查询指令发送至电子发票验真系统,所述关联数据查询指令用于请求所述电子发票验真系统基于所述待验真发票图片查询的多个关联数据;Sending basic invoice data and related data query instructions to the electronic invoice verification system, where the related data query instructions are used to request the electronic invoice verification system to query multiple related data based on the image of the invoice to be verified;
    接收所述电子发票验真系统返回的多个关联数据;Receiving multiple associated data returned by the electronic invoice verification system;
    从所述多个关联数据中提取多个查验参数;Extracting multiple inspection parameters from the multiple associated data;
    接收所述发票基础数据与多个查验参数的最终比对结果,以生成验真结论表单。The final comparison result of the basic invoice data and the multiple inspection parameters is received to generate a verification conclusion form.
  8. 一种计算机设备,所述计算机设备包括存储器、处理器以及存储在所述存储器上并可在所述处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现如下步骤:A computer device, the computer device includes a memory, a processor, and a computer program stored on the memory and running on the processor, wherein the processor implements the following steps when the processor executes the computer program:
    接收用户通过客户端提供的待验真发票图片,并识别所述待验真发票图片的发票类型;Receiving the genuine invoice picture to be verified provided by the user through the client, and identifying the invoice type of the genuine invoice picture to be verified;
    判断所述发票类型是否为预设发票类型;Determine whether the invoice type is a preset invoice type;
    如果所述发票类型为预设发票类型,提取所述待验真发票图片中的多个文字数据和图片数据;If the invoice type is a preset invoice type, extract multiple text data and image data in the original invoice picture to be verified;
    根据所述多个文字数据和图片数据对所述待验真发票图片执行第一验真操作,以生成第一验真结果;Performing a first authenticity verification operation on the authentic invoice picture to be verified according to the plurality of text data and image data to generate a first authenticity verification result;
    如果所述第一验真结果为所述待验真发票图片为合规图片,则从所述多个文字数据和图片数据提取发票基础数据;If the first verification result is that the true invoice picture to be verified is a compliant picture, extract basic invoice data from the multiple text data and picture data;
    根据所述发票基础数据执行第二验真操作,以生成验真结论表单;Perform a second verification operation according to the basic invoice data to generate a verification conclusion form;
    发送所述验真结论表单至所述客户端,以通过所述客户端将所述验真结论表单显示在所述客户端相应的显示界面上。The verification conclusion form is sent to the client, so that the verification conclusion form is displayed on the corresponding display interface of the client through the client.
  9. 根据权利要求8所述的计算机设备,其中,接收用户通过客户端提供的待验真发票图片,并识别所述待验真发票图片的发票类型的步骤,所述处理器还执行所述计算机程序实现:8. The computer device according to claim 8, wherein, in the step of receiving a genuine invoice picture to be verified provided by the user through the client, and identifying the invoice type of the genuine invoice picture to be verified, the processor further executes the computer program achieve:
    通过深度残差网络模型从所述待验真发票图片中提取多个卷积特征;Extracting multiple convolutional features from the true invoice picture to be verified through a deep residual network model;
    对所述多个卷积特征进行降维处理,以得到多个低维特征;Performing dimensionality reduction processing on the multiple convolution features to obtain multiple low-dimensional features;
    计算所述多个低维特征与预配置的多视角图像数据库中各图片的特征的欧式距离;Calculating the Euclidean distance between the multiple low-dimensional features and the feature of each picture in the pre-configured multi-view image database;
    选择所述多视角图像数据库中的参考发票图片,所述参考发票图片与所述待验证发票 图片之间的欧式距离大于所述多视角数据库中其他发票图片与所述待验真发票之间的欧式距离;Select the reference invoice picture in the multi-view image database, and the Euclidean distance between the reference invoice picture and the invoice picture to be verified is greater than the distance between the other invoice pictures in the multi-view database and the genuine invoice to be verified Euclidean distance
    向所述多视角图像数据库发送查询请求,所述查询请求用于请求所述多视角图像数据库查询所述参考发票图片的参考发票类型;Sending a query request to the multi-view image database, where the query request is used to request the multi-view image database to query the reference invoice type of the reference invoice picture;
    接收所述多视角图像数据库返回的参考发票类型;Receiving the reference invoice type returned by the multi-view image database;
    将所述参考发票类型确定为所述待验真发票图片的发票类型。The reference invoice type is determined as the invoice type of the genuine invoice picture to be verified.
  10. 根据权利要求9所述的计算机设备,其中,通过深度残差网络模型从所述待验真发票图片中提取多个卷积特征的步骤,所述处理器还执行所述计算机程序实现:9. The computer device according to claim 9, wherein, in the step of extracting multiple convolution features from the authentic invoice picture to be verified through a deep residual network model, the processor further executes the computer program to realize:
    将所述待验真发票图片输入至输入层中;Input the picture of the true invoice to be verified into the input layer;
    初始卷积层对输入层中的所述待验真发票图片进行卷积操作,以得到多个卷积特征图;The initial convolution layer performs a convolution operation on the true invoice picture to be verified in the input layer to obtain multiple convolution feature maps;
    通过多个残差模块提取所述多个卷积特征图中的多个卷积特征;Extracting multiple convolution features in the multiple convolution feature maps through multiple residual modules;
    多个卷积特征输入至全连接层中进行分类;Multiple convolutional features are input to the fully connected layer for classification;
    通过输出层输出分类后的多个卷积特征。The multiple convolutional features after classification are output through the output layer.
  11. 根据权利要求10所述的计算机设备,其中,对所述多个卷积特征进行降维处理,以得到多个低维特征的步骤,所述处理器还执行所述计算机程序实现:The computer device according to claim 10, wherein, in the step of performing dimensionality reduction processing on the plurality of convolutional features to obtain a plurality of low-dimensional features, the processor further executes the computer program to realize:
    将多个卷积特征组成128维特征向量矩阵,一个卷积特征表示为一个128维特征向量;Multiple convolution features are formed into a 128-dimensional feature vector matrix, and one convolution feature is represented as a 128-dimensional feature vector;
    计算128维特征向量矩阵的协方差矩阵;Calculate the covariance matrix of the 128-dimensional eigenvector matrix;
    对所述协方差矩阵进行特征值的分解,根据特征值大小选择64个特征值对应的特征向量组成投影矩阵;Decompose the eigenvalues of the covariance matrix, and select eigenvectors corresponding to 64 eigenvalues to form a projection matrix according to the size of the eigenvalues;
    将所述128维特征向量矩阵向投影矩阵进行投影,以得到64维特征向量矩阵,所述64维特征向量矩阵包括多个低维特征,一个低维特征表示为一个64维特征向量。The 128-dimensional feature vector matrix is projected to the projection matrix to obtain a 64-dimensional feature vector matrix. The 64-dimensional feature vector matrix includes a plurality of low-dimensional features, and one low-dimensional feature is represented as a 64-dimensional feature vector.
  12. 根据权利要求8所述的计算机设备,其中,根据所述多个文字数据和图片数据对所述待验真发票图片执行第一验真操作,以生成第一验真结果的步骤,所述处理器还执行所述计算机程序实现:8. The computer device according to claim 8, wherein the step of performing a first verification operation on the to-be-verified invoice picture according to the plurality of text data and image data to generate a first verification result, the processing The device also executes the computer program to realize:
    从所述多个图片数据中提取出发票监制章图片数据、销售方发票专用章图片数据和二维码图片数据;Extracting the picture data of the invoice supervisor chapter picture data, the picture data of the seller's invoice special chapter picture data and the two-dimensional code picture data from the plurality of picture data;
    解析所述二维码图片数据以得到多个第一字段数据,将所述多个第一字段数据与所述多个文字数据中的多个文字字段数据进行匹配,以生成文字匹配结果数据;Parsing the two-dimensional code image data to obtain a plurality of first field data, and matching the plurality of first field data with a plurality of text field data in the plurality of text data to generate text matching result data;
    解析所述发票监制章图片数据以得到多个第二字段数据,将所述多个第二字段数据与基于全国统一发票监制章预先配置的多个监制章字段进行匹配,以生成监制章匹配结果数据;Parse the picture data of the invoice production supervision chapter to obtain multiple second field data, and match the multiple second field data with multiple production supervision chapter fields pre-configured based on the national unified invoice production supervision chapter to generate a production supervision chapter matching result data;
    解析销售方发票专用章图片数据以得到多个第三字段数据,将所述多个第三字段与预配置的发票专用章数据库的各个图片中的多个发票专用章字段数据进行匹配,以生成发票专用章匹配结果数据;Analyze the picture data of the special invoice chapter of the seller to obtain a plurality of third field data, and match the plurality of third fields with the plurality of invoice special chapter field data in each picture of the pre-configured invoice special chapter database to generate Invoice special stamp matching result data;
    如果所述文字匹配结果数据、监制章匹配结果数据及发票专用章匹配结果数据均表示匹配一致,则所述第一验真结果为所述待验真图片为合规图片;If the text matching result data, the production supervision chapter matching result data, and the invoice special chapter matching result data all indicate that the matching is consistent, the first verification result is that the true picture to be verified is a compliant picture;
    如果所述文字匹配结果数据、监制章匹配结果数据及发票专用章匹配结果数据中任一匹配结果数据表示匹配不一致,则所述第一验真结果为所述待验真图片为非合规图片。If any one of the text matching result data, the production supervision chapter matching result data, and the invoice special chapter matching result data indicates that the matching is inconsistent, the first verification result is that the true picture to be verified is a non-compliant picture .
  13. 根据权利要求8所述的计算机设备,其中,根据所述发票基础数据执行第二验真操作的步骤之前,所述处理器还执行所述计算机程序实现:8. The computer device according to claim 8, wherein, before the step of performing the second verification operation according to the basic data of the invoice, the processor further executes the computer program to realize:
    向电子发票验真系统发送获取请求,所述获取请求用于获取所述电子发票验真系统的验证码图片数据;Sending an acquisition request to the electronic invoice verification system, where the acquisition request is used to acquire the verification code image data of the electronic invoice verification system;
    分析所述验证码图片数据,以提取所述验证码信息;Analyzing the verification code image data to extract the verification code information;
    通过所述验证码信息获取对接接口,所述对接接口用于发送所述发票基础数据至所述电子发票验真系统。The docking interface is obtained through the verification code information, and the docking interface is used to send the basic data of the invoice to the electronic invoice verification system.
  14. 根据权利要求8所述的计算机设备,其中,根据所述发票基础数据执行第二验真操作,以生成验真结论表单的步骤,所述处理器还执行所述计算机程序实现:8. The computer device according to claim 8, wherein, in the step of performing a second verification operation according to the basic data of the invoice to generate a verification conclusion form, the processor further executes the computer program to realize:
    将发票基础数据和关联数据查询指令发送至电子发票验真系统,所述关联数据查询指令用于请求所述电子发票验真系统基于所述待验真发票图片查询的多个关联数据;Sending basic invoice data and related data query instructions to the electronic invoice verification system, where the related data query instructions are used to request the electronic invoice verification system to query multiple related data based on the image of the invoice to be verified;
    接收所述电子发票验真系统返回的多个关联数据;Receiving multiple associated data returned by the electronic invoice verification system;
    从所述多个关联数据中提取多个查验参数;Extracting multiple inspection parameters from the multiple associated data;
    接收所述发票基础数据与多个查验参数的最终比对结果,以生成验真结论表单。The final comparison result of the basic invoice data and the multiple inspection parameters is received to generate a verification conclusion form.
  15. 一种计算机可读存储介质,其中,所述计算机可读存储介质内存储有计算机程序,所述计算机程序可被至少一个处理器所执行,以使所述至少一个处理器执行如下步骤:A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and the computer program can be executed by at least one processor, so that the at least one processor executes the following steps:
    接收用户通过客户端提供的待验真发票图片,并识别所述待验真发票图片的发票类型;Receiving the genuine invoice picture to be verified provided by the user through the client, and identifying the invoice type of the genuine invoice picture to be verified;
    判断所述发票类型是否为预设发票类型;Determine whether the invoice type is a preset invoice type;
    如果所述发票类型为预设发票类型,提取所述待验真发票图片中的多个文字数据和图片数据;If the invoice type is a preset invoice type, extract multiple text data and image data in the original invoice picture to be verified;
    根据所述多个文字数据和图片数据对所述待验真发票图片执行第一验真操作,以生成第一验真结果;Performing a first authenticity verification operation on the authentic invoice picture to be verified according to the plurality of text data and image data to generate a first authenticity verification result;
    如果所述第一验真结果为所述待验真发票图片为合规图片,则从所述多个文字数据和图片数据提取发票基础数据;If the first verification result is that the true invoice picture to be verified is a compliant picture, extract basic invoice data from the multiple text data and picture data;
    根据所述发票基础数据执行第二验真操作,以生成验真结论表单;Perform a second verification operation according to the basic invoice data to generate a verification conclusion form;
    发送所述验真结论表单至所述客户端,以通过所述客户端将所述验真结论表单显示在所述客户端相应的显示界面上。The verification conclusion form is sent to the client, so that the verification conclusion form is displayed on the corresponding display interface of the client through the client.
  16. 根据权利要求15所述的计算机可读存储介质,其中,接收用户通过客户端提供的待验真发票图片,并识别所述待验真发票图片的发票类型的步骤,所述计算机程序还被所述至少一个处理器所执行实现:The computer-readable storage medium according to claim 15, wherein, in the step of receiving a genuine invoice picture to be verified provided by the user through the client, and identifying the invoice type of the genuine invoice picture to be verified, the computer program is also The implementation performed by at least one processor:
    通过深度残差网络模型从所述待验真发票图片中提取多个卷积特征;Extracting multiple convolutional features from the true invoice picture to be verified through a deep residual network model;
    对所述多个卷积特征进行降维处理,以得到多个低维特征;Performing dimensionality reduction processing on the multiple convolution features to obtain multiple low-dimensional features;
    计算所述多个低维特征与预配置的多视角图像数据库中各图片的特征的欧式距离;Calculating the Euclidean distance between the multiple low-dimensional features and the feature of each picture in the pre-configured multi-view image database;
    选择所述多视角图像数据库中的参考发票图片,所述参考发票图片与所述待验证发票图片之间的欧式距离大于所述多视角数据库中其他发票图片与所述待验真发票之间的欧式距离;Select the reference invoice picture in the multi-view image database, and the Euclidean distance between the reference invoice picture and the invoice picture to be verified is greater than the distance between the other invoice pictures in the multi-view database and the genuine invoice to be verified Euclidean distance
    向所述多视角图像数据库发送查询请求,所述查询请求用于请求所述多视角图像数据库查询所述参考发票图片的参考发票类型;Sending a query request to the multi-view image database, where the query request is used to request the multi-view image database to query the reference invoice type of the reference invoice picture;
    接收所述多视角图像数据库返回的参考发票类型;Receiving the reference invoice type returned by the multi-view image database;
    将所述参考发票类型确定为所述待验真发票图片的发票类型。The reference invoice type is determined as the invoice type of the genuine invoice picture to be verified.
  17. 根据权利要求16所述的计算机可读存储介质,其中,通过深度残差网络模型从所述待验真发票图片中提取多个卷积特征的步骤,所述计算机程序还被所述至少一个处理器所执行实现:The computer-readable storage medium according to claim 16, wherein the step of extracting a plurality of convolutional features from the authentic invoice image to be verified through a deep residual network model, the computer program is also processed by the at least one Implemented by the device:
    将所述待验真发票图片输入至输入层中;Input the picture of the true invoice to be verified into the input layer;
    初始卷积层对输入层中的所述待验真发票图片进行卷积操作,以得到多个卷积特征图;The initial convolution layer performs a convolution operation on the true invoice picture to be verified in the input layer to obtain multiple convolution feature maps;
    通过多个残差模块提取所述多个卷积特征图中的多个卷积特征;Extracting multiple convolution features in the multiple convolution feature maps through multiple residual modules;
    多个卷积特征输入至全连接层中进行分类;Multiple convolutional features are input to the fully connected layer for classification;
    通过输出层输出分类后的多个卷积特征。The multiple convolutional features after classification are output through the output layer.
  18. 根据权利要求17所述的计算机可读存储介质,其中,对所述多个卷积特征进行降维处理,以得到多个低维特征的步骤,所述计算机程序还被所述至少一个处理器所执行实现:The computer-readable storage medium according to claim 17, wherein, in the step of performing dimensionality reduction processing on the plurality of convolution features to obtain a plurality of low-dimensional features, the computer program is further executed by the at least one processor Implementation implemented:
    将多个卷积特征组成128维特征向量矩阵,一个卷积特征表示为一个128维特征向量;Multiple convolution features are formed into a 128-dimensional feature vector matrix, and one convolution feature is represented as a 128-dimensional feature vector;
    计算128维特征向量矩阵的协方差矩阵;Calculate the covariance matrix of the 128-dimensional eigenvector matrix;
    对所述协方差矩阵进行特征值的分解,根据特征值大小选择64个特征值对应的特征向量组成投影矩阵;Decompose the eigenvalues of the covariance matrix, and select eigenvectors corresponding to 64 eigenvalues to form a projection matrix according to the size of the eigenvalues;
    将所述128维特征向量矩阵向投影矩阵进行投影,以得到64维特征向量矩阵,所述64维特征向量矩阵包括多个低维特征,一个低维特征表示为一个64维特征向量。The 128-dimensional feature vector matrix is projected to the projection matrix to obtain a 64-dimensional feature vector matrix. The 64-dimensional feature vector matrix includes a plurality of low-dimensional features, and one low-dimensional feature is represented as a 64-dimensional feature vector.
  19. 根据权利要求15所述的计算机可读存储介质,其中,根据所述多个文字数据和图片数据对所述待验真发票图片执行第一验真操作,以生成第一验真结果的步骤,所述计算机程序还被所述至少一个处理器所执行实现:15. The computer-readable storage medium according to claim 15, wherein the step of performing a first verification operation on the to-be-verified invoice picture according to the plurality of text data and image data to generate a first verification result, The computer program is also executed by the at least one processor to realize:
    从所述多个图片数据中提取出发票监制章图片数据、销售方发票专用章图片数据和二维码图片数据;Extracting the picture data of the invoice supervisor chapter picture data, the picture data of the seller's invoice special chapter picture data and the two-dimensional code picture data from the plurality of picture data;
    解析所述二维码图片数据以得到多个第一字段数据,将所述多个第一字段数据与所述多个文字数据中的多个文字字段数据进行匹配,以生成文字匹配结果数据;Parsing the two-dimensional code image data to obtain a plurality of first field data, and matching the plurality of first field data with a plurality of text field data in the plurality of text data to generate text matching result data;
    解析所述发票监制章图片数据以得到多个第二字段数据,将所述多个第二字段数据与基于全国统一发票监制章预先配置的多个监制章字段进行匹配,以生成监制章匹配结果数据;Parse the picture data of the invoice production supervision chapter to obtain multiple second field data, and match the multiple second field data with multiple production supervision chapter fields pre-configured based on the national unified invoice production supervision chapter to generate a production supervision chapter matching result data;
    解析销售方发票专用章图片数据以得到多个第三字段数据,将所述多个第三字段与预配置的发票专用章数据库的各个图片中的多个发票专用章字段数据进行匹配,以生成发票专用章匹配结果数据;Analyze the picture data of the special invoice chapter of the seller to obtain a plurality of third field data, and match the plurality of third fields with the plurality of invoice special chapter field data in each picture of the pre-configured invoice special chapter database to generate Invoice special stamp matching result data;
    如果所述文字匹配结果数据、监制章匹配结果数据及发票专用章匹配结果数据均表示匹配一致,则所述第一验真结果为所述待验真图片为合规图片;If the text matching result data, the production supervision chapter matching result data, and the invoice special chapter matching result data all indicate that the matching is consistent, the first verification result is that the true picture to be verified is a compliant picture;
    如果所述文字匹配结果数据、监制章匹配结果数据及发票专用章匹配结果数据中任一匹配结果数据表示匹配不一致,则所述第一验真结果为所述待验真图片为非合规图片。If any one of the text matching result data, the production supervision chapter matching result data, and the invoice special chapter matching result data indicates that the matching is inconsistent, the first verification result is that the true picture to be verified is a non-compliant picture .
  20. 根据权利要求15所述的计算机可读存储介质,其中,根据所述发票基础数据执行第二验真操作的步骤之前,所述计算机程序还被所述至少一个处理器所执行实现:The computer-readable storage medium according to claim 15, wherein, before the step of performing the second authenticity verification operation according to the basic invoice data, the computer program is further executed by the at least one processor to realize:
    向电子发票验真系统发送获取请求,所述获取请求用于获取所述电子发票验真系统的验证码图片数据;Sending an acquisition request to the electronic invoice verification system, where the acquisition request is used to acquire the verification code image data of the electronic invoice verification system;
    分析所述验证码图片数据,以提取所述验证码信息;Analyzing the verification code image data to extract the verification code information;
    通过所述验证码信息获取对接接口,所述对接接口用于发送所述发票基础数据至所述电子发票验真系统。The docking interface is obtained through the verification code information, and the docking interface is used to send the basic data of the invoice to the electronic invoice verification system.
PCT/CN2020/087586 2019-09-06 2020-04-28 Invoice picture recognition and verification method and system, device, and readable storage medium WO2021042747A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910844520.3A CN110675546B (en) 2019-09-06 2019-09-06 Invoice picture identification and verification method, system, equipment and readable storage medium
CN201910844520.3 2019-09-06

Publications (1)

Publication Number Publication Date
WO2021042747A1 true WO2021042747A1 (en) 2021-03-11

Family

ID=69076253

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/087586 WO2021042747A1 (en) 2019-09-06 2020-04-28 Invoice picture recognition and verification method and system, device, and readable storage medium

Country Status (2)

Country Link
CN (1) CN110675546B (en)
WO (1) WO2021042747A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113807901A (en) * 2021-09-27 2021-12-17 国网河北省电力有限公司培训中心 Electronic invoice detection method, terminal equipment and storage medium
CN114140092A (en) * 2021-12-06 2022-03-04 烟台文凯园林工程有限公司 Multifunctional enterprise financial accounting system
CN114862540A (en) * 2022-06-01 2022-08-05 南京英诺森软件科技有限公司 Bill auditing system and method

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110675546B (en) * 2019-09-06 2022-07-08 深圳壹账通智能科技有限公司 Invoice picture identification and verification method, system, equipment and readable storage medium
CN111582958A (en) * 2020-04-29 2020-08-25 上海中通吉网络技术有限公司 Entry tax invoice to ticket verification and cancellation system, method and storage medium
CN113066223A (en) * 2021-04-22 2021-07-02 中国工商银行股份有限公司 Automatic invoice verification method and device
CN113743360B (en) * 2021-09-16 2024-03-05 京东科技信息技术有限公司 Intelligent seal analysis method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080144881A1 (en) * 2006-12-13 2008-06-19 Bottomline Technologies (De) Inc. Electronic transaction processing server with automated transaction evaluation
CN107908685A (en) * 2017-10-31 2018-04-13 西安交通大学 The retrieval of various visual angles commodity image and recognition methods based on transfer learning
CN108171863A (en) * 2017-12-28 2018-06-15 国网山东省电力公司蒙阴县供电公司 The method of inspection and device of VAT invoice
CN108764239A (en) * 2018-05-31 2018-11-06 平安科技(深圳)有限公司 Invoice tests fake method, device, computer equipment and storage medium
CN108777021A (en) * 2018-05-18 2018-11-09 北京大账房网络科技股份有限公司 It is a kind of to mix the bank slip recognition method and system swept based on scanner
CN109461247A (en) * 2018-10-29 2019-03-12 北京慧流科技有限公司 Note validating method and device, electronic equipment and storage medium
CN109472918A (en) * 2018-10-12 2019-03-15 深圳壹账通智能科技有限公司 Invoice validation method, financing checking method, device, equipment and medium
CN110111165A (en) * 2019-05-13 2019-08-09 重庆天蓬网络有限公司 True from false of bills checking method, system, medium and electronic equipment
CN110675546A (en) * 2019-09-06 2020-01-10 深圳壹账通智能科技有限公司 Invoice picture identification and verification method, system, equipment and readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1952973A (en) * 2006-11-17 2007-04-25 韩少杰 Method and system against false of network identification, verification, supervision and inquiry for graphic context bar code on bank bill
CN108269351B (en) * 2018-01-15 2019-06-07 中链科技有限公司 A kind of digital ticket information processing method and system
CN108717545B (en) * 2018-05-18 2020-12-18 北京大账房网络科技股份有限公司 Bill identification method and system based on mobile phone photographing
CN109117885B (en) * 2018-08-17 2021-08-17 北方民族大学 Stamp identification method based on deep learning
CN109858453B (en) * 2019-02-15 2023-06-23 浪潮通用软件有限公司 Universal multi-engine bill identification system and method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080144881A1 (en) * 2006-12-13 2008-06-19 Bottomline Technologies (De) Inc. Electronic transaction processing server with automated transaction evaluation
CN107908685A (en) * 2017-10-31 2018-04-13 西安交通大学 The retrieval of various visual angles commodity image and recognition methods based on transfer learning
CN108171863A (en) * 2017-12-28 2018-06-15 国网山东省电力公司蒙阴县供电公司 The method of inspection and device of VAT invoice
CN108777021A (en) * 2018-05-18 2018-11-09 北京大账房网络科技股份有限公司 It is a kind of to mix the bank slip recognition method and system swept based on scanner
CN108764239A (en) * 2018-05-31 2018-11-06 平安科技(深圳)有限公司 Invoice tests fake method, device, computer equipment and storage medium
CN109472918A (en) * 2018-10-12 2019-03-15 深圳壹账通智能科技有限公司 Invoice validation method, financing checking method, device, equipment and medium
CN109461247A (en) * 2018-10-29 2019-03-12 北京慧流科技有限公司 Note validating method and device, electronic equipment and storage medium
CN110111165A (en) * 2019-05-13 2019-08-09 重庆天蓬网络有限公司 True from false of bills checking method, system, medium and electronic equipment
CN110675546A (en) * 2019-09-06 2020-01-10 深圳壹账通智能科技有限公司 Invoice picture identification and verification method, system, equipment and readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113807901A (en) * 2021-09-27 2021-12-17 国网河北省电力有限公司培训中心 Electronic invoice detection method, terminal equipment and storage medium
CN114140092A (en) * 2021-12-06 2022-03-04 烟台文凯园林工程有限公司 Multifunctional enterprise financial accounting system
CN114862540A (en) * 2022-06-01 2022-08-05 南京英诺森软件科技有限公司 Bill auditing system and method

Also Published As

Publication number Publication date
CN110675546B (en) 2022-07-08
CN110675546A (en) 2020-01-10

Similar Documents

Publication Publication Date Title
WO2021042747A1 (en) Invoice picture recognition and verification method and system, device, and readable storage medium
CN109033058B (en) Contract text verification method, apparatus, computer device and storage medium
WO2019052226A1 (en) Processing method and apparatus for self-service claim settlement application, computer device and storage medium
EA034354B1 (en) System and method for document information authenticity verification
US11824851B2 (en) Identification document database
CN108764239B (en) Invoice verification method and device, computer equipment and storage medium
WO2019127893A1 (en) Electronic signature method, electronic device, and computer readable storage medium
WO2022156178A1 (en) Image target comparison method and apparatus, computer device and readable storage medium
CN110288755A (en) The invoice method of inspection, server and storage medium based on text identification
WO2021212873A1 (en) Defect detection method and apparatus for four corners of certificate, and device and storage medium
CN109783781B (en) Image recognition-based policy entry method and related device
US11488419B2 (en) Identity and liveness verification
US20170004577A1 (en) Apparatus, system and method for enabling account opening
CN111858977B (en) Bill information acquisition method, device, computer equipment and storage medium
CN113568965A (en) Method and device for extracting structured information, electronic equipment and storage medium
CN114218110A (en) Account checking test method and device for financial data, computer equipment and storage medium
CN113938481A (en) Receipt processing method, processing device, electronic equipment and readable storage medium
CN114202759A (en) Multi-currency paper currency crown word number identification method and device based on deep learning
US20140279642A1 (en) Systems and methods for enrollment and identity management using mobile imaging
CN112487982A (en) Merchant information auditing method, system and storage medium
CN111400187A (en) Parameter dynamic verification system and method based on customized data source
US20220076008A1 (en) Systems and methods for enrollment and identity management using mobile imaging
CN111104853A (en) Image information input method and device, electronic equipment and storage medium
US20170185832A1 (en) System and method for verifying extraction of multiple document images from an electronic document
WO2021151274A1 (en) Image file processing method and apparatus, electronic device, and computer readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20859841

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 21-07-2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20859841

Country of ref document: EP

Kind code of ref document: A1