TopSup icon indicating copy to clipboard operation
TopSup copied to clipboard

答题辅助决策:头号英雄等答题类游戏

Results 100 TopSup issues
Sort by recently updated
recently updated
newest added

小白一枚,学了跳一跳之后真的是程序员拯救世界! 边看教程,边百度,这个问题不知道怎么解决?问题可以识别,选项就出错了? 采用方式 1 获取截图 -- 方法2: 题目+选项搜索结果计数法 -- Question: 外号“飞人″的NBA著名球星是? Traceback (most recent call last): File "C:\Users\K4450\Desktop\111\TopSup-master\TopSup-master\GetQuestionTessAndroid.py", line 28, in methods.run_algorithm(1, question, choices) File "C:\Users\K4450\Desktop\111\TopSup-master\TopSup-master\common\methods.py", line 51, in run_algorithm...

As the exist of GIL, multi thread in Python is invalid.So, actually, the expected concurrency doesn't take effect.

西瓜视频 question = img.crop((80, 350, 1000, 700)) # 红米4 choices = img.crop((80, 680, 1000, 1280))

![snip20180113_8](https://user-images.githubusercontent.com/21035135/34905626-fc5c8cfa-f897-11e7-8953-8b97ceb057c4.png)

python GetQuestionTessAndroid.py Traceback (most recent call last): File "GetQuestionTessAndroid.py", line 20, in question, choices = ocr.ocr_img(img) File "c:\TopSup\common\ocr.py", line 88, in ocr_img if (choices[0].endswith('?')): IndexError: list index out of range

采用方式 2 获取截图 Traceback (most recent call last): File "C:/Users/Administrator/Desktop/TopSup-master/GetQuestionTessAndroid.py", line 20, in question, choices = ocr.ocr_img(img) File "C:\Users\Administrator\Desktop\TopSup-master\common\ocr.py", line 88, in ocr_img if (choices[0].endswith('?')): IndexError: list index out of...

question_im = image.crop((80, 350, 1000, 550)) choices_im = image.crop((75, 645, 1000, 1150)) 我自己用没问题,大家可以在自己的机器上测试.

实战的时候分辨率极低,截图在图库里识别率很高 ![image](https://user-images.githubusercontent.com/33082167/34903141-24073dcc-f866-11e7-9251-d7eaad192dcb.png) ![image](https://user-images.githubusercontent.com/33082167/34903143-38602284-f866-11e7-9014-0e155f5dfaee.png)

我是写c++的 ,如果图像识别用api来做应该更快