Skip to content

Commit

Permalink
chore(model): simplify list of objects naming
Browse files Browse the repository at this point in the history
  • Loading branch information
pinglin committed Sep 13, 2022
1 parent 13fccae commit db7f01d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions vdp/model/v1alpha/detection_output.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ message DetectionObject {

// DetectionOutput represents the output of detection task
message DetectionOutput {
// A list of bounding box objects
repeated DetectionObject detection_objects = 1
// A list of detection objects
repeated DetectionObject objects = 1
[ (google.api.field_behavior) = OUTPUT_ONLY ];
}
4 changes: 2 additions & 2 deletions vdp/model/v1alpha/keypoint_output.proto
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ message KeypointObject {

// KeypointOutput represents the output of keypoint detection task
message KeypointOutput {
// Keypoint Objects
repeated KeypointObject keypoint_objects = 1
// A list of keypoint objects
repeated KeypointObject objects = 1
[ (google.api.field_behavior) = OUTPUT_ONLY ];
}
5 changes: 2 additions & 3 deletions vdp/model/v1alpha/ocr_output.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ message OcrObject {

// OcrOutput represents the output of ocr task
message OcrOutput {
// A list of bounding box objects
repeated OcrObject ocr_objects = 1
[ (google.api.field_behavior) = OUTPUT_ONLY ];
// A list of OCR objects
repeated OcrObject objects = 1 [ (google.api.field_behavior) = OUTPUT_ONLY ];
}

0 comments on commit db7f01d

Please sign in to comment.