{
  "api": {
    "name": "DocumentNormalizerPlugin",
    "slug": "documentnormalizerplugin",
    "docs": "",
    "tags": [],
    "methods": [
      {
        "name": "initialize",
        "signature": "() => Promise<void>",
        "parameters": [],
        "returns": "Promise<void>",
        "tags": [],
        "docs": "",
        "complexTypes": [],
        "slug": "initialize"
      },
      {
        "name": "initLicense",
        "signature": "(options: { license: string; }) => Promise<void>",
        "parameters": [
          {
            "name": "options",
            "docs": "",
            "type": "{ license: string; }"
          }
        ],
        "returns": "Promise<void>",
        "tags": [],
        "docs": "",
        "complexTypes": [],
        "slug": "initlicense"
      },
      {
        "name": "initRuntimeSettingsFromString",
        "signature": "(options: { template: string; }) => Promise<void>",
        "parameters": [
          {
            "name": "options",
            "docs": "",
            "type": "{ template: string; }"
          }
        ],
        "returns": "Promise<void>",
        "tags": [],
        "docs": "",
        "complexTypes": [],
        "slug": "initruntimesettingsfromstring"
      },
      {
        "name": "detect",
        "signature": "(options: { path?: string; source?: string | HTMLImageElement | HTMLCanvasElement; template?: string; }) => Promise<{ results: DetectedQuadResultItem[]; }>",
        "parameters": [
          {
            "name": "options",
            "docs": "",
            "type": "{ path?: string | undefined; source?: any; template?: string | undefined; }"
          }
        ],
        "returns": "Promise<{ results: DetectedQuadResultItem[]; }>",
        "tags": [],
        "docs": "source: Android and iOS only support base64 string.\npath: for Android and iOS.\ntemplate: pass a template name to specify the template",
        "complexTypes": [
          "DetectedQuadResultItem",
          "HTMLImageElement",
          "HTMLCanvasElement"
        ],
        "slug": "detect"
      },
      {
        "name": "detectBitmap",
        "signature": "(options: { className?: string; methodName?: string; template?: string; }) => Promise<{ results: DetectedQuadResultItem[]; }>",
        "parameters": [
          {
            "name": "options",
            "docs": "",
            "type": "{ className?: string | undefined; methodName?: string | undefined; template?: string | undefined; }"
          }
        ],
        "returns": "Promise<{ results: DetectedQuadResultItem[]; }>",
        "tags": [],
        "docs": "Android and iOS only method which directly reads camera frames from capacitor-plugin-camera.  Pass a template name to specify the template.",
        "complexTypes": [
          "DetectedQuadResultItem"
        ],
        "slug": "detectbitmap"
      },
      {
        "name": "normalize",
        "signature": "(options: { path?: string; source?: string | HTMLImageElement | HTMLCanvasElement; quad: Quadrilateral; template?: string; saveToFile?: boolean; includeBase64?: boolean; }) => Promise<{ result: NormalizedImageResult; }>",
        "parameters": [
          {
            "name": "options",
            "docs": "",
            "type": "{ path?: string | undefined; source?: any; quad: Quadrilateral; template?: string | undefined; saveToFile?: boolean | undefined; includeBase64?: boolean | undefined; }"
          }
        ],
        "returns": "Promise<{ result: NormalizedImageResult; }>",
        "tags": [],
        "docs": "source: Android and iOS only support base64 string.\npath: for Android and iOS.\ntemplate: pass a template name to specify the template",
        "complexTypes": [
          "NormalizedImageResult",
          "HTMLImageElement",
          "HTMLCanvasElement",
          "Quadrilateral"
        ],
        "slug": "normalize"
      },
      {
        "name": "detectAndNormalize",
        "signature": "(options: { path?: string; source?: string | HTMLImageElement | HTMLCanvasElement; template?: string; saveToFile?: boolean; includeBase64?: boolean; }) => Promise<{ result: NormalizedImageResult; }>",
        "parameters": [
          {
            "name": "options",
            "docs": "",
            "type": "{ path?: string | undefined; source?: any; template?: string | undefined; saveToFile?: boolean | undefined; includeBase64?: boolean | undefined; }"
          }
        ],
        "returns": "Promise<{ result: NormalizedImageResult; }>",
        "tags": [],
        "docs": "source: Android and iOS only support base64 string.\npath: for Android and iOS.\ntemplate: pass a template name to specify the template",
        "complexTypes": [
          "NormalizedImageResult",
          "HTMLImageElement",
          "HTMLCanvasElement"
        ],
        "slug": "detectandnormalize"
      },
      {
        "name": "setEngineResourcePaths",
        "signature": "(options: { paths: any; }) => Promise<void>",
        "parameters": [
          {
            "name": "options",
            "docs": "",
            "type": "{ paths: any; }"
          }
        ],
        "returns": "Promise<void>",
        "tags": [],
        "docs": "Web Only",
        "complexTypes": [],
        "slug": "setengineresourcepaths"
      }
    ],
    "properties": []
  },
  "interfaces": [
    {
      "name": "DetectedQuadResultItem",
      "slug": "detectedquadresultitem",
      "docs": "",
      "tags": [],
      "methods": [],
      "properties": [
        {
          "name": "location",
          "tags": [],
          "docs": "The location of the detected quadrilateral within the original image, represented as a quadrilateral shape.",
          "complexTypes": [
            "Quadrilateral"
          ],
          "type": "Quadrilateral"
        },
        {
          "name": "confidenceAsDocumentBoundary",
          "tags": [],
          "docs": "A confidence score related to the detected quadrilateral's accuracy as a document boundary.",
          "complexTypes": [],
          "type": "number"
        },
        {
          "name": "CrossVerificationStatus",
          "tags": [],
          "docs": "Indicates whether the DetectedQuadResultItem has passed corss verification.",
          "complexTypes": [
            "EnumCrossVerificationStatus"
          ],
          "type": "EnumCrossVerificationStatus"
        }
      ]
    },
    {
      "name": "Quadrilateral",
      "slug": "quadrilateral",
      "docs": "",
      "tags": [],
      "methods": [],
      "properties": [
        {
          "name": "points",
          "tags": [],
          "docs": "An array of four `Point` objects defining the vertices of the quadrilateral.",
          "complexTypes": [
            "Point"
          ],
          "type": "[Point, Point, Point, Point]"
        },
        {
          "name": "boundingRect",
          "tags": [],
          "docs": "The bounding rectangle of the quadrilateral, represented by a `DSRect` object.",
          "complexTypes": [
            "DSRect"
          ],
          "type": "DSRect"
        },
        {
          "name": "area",
          "tags": [],
          "docs": "The area of the quadrilateral.",
          "complexTypes": [],
          "type": "number | undefined"
        }
      ]
    },
    {
      "name": "Point",
      "slug": "point",
      "docs": "",
      "tags": [],
      "methods": [],
      "properties": [
        {
          "name": "x",
          "tags": [],
          "docs": "The x-coordinate of the point.",
          "complexTypes": [],
          "type": "number"
        },
        {
          "name": "y",
          "tags": [],
          "docs": "The y-coordinate of the point.",
          "complexTypes": [],
          "type": "number"
        }
      ]
    },
    {
      "name": "DSRect",
      "slug": "dsrect",
      "docs": "",
      "tags": [],
      "methods": [],
      "properties": [
        {
          "name": "left",
          "tags": [],
          "docs": "The left coordinate of the rectangle.",
          "complexTypes": [],
          "type": "number"
        },
        {
          "name": "right",
          "tags": [],
          "docs": "The right coordinate of the rectangle.",
          "complexTypes": [],
          "type": "number"
        },
        {
          "name": "top",
          "tags": [],
          "docs": "The top coordinate of the rectangle.",
          "complexTypes": [],
          "type": "number"
        },
        {
          "name": "bottom",
          "tags": [],
          "docs": "The bottom coordinate of the rectangle.",
          "complexTypes": [],
          "type": "number"
        },
        {
          "name": "isMeasuredInPercentage",
          "tags": [],
          "docs": "Indicates if the rectangle's measurements are in percentages.",
          "complexTypes": [],
          "type": "boolean | undefined"
        }
      ]
    },
    {
      "name": "NormalizedImageResult",
      "slug": "normalizedimageresult",
      "docs": "",
      "tags": [],
      "methods": [],
      "properties": [
        {
          "name": "base64",
          "tags": [],
          "docs": "",
          "complexTypes": [],
          "type": "string | undefined"
        },
        {
          "name": "path",
          "tags": [],
          "docs": "",
          "complexTypes": [],
          "type": "string | undefined"
        }
      ]
    }
  ],
  "enums": [
    {
      "name": "EnumCrossVerificationStatus",
      "slug": "enumcrossverificationstatus",
      "members": [
        {
          "name": "CVS_NOT_VERIFIED",
          "value": "0",
          "tags": [],
          "docs": "The cross verification has not been performed yet."
        },
        {
          "name": "CVS_PASSED",
          "value": "1",
          "tags": [],
          "docs": "The cross verification has been passed successfully."
        },
        {
          "name": "CVS_FAILED",
          "value": "2",
          "tags": [],
          "docs": "The cross verification has failed."
        }
      ]
    }
  ],
  "typeAliases": [],
  "pluginConfigs": []
}