Googly.DocumentAI.Model.CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule (googly_document_ai v0.1.0)

Copy Markdown View Source

A rule for checking field alignment. Horizontal alignment checks if fields are on the same row by comparing y-coordinates of bounding box centers, while vertical alignment checks if fields are on the same column by comparing x-coordinates of bounding box centers.

Attributes

  • alignment_type (type: String.t()) -
  • tolerance (type: number()) - The tolerance to use when comparing coordinates.

Summary

Types

t()

@type t() ::
  %Googly.DocumentAI.Model.CloudAiDocumentaiLabHifiaToolsValidationValidatorInputValidationRuleAlignmentRule{
    alignment_type: String.t() | nil,
    tolerance: number() | nil
  }