目前我正在使用 AnnotateVideo 功能来分析视频。有没有办法只分析视频的一部分,例如提供 start_time 和 end_time 作为函数的参数?
gs_video_path ='gs://'+bucket_name+'/'+videodata.video.path+videodata.video.name
print(gs_video_path)
video_client = videointelligence.VideoIntelligenceServiceClient()
features = [videointelligence.enums.Feature.OBJECT_TRACKING]
operation = video_client.annotate_video(gs_video_path, features=features)