Skip to content

Commit

Permalink
feat: introduce tracks and thumbnails fields for FaceDetectionAnnotat…
Browse files Browse the repository at this point in the history
…ion (#508)

* chore: fixing syntax error in the GAPIC metadata JSON file

Use gapic-generator-typescript v1.2.8.
Committer: @alexander-fenster
PiperOrigin-RevId: 345712055

Source-Author: Google APIs <noreply@google.com>
Source-Date: Fri Dec 4 10:54:47 2020 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 16dd59787d6ce130ab66066c02eeea9dac0c8f0e
Source-Link: googleapis/googleapis@16dd597

* fix:Introduce tracks and thumbnails fields for FaceDetectionAnnotations proto.

PiperOrigin-RevId: 346138329

Source-Author: Google APIs <noreply@google.com>
Source-Date: Mon Dec 7 11:26:21 2020 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 674ec0e684b20e57f8ab4811a44ba50631d0ef8b
Source-Link: googleapis/googleapis@674ec0e
  • Loading branch information
yoshi-automation authored Dec 11, 2020
1 parent c335969 commit d4c71d6
Show file tree
Hide file tree
Showing 10 changed files with 212 additions and 48 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,12 @@ message NormalizedBoundingBox {

// Face detection annotation.
message FaceDetectionAnnotation {
// The face tracks with attributes.
repeated Track tracks = 3;

// The thumbnail of a person's face.
bytes thumbnail = 4;

// Feature version.
string version = 5;
}
Expand Down
12 changes: 12 additions & 0 deletions packages/google-cloud-videointelligence/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

78 changes: 77 additions & 1 deletion packages/google-cloud-videointelligence/protos/protos.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions packages/google-cloud-videointelligence/protos/protos.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 19 additions & 8 deletions packages/google-cloud-videointelligence/src/v1/gapic_metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,30 @@
"language": "typescript",
"protoPackage": "google.cloud.videointelligence.v1",
"libraryPackage": "@google-cloud/video-intelligence",
"services": {"VideoIntelligenceService": {"clients": {
"services": {
"VideoIntelligenceService": {
"clients": {
"grpc": {
"libraryClient": "VideoIntelligenceServiceClient",
"rpcs": {"AnnotateVideo": {
"methods": ["annotateVideo"]
}}
"rpcs": {
"AnnotateVideo": {
"methods": [
"annotateVideo"
]
}
}
},
"grpc-fallback": {
"libraryClient": "VideoIntelligenceServiceClient",
"rpcs": {,"AnnotateVideo": {
"methods": ["annotateVideo"]
}}
"rpcs": {
"AnnotateVideo": {
"methods": [
"annotateVideo"
]
}
}
}
}
}}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,30 @@
"language": "typescript",
"protoPackage": "google.cloud.videointelligence.v1beta2",
"libraryPackage": "@google-cloud/video-intelligence",
"services": {"VideoIntelligenceService": {"clients": {
"services": {
"VideoIntelligenceService": {
"clients": {
"grpc": {
"libraryClient": "VideoIntelligenceServiceClient",
"rpcs": {"AnnotateVideo": {
"methods": ["annotateVideo"]
}}
"rpcs": {
"AnnotateVideo": {
"methods": [
"annotateVideo"
]
}
}
},
"grpc-fallback": {
"libraryClient": "VideoIntelligenceServiceClient",
"rpcs": {,"AnnotateVideo": {
"methods": ["annotateVideo"]
}}
"rpcs": {
"AnnotateVideo": {
"methods": [
"annotateVideo"
]
}
}
}
}
}}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,30 @@
"language": "typescript",
"protoPackage": "google.cloud.videointelligence.v1p1beta1",
"libraryPackage": "@google-cloud/video-intelligence",
"services": {"VideoIntelligenceService": {"clients": {
"services": {
"VideoIntelligenceService": {
"clients": {
"grpc": {
"libraryClient": "VideoIntelligenceServiceClient",
"rpcs": {"AnnotateVideo": {
"methods": ["annotateVideo"]
}}
"rpcs": {
"AnnotateVideo": {
"methods": [
"annotateVideo"
]
}
}
},
"grpc-fallback": {
"libraryClient": "VideoIntelligenceServiceClient",
"rpcs": {,"AnnotateVideo": {
"methods": ["annotateVideo"]
}}
"rpcs": {
"AnnotateVideo": {
"methods": [
"annotateVideo"
]
}
}
}
}
}}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,30 @@
"language": "typescript",
"protoPackage": "google.cloud.videointelligence.v1p2beta1",
"libraryPackage": "@google-cloud/video-intelligence",
"services": {"VideoIntelligenceService": {"clients": {
"services": {
"VideoIntelligenceService": {
"clients": {
"grpc": {
"libraryClient": "VideoIntelligenceServiceClient",
"rpcs": {"AnnotateVideo": {
"methods": ["annotateVideo"]
}}
"rpcs": {
"AnnotateVideo": {
"methods": [
"annotateVideo"
]
}
}
},
"grpc-fallback": {
"libraryClient": "VideoIntelligenceServiceClient",
"rpcs": {,"AnnotateVideo": {
"methods": ["annotateVideo"]
}}
"rpcs": {
"AnnotateVideo": {
"methods": [
"annotateVideo"
]
}
}
}
}
}}
}
}
}
Loading

0 comments on commit d4c71d6

Please sign in to comment.