来自Vision API (https://cloud.google.com/vision/docs/drag-and-drop)免费版本的JSON响应具有名为“置信度”的字段,该字段显示了模型在单词级别和字符级别上的识别置信度。而在付费版本中,此字段缺失。示例JSON如下所示。
拖放输出JSON结构:
{
"boundingBox": {
"vertices": [
{
"x": 85,
"y": 7
},
{
"x": 92,
"y": 7
},
{
"x": 92,
"y": 26
},
{
"x": 85,
"y": 26
}
]
},
"text": "abc xyz",
"confidence": 0.99
}付费版输出结构:
{
"description": "abc xyz",
"boundingPoly": {
"vertices": [
{"y": 437, "x": 2108},
{"y": 437, "x": 2194},
{"y": 453, "x": 2194},
{"y": 453, "x": 2108}]
}
}此功能是否处于测试阶段,付费用户无法使用?我想使用字符级模型的置信度,我该如何使用?
发布于 2019-03-10 03:34:33
对于text_detection,目前没有字符级别的置信度,因为它使用了与document_text_detection不同的模型。
https://stackoverflow.com/questions/54984675
复制相似问题