---
title: "ocr.status: OCR status — PDF kit command — Kition"
description: "Whether text recognition is available (its models are installed: release packages include them; a source build fetches them with `cargo xtask models`; KITION_PDF_MODELS overrides), where it looks for them, and the languages it reads."
canonical: "https://developer.kition.ai/docs/kits/pdf/commands/ocr.status"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/pdf/commands/ocr.status](https://developer.kition.ai/docs/kits/pdf/commands/ocr.status)

# ocr.status

**OCR status.** Whether text recognition is available (its models are installed: release packages include them; a source build fetches them with `cargo xtask models`; KITION_PDF_MODELS overrides), where it looks for them, and the languages it reads.

- Kit: PDF 0.1.0 (.pdf); reference: [PDF kit commands](https://developer.kition.ai/docs/kits/pdf.md)
- Changes the document: no

## Parameters

None.

## Call through pdf_run

```text
pdf_run {
  "path": "<file>.pdf",
  "steps": [{ "command": "ocr.status" }]
}
```

The required parameters, with placeholders for their types: not a tested example. pdf_run answers the step’s result in `completed[i].result`.

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `available` | `boolean` | no |  |
| `languages` | `object[]` | no |  |
| `search_dirs` | `string[]` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "available": {
      "type": "boolean"
    },
    "languages": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "code": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "search_dirs": {
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/pdf-darwin-arm64@0.1.0 and the kit itself (pdf_commands through @kition/cli@0.1.1, built from KitionAI/kition-pdf@b0d2725).
