make a screenshot of mac,analysis Chinese characters in the picture, and search it with baidu API.
Usage:
- python NewInit.py to get the position of screenshot picture.
- change the value of (x1,y1,x2,y2)in the file of Start.py with the output of first step. eg. (x1,y1,x2,y2) = (905.88671875, 202.92578125, 1224.01171875, 408.578125)
- python Start.py
其他: 由于我爸沉迷于西瓜视频答题,然而他常常不会,所以做了这个小工具希望能帮助到他。 原理就是快速截屏并自动百度问题返回图片中的问题答案=。=|| |