更具体地说,我想用法语获取标签,而不是:
"labelAnnotations": [
{
"mid": "/m/019sc",
"description": "black",
"score": 0.95744693
},
{
"mid": "/m/07s6nbt",
"description": "text",
"score": 0.9175479
},
{
"mid": "/m/01zbnw",
"description": "screenshot",
"score": 0.8477094
}]
我想得到:
"labelAnnotations": [
{
"mid": "/m/019sc",
"description": "noir",
"score": 0.95744693
},
{
"mid": "/m/07s6nbt",
"description": "texte",
"score": 0.9175479
},
{
"mid": "/m/01zbnw",
"description": "capture d'écran",
"score": 0.8477094
}]
或者Google翻译API目前是我唯一的解决方案吗?
答案 0 :(得分:0)
Google Cloud Vision API LABEL_DETECTION 仅以英文返回。 Cloud Translate API可以将英文标签翻译为other languages中的任意一种。