|
Use python to build millions of answers and automatically search for answers on Baidu. Use the platform windows7 python3.6 MIX2 mobile phone Code Principles
The content of the mobile phone screen is synchronized to the PC Screenshot of the question Analysis of screenshot text Automatically search for text with your browser Use the tutorial 1. Use Airdroid to display your phone screen on your computer screen.It can also be implemented using the 360 mobile assistant. No code involved. The implementation effect is as shown in the figure: 2. When the question appears, run the python program and take a screenshot of the question.
Here we need to use two functions:
get_point() #采集要截图的坐标, and the height and width of the picture window_capture() #截图
The screenshot after running is as follows:
3. Analysis and extraction of image text
Reference link: * Image to text * configuration method Code section:
4. Search for text
All the codes are as follows:
|