Skip to content
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.
You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed
google/cloud/videointelligence/v1p2beta1 Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -405,6 +405,22 @@ message ObjectTrackingFrame {
405
405
406
406
// Annotations corresponding to one tracked object.
407
407
message ObjectTrackingAnnotation {
408
+ // Different representation of tracking info in non-streaming batch
409
+ // and streaming modes.
410
+ oneof track_info {
411
+ // Non-streaming batch mode ONLY.
412
+ // Each object track corresponds to one video segment where it appears.
413
+ VideoSegment segment = 3 ;
414
+
415
+ // Streaming mode ONLY.
416
+ // In streaming mode, we do not know the end time of a tracked object
417
+ // before it is completed. Hence, there is no VideoSegment info returned.
418
+ // Instead, we provide a unique identifiable integer track_id so that
419
+ // the customers can correlate the results of the ongoing
420
+ // ObjectTrackAnnotation of the same track_id over time.
421
+ int64 track_id = 5 ;
422
+ }
423
+
408
424
// Entity to specify the object category that this track is labeled as.
409
425
Entity entity = 1 ;
410
426
@@ -413,9 +429,6 @@ message ObjectTrackingAnnotation {
413
429
414
430
// Information corresponding to all frames where this object track appears.
415
431
repeated ObjectTrackingFrame frames = 2 ;
416
-
417
- // Each object track corresponds to one video segment where it appears.
418
- VideoSegment segment = 3 ;
419
432
}
420
433
421
434
// Video annotation feature.
You can’t perform that action at this time.
0 commit comments