hottub.patents
US 12,354,397 B2#3500767 Most CitedActiveUnited States (USPTO)Utility

Detecting fields in document images

0Forward Citations (#3500767 Global)
0.0/yrCitation Velocity (#3500767 Global)
0.00Citation PageRank (#3500767 Global)
14Prior Art Cited
20Claims (3 Indep. · 17 Dep.)
9Drawings / Sheets

Abstract

A method of detecting fields in document images includes: receiving a codebook comprising a set of visual words, each visual word corresponding to a center of a cluster of local descriptors; calculating, based on a set of user labeled document images, for each visual word of the codebook, a respective frequency distribution of a field position of a specified labeled field with respect to the visual word; loading a document image for extraction of target fields; calculating a statistical predicate of a possible position of a target field in the document image based on the frequency distributions; and detecting, using the trained model, fields in the document image based on the calculated statistical predicate.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 14 · Forward citations: 0.

Claims (20 — 3 Independent, 17 Dependent)

  1. Claim 1Independent Claim

    A method, comprising: receiving, by a processing device, a codebook comprising a set of visual words, each visual word corresponding to a center of a cluster of local descriptors, wherein each local descriptor is associated with a keypoint region of a first set of document images; calculating, based on a second set of document images, for each visual word of the codebook, a respective frequency distribution of a field position of a specified field with respect to the visual word; loading a document image for extraction of target fields; calculating a statistical predicate of a possible position of a target field in the document image based on the frequency distributions; and detecting fields in the document image based on the calculated statistical predicate.

  2. Claim 2Depends on #1

    The method of claim 1, wherein the codebook is optimized on a third set of document images.

  3. Claim 3Depends on #1

    The method of claim 1, wherein calculating the respective frequency distribution comprises calculating an integral two-dimensional histogram of shift of a position of the specified field, and wherein the integral two-dimensional histogram incorporates a plurality of shifts relative to possible positions of each visual word.

  4. Claim 4Depends on #1

    The method of claim 1, wherein calculating the statistical predicate further comprises: obtaining an accumulated distribution histogram based on possible positions of the target field with respect to two or more visual words of the set of visual words.

  5. Claim 5Depends on #1

    The method of claim 1, wherein a plurality of document images of the second set of document images have a similar layout.

  6. Claim 6Depends on #1

    The method of claim 1, further comprising: dividing the second set of document images into groups based on document similarity prior to at least one of: training a model or using the model.

  7. Claim 7Depends on #1

    The method of claim 1, wherein the statistical predicate is represented by a linear combination of individual predicates corresponding to a plurality of visual words detected in the document image.

  8. Claim 8Independent Claim

    A system, comprising: a memory; and a processing device coupled to the memory, the processing device configured to: receive a codebook comprising a set of visual words, each visual word corresponding to a center of a cluster of local descriptors, wherein each local descriptor is associated with a keypoint region of a first set of document images; calculate, based on a second set of document images, for each visual word of the codebook, a respective frequency distribution of a field position of a specified field with respect to the visual word; load a document image for extraction of target fields; calculate a statistical predicate of a possible position of a target field in the document image based on the frequency distributions; and detect fields in the document image based on the calculated statistical predicate.

  9. Claim 9Depends on #8

    The system of claim 8, wherein the codebook is optimized on a third set of document images.

  10. Claim 10Depends on #8

    The system of claim 8, wherein calculating the respective frequency distribution comprises calculating an integral two-dimensional histogram of shift of a position of the specified field, and wherein the integral two-dimensional histogram incorporates a plurality of shifts relative to possible positions of each visual word.

  11. Claim 11Depends on #8

    The system of claim 8, wherein calculating the statistical predicate further comprises: obtaining an accumulated distribution histogram based on possible positions of the target field with respect to two or more visual words of the set of visual words.

  12. Claim 12Depends on #8

    The system of claim 8, wherein a plurality of document images of the second set of document images have a similar layout.

  13. Claim 13Depends on #8

    The system of claim 8, wherein the processing device is further configured to: dividing the second set of document images into groups based on document similarity prior to at least one of: training a model or using the model.

  14. Claim 14Depends on #8

    The system of claim 8, wherein the statistical predicate is represented by a linear combination of individual predicates corresponding to a plurality of visual words detected in the document image.

  15. Claim 15Independent Claim

    A non-transitory computer-readable storage medium comprising executable instructions that, when executed by a processing device, cause the processing device to: receive a codebook comprising a set of visual words, each visual word corresponding to a center of a cluster of local descriptors, wherein each local descriptor is associated with a keypoint region of a first set of document images; calculate, based on a second set of document images, for each visual word of the codebook, a respective frequency distribution of a field position of a specified field with respect to the visual word; load a document image for extraction of target fields; calculate a statistical predicate of a possible position of a target field in the document image based on the frequency distributions; and detect fields in the document image based on the calculated statistical predicate.

  16. Claim 16Depends on #15

    The non-transitory computer-readable storage medium of claim 15, wherein the codebook is optimized on a third set of document images.

  17. Claim 17Depends on #15

    The non-transitory computer-readable storage medium of claim 15, wherein calculating the respective frequency distribution comprises calculating an integral two-dimensional histogram of shift of a position of the specified field, and wherein the integral two-dimensional histogram incorporates a plurality of shifts relative to possible positions of each visual word.

  18. Claim 18Depends on #15

    The non-transitory computer-readable storage medium of claim 15, wherein calculating the statistical predicate further comprises: obtaining an accumulated distribution histogram based on possible positions of the target field with respect to two or more visual words of the set of visual words.

  19. Claim 19Depends on #15

    The non-transitory computer-readable storage medium of claim 15, wherein a plurality of document images of the second set of document images have a similar layout.

  20. Claim 20Depends on #15

    The non-transitory computer-readable storage medium of claim 15, further comprising: dividing the second set of document images into groups based on document similarity prior to at least one of: training a model or using the model.

Technical Overview & Description

RELATED APPLICATIONS This application is a divisional of U.S. patent application Ser. No. 17/384,985, filed Jul. 26, 2021, which claims priority under 35 USC § 119 to Russian patent application No. RU2021121680, filed on Jul. 21, 2021. Both above-referenced applications are incorporated by reference herein. TECHNICAL FIELD The implementations of the disclosure relate generally to computer systems for analyzing document and, more specifically, to systems and methods for generating and optimizing codebooks for the detection of fields in a document. BACKGROUND Image processing tasks may involve the use of codebooks of visual words based on or analogous to the Bag-of-Words (BoW) model. For example a codebook of visual words can be used for searching or classifying images. However, automatic extraction of information using a codebook can be challenging due to the complex structure and layout of documents with varied positions of text, fields, images, tables, etc. and possibly ambiguous locations of boundaries of these elements. SUMMARY OF THE DISCLOSURE Implementations of the present disclosure describe mechanisms generating and optimizing codebooks for the detection of fields in a document image. method of generating and optimizing a codebooks for document analysis includes: receiving a first set of document images; extracting a plurality of keypoint regions from each document image of the first set of document images; calculating local descriptors for each keypoint region of the extracted keypoint regions; clustering the local descriptors such that each center of a cluster of local descriptors corresponds to a respective visual word; generating a codebook containing a set of visual words; and optimizing the codebook by maximizing mutual information (MI) between a target field of a second set of document images and at least one visual word of the set of visual words. A system generating and optimizing a codebooks for document analysis includes a memory, and a processor

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (14)

Non-Patent Literature (10)

  • Sun, W. and Kise, K., Similar Manga Retrieval Using Visual Vocabulary Based on Regions of Interest, 2011 International Conference on Document Analysis and Recognition, 1075-1079, http://www.iapr-tc11.org/archive/icdar2011/fileup/PDF/4520b075.pdf.
  • Mokhtar, Sahar Abd El Hameed and Elnemr, Heba Ahmed, Department of Computers and Systems, Electronics Research Institute, A Comparative Study of Data Mining approaches for Bag of Visual Words Based Image Classification, Oct. 8, 2017, 14 pages.
  • Leutenegger, Stefan, et al., Autonomous Systems Lab,
  • “
  • BRISK: Binary Robust Invariant Scalable Keypoints
  • ”
  • , 8 pages, [retreived from the internet: Jul. 22, 2021].
  • Scikit-image,
  • “
  • Niblack and Sauvola Thresholding