AnswerHelper icon indicating copy to clipboard operation
AnswerHelper copied to clipboard

KeyError: 'words_result'

Open YuefengTang opened this issue 7 years ago • 4 comments

请问一下运行时出现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

YuefengTang avatar Jan 15 '18 04:01 YuefengTang

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

zhoongjie avatar Jan 15 '18 05:01 zhoongjie

应该是ocr数据处理的问题

steveyg avatar Jan 15 '18 06:01 steveyg

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

Sunhandsome avatar Jan 15 '18 10:01 Sunhandsome

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

libai01 avatar Jan 10 '21 06:01 libai01