recognize_invoice
recognize_invoice($filename); - recognize the receipt
It uses the following object fields :$this->api_key - API key
The function accepts parameters as input:
$filename – path to the receipt image
After testing, the function returns the result of its work to the script :
The result of recognition is a captcha string 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