Instructions for use
Note: This program requires the .net 4.5.2 framework, please run it on Win7 or above operating system.
Double-click to run adbtest.bat
The first command is to detect the mobile phone model. If it is not detected, check whether the USB debugging mode is turned on. Some mobile phones are not registered with Google and need to change the configuration file on Baidu.
The second command is to detect the resolution of the mobile phone. The returned string should have the words Physical size, and the following number is the resolution of the mobile phone.
The third command is to take a screenshot to the console and should return a lot of garbled data.
The fourth command is another way to detect mobile phone resolution.
If everything is normal, you can only debug the code yourself to see the problem.
How to run:
1. This program comes with ADB, no need to install it yourself.
2. Open ADBOCRTools.exe, left-click anywhere in the game window or press the space bar to automatically take a screenshot of OCR.
3. Online OCR uses the Baidu interface. The lifespan of the token is only one month. When it expires, please replace it yourself and contact the author. You can view the token application instructions provided by Baidu documentation, http://ai.baidu.com/docs#/Auth/top
4. Currently, only the recognition area adaptation for 1080p mobile phones has been completed. Mobile phones with other resolutions can change the recognition areas by themselves.
Update instructions
1. Baidu OCR requires a computer to be online and connected to a broadband, and the screen resolution is recommended to be 1920*1080 or higher.
2. Free OCR is limited to 500 times per day. Users should replace the Access token by themselves for long-term use. The function of obtaining tokens from ak and sk has been opened.
3. The output to Baidu query is divided into two windows. The left side outputs the filtered text matching results, and the right side outputs the browser window.
4. Add the ocr area configuration file OcrAreas.json. You can modify this file yourself by modifying or adding the app area. If the file is modified incorrectly, a default configuration will be regenerated after deletion.
5. The intelligent analysis answer function has been removed because it is of little significance.
6. It is recommended to play on a 1080p resolution monitor so you can see more content.
7. XP is not supported. Please upgrade Windows 7 to sp1 and install the .net 4.5.2 or higher version framework.
it works
it works
it works