一段时间以来,我的 Django 应用程序在 Google App Engine Flex 上运行,我一直在成功使用 Google Cloud Video Intelligence 和以下代码。
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 Cloud 明确指出的,每个月以下是
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 分钟的免费使用情况,或者当时这些功能的当前使用情况?