Response Payload

The Optical Character Recognition (OCR) response returns digitized text extracted from the input image.

Response Examples

200 OK — OCR Extracted Text
{
  "pipelineResponse": [
    {
      "taskType": "ocr",
      "config": null,
      "output": [
        {
          "source": "भारत सरकार डिजिटल इंडिया पहल",
          "target": null
        }
      ]
    }
  ]
}

Response Field Breakdown

FieldTypeDescription
pipelineResponsearray<object>Array containing execution results for the OCR task.
pipelineResponse[].taskTypestringIdentifies the completed task: ocr.
output[].sourcestringExtracted digitized text content extracted from the image.