【发布时间】:2019-10-21 11:21:36
【问题描述】:
我一直在尝试使用来自https://cloud.google.com/video-intelligence/docs/libraries 的谷歌视频智能 API,并且尝试了完全相同的代码。响应输出应该是 json 格式,但是输出是 google.cloud.videointelligence_v1.types.AnnotateVideoResponse 或类似的东西。
我已经尝试了许多资源中的代码,最近来自https://cloud.google.com/video-intelligence/docs/libraries,但仍然没有给出 JSON 输出。当我检查得到的输出类型时得到了什么:
type(result)
google.cloud.videointelligence_v1.types.AnnotateVideoResponse
那么,我如何从中获得 JSON 响应?
【问题讨论】:
标签: python-3.x google-cloud-platform video-intelligence-api