Image OCR
Read text from an image using a multipart file upload.
Input and coverage: JPEG, PNG, WebP, TIFF, or BMP input, maximum 10 MiB. Recognition quality depends on resolution, contrast, and layout.
Example request
Download the public sample image first. Replace YOUR_APPKEY with your own key before sending the API request.
curl --fail --output gugudata-logo.webp 'https://gugudata.io/assets/svg/logos/logo.webp'
curl --fail-with-body 'https://api.gugudata.io/v1/imagerecognition/ocr?appkey=YOUR_APPKEY' \
--form '[email protected]'View sample Demo response
This is a fixed Demo sample, shortened for readability. It is not the response to your example request. Your results depend on the input and dataset. File URLs are temporary and have been removed.
{
"dataStatus": {
"statusCode": 200,
"status": "SUCCESS",
"statusDescription": "successfully",
"dataTotalCount": 1
},
"data": {
"resultText": [
"GUGUDATA"
],
"text": "GUGUDATA\nDATA PAY LESS"
}
}



