Skip to main content

Util::YandexRecognize - Captcha Recognition

Overview of the scraper

Used as a plug-in component in other scrapers where it may be necessary to solve simple image captchas.

The peculiarity of this scraper is that it uses Yandex Translator's capabilities for solving. The accuracy of the solution is low, but this is compensated by its freeness and relatively higher speed.

Use cases

  • Captcha recognition in scrapers where it is optionally or necessarily required to solve captchas to get results
  • Captcha recognition in custom JS scrapers
  • Recognition of small text data from images (e.g., phone numbers)

Queries

The query must specify the link to the captcha, for example:

http://a-parser.com/img/captcha.jpeg

Output results examples

  • $answer - captcha response
  • $error - if an error occurs, its description

Output of the recognized text

Result format:

$answer

Example result:

ifignt eyelids

Possible settings