图片里面只有一个车牌,而且multi_detect参数设置为false,但是返回结果里面probability有7个值,不明白什么意思。
# 打开图片 with open(image_path, 'rb') as f: # 调用车牌识别函数 options = {} options['multi_detect'] = 'false' result = client.licensePlate(f.read(), options) pprint(result)
返回结果
{'log_id': 1982770676051361628, 'words_result': {'color': 'unknown', 'number': '京G88888', 'probability': [1.0, 1.0, 0.999980092048645, 0.999969482421875, 0.9999850988388062, 0.9999785423278809, 0.9999675750732422], 'vertexes_location': [{'x': 195, 'y': 267}, {'x': 383, 'y': 270}, {'x': 382, 'y': 316}, {'x': 195, 'y': 313}]}}
收藏
点赞
0
个赞
请登录后评论
TOP
切换版块
楼上的意思我还是不明白
原来如此,谢谢。
每一个字符的置信度