在运行Google上的Django应用程序时,我已经用下面的代码成功地使用了Google视频智能。
gs_video_path ='gs://'+bucket_name+'/'+videodata.video.path+videodata.video.name
video_client = videointelligence.VideoIntelligenceServiceClient()
features = [videointelligence.enums.Feature.OBJECT_TRACKING]
operation = video_client.annotate_video(gs_video_path, features=features)正如Google明确指出的那样,每个月的情况如下
Feature First 1000 minutes Minutes 1000+
Label detection Free $0.10 / minute
Shot detection Free $0.05 / minute, or free with Label detection
Explicit content detection Free $0.10 / minute
Speech transcription Free $0.048 / minute
Object tracking Free $0.15 / minute
Text detection Free $0.15 / minute
Logo recognition Free $0.15 / minute
Celebrity recognition Free $0.10 / minute我如何编程地检测到第一个1000分钟的空闲时间已经被使用,或者在那个时刻这些特性的当前使用情况?
发布于 2020-04-20 12:11:13
https://stackoverflow.com/questions/61303991
复制相似问题