maotoumao / weread-dailyquestion-helper

微信读书 每日一答助手
44 stars 4 forks source link

运行不了 #2

Open bb33chen opened 2 years ago

bb33chen commented 2 years ago

File "E:\mywork\weread-dailyquestion-helper\process\OCR.py", line 22, in run ques = ''.join([item['words'] for item in ques['words_result']]) KeyError: 'words_result'

这个是什么错误呢?

maotoumao commented 2 years ago

看下是不是ocr相关的配置搞错了~ config.json里面的~

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2022年05月06日 10:37 | | 收件人 | @.> | | 抄送至 | @.***> | | 主题 | [maotoumao/weread-dailyquestion-helper] 运行不了 (Issue #2) |

File "E:\mywork\weread-dailyquestion-helper\process\OCR.py", line 22, in run ques = ''.join([item['words'] for item in ques['words_result']]) KeyError: 'words_result'

这个是什么错误呢?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>

bb33chen commented 2 years ago

百度API需要进行实名认证来获取免费调用量吗?

bb33chen commented 2 years ago

image

bb33chen commented 2 years ago

image

maotoumao commented 2 years ago

我记得是需要的~ 可以先参考百度ocr的使用文档写个demo测试一下~

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2022年05月06日 10:58 | | 收件人 | @.> | | 抄送至 | @.**@.> | | 主题 | Re: [maotoumao/weread-dailyquestion-helper] 运行不了 (Issue #2) |

百度API需要进行实名认证来获取免费调用量吗?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

bb33chen commented 2 years ago

已经可以了,, 但是貌似正确率不是很高,什么时候有空,可以帮忙优化下?? @maotoumao