google-cloud-ml - 云视觉 API 对 OCR 的 JSON 响应的付费版本中缺少“信心”字段
问题描述
来自免费版 Vision API ( https://cloud.google.com/vision/docs/drag-and-drop ) 的 JSON 响应具有名为“Confidence”的字段,它显示了模型在单词级别上的识别置信度和人物等级。在付费版本中,此字段缺失。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}]
}
}
此功能是否处于测试阶段,任何付费用户都无法使用?我想使用人物级别模型的信心,我该如何使用?
解决方案
对于 text_detection,目前没有字符级别的置信度,因为它使用与 document_text_detection 不同的模型。
推荐阅读
- selenium - 在单独的选项卡中打开链接
- flutter - Flutter如何通过屏幕打印值?
- python - 在python中对齐unicode字符的问题
- flutter - 如何在另一个无状态小部件中导航 BottomNavigationBar
- javascript - Vue - 如何显示本地数据
- mysql - 如果我有主键 ID,我需要 AND 子句吗?
- node.js - promise.resolve() 链给出奇怪的答案
- linux - 在文本文件中显示当前日期的脚本?
- xamarin.forms - xamarin.forms httpclient 多次更改 BaseAddress 运行时
- html - 如何基于子元素将整个元素居中?