Skip to content

Commit

Permalink
feat: add confidence field to the PageAnchor.PageRef in document.proto.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 370513265
  • Loading branch information
Google APIs authored and copybara-github committed Apr 26, 2021
1 parent 1d41596 commit 7713e2e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions google/cloud/documentai/v1/document.proto
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,9 @@ message Document {

// Optional. Identifies the bounding polygon of a layout element on the page.
BoundingPoly bounding_poly = 4 [(google.api.field_behavior) = OPTIONAL];

// Optional. Confidence of detected page element, if applicable. Range [0, 1].
float confidence = 5 [(google.api.field_behavior) = OPTIONAL];
}

// One or more references to visual page elements
Expand Down

0 comments on commit 7713e2e

Please sign in to comment.