{
  "api": {
    "name": "OcrPlugin",
    "slug": "ocrplugin",
    "docs": "",
    "tags": [],
    "methods": [
      {
        "name": "process",
        "signature": "(options: { image: string; }) => Promise<RecognitionResults>",
        "parameters": [
          {
            "name": "options",
            "docs": "",
            "type": "{ image: string; }"
          }
        ],
        "returns": "Promise<RecognitionResults>",
        "tags": [
          {
            "name": "param",
            "text": "image"
          }
        ],
        "docs": "Process the text on the provided image.\nCan be a file URL (returned by Camera plugin by using CameraResultType.Uri)\nor a base64 data URL (returned by Camera plugin by using CameraResultType.DataUrl).\n\nExample:\n  { image: 'file:///path/to/image.jpg' }\n  { image: 'data:image/png;base64,iVBORw0KG...' }",
        "complexTypes": [
          "RecognitionResults"
        ],
        "slug": "process"
      }
    ],
    "properties": []
  },
  "interfaces": [
    {
      "name": "RecognitionResults",
      "slug": "recognitionresults",
      "docs": "",
      "tags": [],
      "methods": [],
      "properties": [
        {
          "name": "results",
          "tags": [
            {
              "text": "0.0.1",
              "name": "since"
            }
          ],
          "docs": "List of recognized texts",
          "complexTypes": [
            "RecognitionResult"
          ],
          "type": "RecognitionResult[]"
        }
      ]
    },
    {
      "name": "RecognitionResult",
      "slug": "recognitionresult",
      "docs": "",
      "tags": [],
      "methods": [],
      "properties": [
        {
          "name": "text",
          "tags": [
            {
              "text": "0.0.1",
              "name": "since"
            }
          ],
          "docs": "The recognized text.",
          "complexTypes": [],
          "type": "string"
        },
        {
          "name": "confidence",
          "tags": [
            {
              "text": "0.0.1",
              "name": "since"
            }
          ],
          "docs": "The confidence of the recognized text.",
          "complexTypes": [],
          "type": "number"
        }
      ]
    }
  ],
  "enums": [],
  "typeAliases": [],
  "pluginConfigs": []
}