Recognize captcha Version 3 (Python)
Action group: Vision
Description
Action to recognize captcha content using the https://rucaptcha.com service
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Path to image | Path to image file. Supported image formats: (jpeg, jpg, bmp, png, tif, tiff) | Image | C:\doc\img.png | Yes |
Timeout, ms | The time during which the captcha is expected to be recognized. Time-out is set in milliseconds. Default 120000 ms | Numeric | 20000 | No |
Run math. operation | If the value is "true", then it is expected that the captcha requires a mathematical action. For example: write the result 4+8= | Boolean | true | No |
The minimum number of characters in the response | The minimum number of characters that can be in the response. The acceptable range is from 1 to 20. If the number of characters is unknown, specify 0. By default, 0 | Numeric | 5 | No |
The maximum number of characters in the response | The maximum number of characters that can be in the response. The acceptable range is from 1 to 20. If the number of characters is unknown, specify 0. By default, 0 | Numeric | 19 | No |
Language | Which alphabet letters are expected on the captcha. By default - «Unknown» | String | Latin | No |
Captcha content | The intended contents of the captcha. The default is "Unknown" | String | Numbers | No |
Case sensitivity | If the value is "true", then it is expected that the captcha is case sensitive | Boolean | true | No |
Results | ||||
Result | Symbols that ware recognized on the captcha | String |
Special conditions of use
None.
Example of use
Task
There is an image with a captcha, you need to recognize it.
Solution
Use the "Recognize captcha" action.
Implementation
- Move the "Recognize captcha" action to the workspace.
- Set the parameters of the "Recognize captcha" action.
- Click on the "Start" button in the top panel.
Result
The program robot completed successfully. The captcha content is recognized and reflected in the robot's logs.