我正在使用Google Video Intelligence API来分析和注释视频。 在响应中,我可以在响应中看到:
"frameLabelAnnotations": [
{
"entity": {
"entityId": "/m/088l6h",
"description": "family car",
"languageCode": "en-US"
},
"categoryEntities": [
{
"entityId": "/m/0k4j",
"description": "car",
"languageCode": "en-US"
}
],
"frames": [
{
"timeOffset": "0.570808s",
"confidence": 0.76606256
},
{
"timeOffset": "1.381775s",
"confidence": 0.74966145
},
{
"timeOffset": "2.468091s",
"confidence": 0.85502887
},
{
"timeOffset": "3.426006s",
"confidence": 0.78749716
},
]
},
因此,视频中基本上有一辆汽车,并且响应具有该汽车出现的时间。 我要显示具有汽车的特定帧/图像 有内置的方法来提取该帧吗? 还是我应该花些时间
"frames": [
{
"timeOffset": "0.570808s",
并从那时开始手动提取帧/图像?