# US 2022/0292861 A1 · Docket Analysis Methods and Systems

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0292861 A1
- Document ID: US20220292861A1
- Status: Published application
- Kind: A1
- Application number: 17/770,046
- Filed: 2020-10-22
- Published: 2022-09-15
- Earliest claimed: 2019-10-25
- Assignees: Xero Limited
- Applicants: Xero Limited
- Inventors: Kiarie Ndegwa; Yu Wu; Salim M.S. Fakhouri
- Web page: https://patentgrep.com/patent/US20220292861A1

## CPC

- G06V 30/413: Classification of content, e.g. text, photographs or tables
- G06F 18/24133: {Distances to prototypes}
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/09: Supervised learning
- G06T 7/11: Region-based segmentation
- G06T 7/73: using feature-based methods
- G06V 10/774: Generating sets of training patterns; Bootstrap methods, e.g. bagging or boosting
- G06V 10/82: using neural networks
- G06V 30/412: Layout analysis of documents structured with printed lines or input boxes, e.g. business forms or tables
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/08: Learning methods
- G06V 30/10: Character recognition
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL

## Abstract

A computer implemented method for processing images for docket detection and information extraction. The method comprises receiving, at a computer system, an image comprising a representation of a plurality of dockets; and detecting, by a docket detection module of the computer system, a plurality of image segments. Each image segment is associated with one of the plurality of dockets. The method comprises determining, by a character recognition module of the computer system, docket text comprising a set of characters associated with each image segment; and detecting, by a data block detection module of the computer system, based on the docket text, one or more data blocks in each of the plurality of docket segments, wherein each data block is associated with a type of information represented in the docket text.

## Claims

### Claim 1

A computer implemented method for processing images for docket detection and information extraction, the method comprising:
receiving, at a computer system, an image comprising a representation of a plurality of dockets;
detecting, by a docket detection module of the computer system, a plurality of image segments, each image segment being associated with one of the plurality of dockets;
determining, by a character recognition module of the computer system, docket text comprising a set of characters associated with each image segment; and
detecting, by a data block detection module of the computer system, based on the docket text, one or more data blocks in each of the plurality of image segments, wherein each data block is associated with a type of information represented in the docket text.

### Claim 2 (depends on 1)

The computer implemented method of claim 1, wherein the docket detection module and the data block detection modules comprise one or more trained neural networks.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
determining, by the data block detection module, a data block attribute and a data block value for each detected data block based on the docket text,
wherein the data block attribute classifies the data block as relating to one of a plurality of classes and the data block value represents a value of the determined attribute.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
determining, by the character recognition module, coordinate information associated with the docket text; and
determining, by the data block detection module, a data block attribute and a data block value based the docket text and the coordinate information associated with the docket text;
wherein the data block attribute classifies the data block as relating to one of a plurality of classes and the data block value represents a value of the determined attribute.

### Claim 5 (depends on 3)

The method of claim 3, wherein the data block attribute comprises one or more of: transaction date, vendor name, transaction amount, transaction currency, transaction tax amount, transaction due date, and/or docket number.

### Claim 6 (depends on 1)

The method of claim 1, wherein detecting, by the docket detection module, the plurality of image segments comprises:
determining, by an image segmentation module, coordinates defining a docket boundary for at least some of the plurality of dockets in the image; and
extracting, by the image segmentation module, the image segments from the image based on the determined coordinates.

### Claim 7 (depends on 2)

The method of claim 2, wherein the one or more trained neural networks comprise one or more deep neural networks and wherein detecting by the data block detection module, the one or more data blocks comprises performing natural language processing using a deep neural network.

### Claim 8 (depends on 7)

The method of claim 7, wherein the deep neural network configured to perform natural language processing is trained using a training data set comprising training docket text comprising training data block values and data block attributes.

### Claim 9 (depends on 1)

The method of claim 1, wherein the neural networks comprising the docket detection module are trained using a training data set comprising training images and wherein the training images each comprise a representation of plurality of dockets and coordinates defining boundaries of dockets in each of the training images.

### Claim 10 (depends on 1)

The method of claim 1, wherein the dockets comprise one or more of an invoice, a receipt or a credit note.

### Claim 11 (depends on 1)

The method of claim 1, further comprising determining, by an image validation module, an image validity classification indicating validity of the image for docket detection.

### Claim 12 (depends on 11)

The method of claim 11, wherein the image validation module comprises one or more neural networks trained to determine the image validity classification.

### Claim 13

(canceled)

### Claim 14

(canceled)

### Claim 15

(canceled)

### Claim 16 (depends on 1)

The method of claim 1, further comprising determining a probability distribution of an association between a docket and each of a plurality of currencies to allow classification of a docket as being related to a specific currency.

### Claim 17 (depends on 1)

The method of claim 1, wherein the data block detection module comprises a transformer neural network.

### Claim 18 (depends on 1)

The method of claim 1, wherein the transformer neural network comprises one or more convolutional neural network layers and one or more attention models.

### Claim 19 (depends on 15)

The method of claim 15, wherein the one or more attention models are configured to determine one or more relationships scores between each words in the docket text.

### Claim 20 (depends on 1)

The method of claim 1, wherein the data block detection module comprises a Bidirectional Encoder Representations from Transformers (BERT) model.

### Claim 21 (depends on 1)

The method of claim 1, further comprising one or more of:
(i) resizing the image to a predetermined size before detecting the plurality of image segments;
(ii) converting the image to greyscale before processing detecting the plurality of image segments;
(iii) normalising image data corresponding to the image before detecting the plurality of image segments.

### Claim 22

(canceled)

### Claim 23

(canceled)

### Claim 24

(canceled)

### Claim 25

A system for detecting dockets and extracting docket data from images, the system comprising:
one or more processors; and
memory comprising computer code, which when executed by the one or more processors is configured to cause the one or more processor to:
receive, an image comprising a representation of a plurality of dockets;
detect, by a docket detection module of the computer system, a plurality of image segments, each image segment being associated with one of the plurality of dockets;
determine, by a character recognition module of the computer system, docket text comprising a set of characters associated with each image segment; and
detect, by a data block detection module of the computer system based on the docket text, one or more data blocks in each of the plurality of image segments, wherein each data block is associated with information represented in the docket text.

### Claim at position 26

-36. (canceled)

### Claim 37

A non-transient machine-readable medium storing computer readable code, which when executed by one or more processors is configured to:
receive, an image comprising a representation of a plurality of dockets;
detect, by a docket detection module of the computer system, a plurality of image segments, each image segment being associated with one of the plurality of dockets;
determine, by a character recognition module of the computer system, docket text comprising a set of characters associated with each image segment; and
detect, by a data block detection module of the computer system based on the docket text, one or more data blocks in each of the plurality of image segments, wherein each data block is associated with information represented in the docket text.
