answer_the_question

所属分类:WEB开发
开发工具:Python
文件大小:1059KB
下载次数:0
上传日期:2018-09-07 16:34:42
上 传 者sh-1993
说明:  冲顶大会、芝士超人、西瓜视频、头脑王者、百万英雄等答题辅助,瞬间打开chrome 百度,仅供娱乐学习交流使用!
(With the help of the top meeting, Cheese Superman, Watermelon Video, Brain King, Millions of Heroes and other questions, Chrome Baidu is instantly opened for entertainment, learning and exchange!)

文件列表:
answer_the_question.py (6302, 2018-09-08)
cut_images-size.py (605, 2018-09-08)
example_images (0, 2018-09-08)
example_images\1.jpg (31074, 2018-09-08)
example_images\2.jpg (41662, 2018-09-08)
example_images\one.jpg (382310, 2018-09-08)
example_images\three.JPG (312138, 2018-09-08)
example_images\two.jpg (492515, 2018-09-08)
example_images\zuixin.JPG (29313, 2018-09-08)

# answer_the_question 冲顶大会、芝士超人、西瓜视频、头脑王者、百万英雄等答题辅助,瞬间打开chrome 百度,仅供娱乐学习交流使用!
# 使用方法:
1.环境安装 adb、python 、pip install 相关包
2.注册百度OCRapi或者Face++的OCRApi
3.根据自己手机(目前仅限安卓)的分辨率,调整image_cut()中的参数,可以用cut_images-size.py来慢慢调整。
区域由一个4元组定义,表示为坐标是 (x0, y0, x1, x2)。(x0,y0)为起点坐标,(x1,y2)为终点点坐标。
4.在百度OCR_api定义常量APP_ID 、API_KEY 、SECRET_KE换上你的账号信息,在你注册的平台上的控制台上可以查看
5.安卓手机开启调试模式,USB连接电脑
6. python answer_the_question.py 使用
7.参考了这位[大牛](https://github.com/Skyexu/TopSup)的部分代码,感谢!
![](https://github.com/Allen-Liang/answer_the_question/raw/master/example_images/zuixin.JPG)
![](https://github.com/Allen-Liang/answer_the_question/raw/master/example_images/1.jpg)
![](https://github.com/Allen-Liang/answer_the_question/raw/master/example_images/2.jpg)
![](https://github.com/Allen-Liang/answer_the_question/raw/master/example_images/one.jpg)
![](https://github.com/Allen-Liang/answer_the_question/raw/master/example_images/two.jpg)
![](https://github.com/Allen-Liang/answer_the_question/raw/master/example_images/three.JPG)

近期下载者

相关文件


收藏者