recognize_rotate_captcha
recognize_rotate_captcha($filename,$file_1,$file_2="",$file_3="",$angle=40); - recognize a captcha where you need to click somewhere (click captcha). For more information, see here
It uses the following object fields :$this->api_key - API key
The function accepts parameters as input:
$filename – path to the captcha image$file_1 – Image 1 that will be rotated by service employees$file_2 – Image 2 that will be rotated by service employees$file_3 – Image 3, which will be rotated by employees of the service$angle – the angle that the image will rotate by one click on the arrow. If this parameter is omitted, the default angle is 40 degrees, as in FunCaptcha
After testing, the function returns the result of its work to the script :
The result of recognition is a captcha string in the form OK|coordinate:x=39,y=59;x=252,y=72 ,where - x and y coordinates of captcha clicks or a code string with an error response:
ERROR_KEY_DOES_NOT_EXIST - you used an invalid captcha key in the requestERROR_WRONG_ID_FORMAT - invalid captcha ID, only numbers are acceptedERROR_CAPTCHA_UNSOLVABLE - captcha could not be solved by 5 different employees