Skip to content

Commit

Permalink
sort Result enum
Browse files Browse the repository at this point in the history
  • Loading branch information
dangost committed Jul 18, 2023
1 parent 07ba405 commit 9df6831
Showing 1 changed file with 39 additions and 41 deletions.
80 changes: 39 additions & 41 deletions rt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,71 +9,69 @@ components:

Result:
type: integer
description: "Describes possible extracted result types from documents"
enum:
- 1
- 30
- 33
- 36
- 37
- 3
- 17
- 18
- 102
- 15
- 5
- 6
- 19
- 103
- 8
- 9
- 15
- 17
- 18
- 19
- 20
- 85
- 5
- 50
- 30
- 33
- 36
- 37
- 49
- 50
- 85
- 102
- 103
x-enum-descriptions:
- "Contains cropped and rotated with perspective compensation image of document. Single input image can contain multiple document side/pages, which will be returned as separated results. Most of coordinates in other types defined on that image"
- "Contains image quality check results"
- "Contains check statuses with details, grouped by source"
- "Contains document textual fields from all sources (mrz, rfid, visual, barcode) with validity and cross-source compare checks"
- "Contains images from all document sources (mrz, rfid, visual, barcode)"
- "Contains MRZ OCR results"
- "Contains Visual zone OCR results"
- "Contains barcode parsing result with text fields"
- "Contains RFID parsing result with text fields"
- "Contains lexical data analysis results that allow you to compare MRZ OCR results, Visual zone OCR results, barcodes and RFID chip data for an additional assessment of the authenticity of the document (this is an old format, better use TEXT type)"
- "Contains raw information about barcodes on the input image"
- "Contains cropped graphic fields from Visual zone"
- "Contains barcode parsing result with graphic fields"
- "Contains RFID parsing result with graphic fields"
- "Contains list of document type candidates with their probabilities and descriptions"
- "Contains description of determined document type, if any"
- "Contains lexical data analysis results that allow you to compare MRZ OCR results, Visual zone OCR results, barcodes and RFID chip data for an additional assessment of the authenticity of the document (this is an old format, better use TEXT type)"
- "Contains Visual zone OCR results"
- "Contains barcode parsing result with text fields"
- "Contains barcode parsing result with graphic fields"
- "Contains result of document authenticity checks"
- "Contains information about document position on the input image, its center, angle, etc"
- "Contains raw information about barcodes on the input image"
- "Contains license"
- "Contains image quality check results"
- "Contains check statuses with details, grouped by source"
- "Contains document textual fields from all sources (mrz, rfid, visual, barcode) with validity and cross-source compare checks"
- "Contains images from all document sources (mrz, rfid, visual, barcode)"
- "Contains encrypted ResultContainerList"
- "Contains license"
- "Contains information about document position on the input image, its center, angle, etc"
- "Contains RFID parsing result with text fields"
- "Contains RFID parsing result with graphic fields"
x-enum-varnames:
- "DOCUMENT_IMAGE"
- "IMAGE_QUALITY"
- "STATUS"
- "TEXT"
- "IMAGES"
- "MRZ_TEXT"
- "VISUAL_TEXT"
- "BARCODE_TEXT"
- "RFID_TEXT"
- "LEXICAL_ANALYSIS"
- "BARCODES"
- "VISUAL_GRAPHICS"
- "BARCODE_GRAPHICS"
- "RFID_GRAPHICS"
- "DOCUMENT_TYPE_CANDIDATES"
- "DOCUMENT_TYPE"
- "LEXICAL_ANALYSIS"
- "VISUAL_TEXT"
- "BARCODE_TEXT"
- "BARCODE_GRAPHICS"
- "AUTHENTICITY"
- "DOCUMENT_POSITION"
- "BARCODES"
- "LICENSE"
- "IMAGE_QUALITY"
- "STATUS"
- "TEXT"
- "IMAGES"
- "ENCRYPTED_RCL"

- "LICENSE"
- "DOCUMENT_POSITION"
- "RFID_TEXT"
- "RFID_GRAPHICS"

ResultItem:
type: object
Expand Down

0 comments on commit 9df6831

Please sign in to comment.