Scan Studio

Service for extracting data from documents using models trained by Verifik.

Scan Studio

POST - https://api.verifik.co/v2/ocr/scan-studio

The Scan Studio enables seamless extraction of crucial information from scanned documents using Optical Character Recognition (OCR) technology. To utilize the service, simply provide the image in Base64 encoded format or a URL where the image is hosted.

The Scan Studio uses advanced Optical Character Recognition (OCR) technology to accurately extract and interpret information from scanned documents. The extracted data is presented as OCR text along with corresponding labels.

For data accuracy and reliability, the extracted information undergoes thorough validation and verification. Each field's status indicates whether the OCR prediction was correct or not.

Note: This service uses models already created and trained by Verifik, so its response times and the accuracy in which the information is extracted are superior.

Examples of ID's:

Headers

NameValue

Content-Type

application/json

Authorization

Bearer <token>

Body

NameTypeDescription

image

string

Image in Base64 encoded format or a URL where the image is hosted.

Response

{
  "id": "urw2r",
  "data": {
    "__v": 0,
    "_id": "64f8ba3b06f66f85b1ac9381",
    "url": "https://cdn.verifik.co/ocr/64404b1f9856cc8cebd762e7/1690232072151-image.jpeg",
    "type": "ocr",
    "client": "623b6317fe5fd1774be9f566",
    "status": "ACTIVE_BUT_UNVERIFIED",
    "deleted": false,
    "createdAt": "2023-09-06T17:43:23.775Z",
    "updatedAt": "2023-09-06T17:43:23.775Z",
    "requires2FA": false,
    "documentType": "CC",
    "OCRExtraction": {
      "details": {
        "spans": [
          {
            "length": 168,
            "offset": 0
          }
        ],
        "fields": {
          "lastName": {
            "kind": "string",
            "spans": [
              {
                "length": 15,
                "offset": 71
              }
            ],
            "value": "RODRÍGUEZ LÓPEZ",
            "content": "RODRÍGUEZ LÓPEZ",
            "confidence": 0.851,
            "boundingRegions": [
              {
                "polygon": [
                  {
                    "x": 76,
                    "y": 226
                  },
                  {
                    "x": 476,
                    "y": 224
                  },
                  {
                    "x": 476,
                    "y": 270
                  },
                  {
                    "x": 76,
                    "y": 272
                  }
                ],
                "pageNumber": 1
              }
            ]
          },
          "firstName": {
            "kind": "string",
            "spans": [
              {
                "length": 16,
                "offset": 104
              }
            ],
            "value": "MARTÍN FRANCISCO",
            "content": "MARTÍN FRANCISCO",
            "confidence": 0.851,
            "boundingRegions": [
              {
                "polygon": [
                  {
                    "x": 71,
                    "y": 324
                  },
                  {
                    "x": 486,
                    "y": 331
                  },
                  {
                    "x": 485,
                    "y": 379
                  },
                  {
                    "x": 70,
                    "y": 372
                  }
                ],
                "pageNumber": 1
              }
            ]
          },
          "documentNumber": {
            "kind": "string",
            "spans": [
              {
                "length": 17,
                "offset": 53
              }
            ],
            "value": "01101101 01100001",
            "content": "01101101 01100001",
            "confidence": 0.861,
            "boundingRegions": [
              {
                "polygon": [
                  {
                    "x": 159,
                    "y": 172
                  },
                  {
                    "x": 561,
                    "y": 172
                  },
                  {
                    "x": 561,
                    "y": 216
                  },
                  {
                    "x": 159,
                    "y": 216
                  }
                ],
                "pageNumber": 1
              }
            ]
          }
        },
        "docType": "CC",
        "confidence": 0.964,
        "boundingRegions": [
          {
            "polygon": [
              {
                "x": 0,
                "y": 0
              },
              {
                "x": 1000,
                "y": 0
              },
              {
                "x": 1000,
                "y": 614
              },
              {
                "x": 0,
                "y": 614
              }
            ],
            "pageNumber": 1
          }
        ]
      },
      "fullName": "MARTÍN FRANCISCO RODRÍGUEZ LÓPEZ",
      "lastName": "RODRÍGUEZ LÓPEZ",
      "firstName": "MARTÍN FRANCISCO",
      "documentNumber": "01101101 01100001"
    },
    "documentNumber": "01101101 01100001",
    "imageValidated": false,
    "validationMethod": "SCAN_GPT"
  },
  "signature": {
    "message": "Certified by Verifik.co",
    "dateTime": "September 6, 2023 5:43 PM"
  }
}

Last updated