steveyg / AnswerHelper

直播答题辅助工具(适用于 冲顶大会/芝士超人/百万赢家/西瓜视频/黄金十秒)
114 stars 47 forks source link

KeyError: 'words_result' #18

Open YuefengTang opened 6 years ago

YuefengTang commented 6 years ago

请问一下运行时出现KeyError: 'words_result'是什么问题?如下 Traceback (most recent call last): File "main.py", line 11, in question, answers = problem_utils.get_result() File "D:\AnswerHelper-master\problem_utils.py", line 53, in get_result return get_by_scan() File "D:\AnswerHelper-master\problem_utils.py", line 15, in get_by_scan words = img_utils.spot()['words_result'] KeyError: 'words_result

zhoongjie commented 6 years ago

在Config.py 文件中查看,百度的API定义关键词 是不是多了个空格

steveyg commented 6 years ago

应该是ocr数据处理的问题

Sunhandsome commented 6 years ago

我也报这个错误,请问解决了么,怎么解决?

libai01 commented 3 years ago

在Config.py 文件中查看,百度的API定义关键词 是不是多了个空格 请问这个文件在哪里呢?