Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Moscow' for 'MSK/4.0/no DST' instead in /usr/share/php/smarty/Smarty_Compiler.class.php on line 400 Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Moscow' for 'MSK/4.0/no DST' instead in /usr/share/php/smarty/Smarty_Compiler.class.php on line 400
Base Images To Text API client
Located in /imagestotext.php (line 96)
| Class | Description |
|---|---|
| ImagesToText_HttpClient | Images To Text HTTP API Client |
| ImagesToText_SocketClient | Images To Text socket API Client |
Verbosity flag.
When it's set to true, the client will produce debug output on every API call.
ITT account credentials
Parses JSON encoded response
Parses URL query encoded responses
Closes opened connection (if any), as gracefully as possible
Tries to solve CAPTCHA by uploading it and polling for its status/text with arbitrary timeout. See ImagesToText_Client::upload() for $captcha param details.
Returns user's balance (in US cents)
Returns CAPTCHA details
Returns CAPTCHA text
Returns user details
Reports an incorrectly solved CAPTCHA
Uploads a CAPTCHA
Checks if CAPTCHA is valid (not empty)
API_VERSION
= 'ITT/PHP v4.1.1'
(line 98)
DEFAULT_TIMEOUT
= 60
(line 100)
POLLS_INTERVAL
= 5
(line 101)
Documentation generated on Fri, 11 Nov 2011 19:25:41 +0400 by phpDocumentor 1.4.3