{"_id":"@capacitor-mlkit/text-recognition","_rev":"3-c26faed464e56c6f00b92d9e7ac88b81","name":"@capacitor-mlkit/text-recognition","dist-tags":{"latest":"8.2.1"},"versions":{"8.1.0":{"name":"@capacitor-mlkit/text-recognition","version":"8.1.0","keywords":["capacitor","plugin","native","capacitor-plugin","text recognition","text recognizer","ocr","mlkit"],"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"Apache-2.0","_id":"@capacitor-mlkit/text-recognition@8.1.0","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"homepage":"https://capawesome.io/docs/sdks/capacitor/mlkit/text-recognition/","bugs":{"url":"https://github.com/capawesome-team/capacitor-mlkit/issues"},"dist":{"shasum":"fadadd9763be05809f284f2d8cc9cee6127456f2","tarball":"https://registry.npmjs.org/@capacitor-mlkit/text-recognition/-/text-recognition-8.1.0.tgz","fileCount":37,"integrity":"sha512-LcYU2fON9blLInKpu837HxDaxur5kqP67Ytlt8XQ3G6dn5GqUWOGjcGT/lBp8/CEfNtH2Kph958y/pCIRrNDyw==","signatures":[{"sig":"MEUCIHkdUoV9hZ0Mt8ZPOPwEsr4pKOMuxeNVAivtIUOxbKD+AiEApZ+BCC8ed48AYeaHgQX7pXy21INXhDULw2DIOzW15Ts=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":88441},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"6557f01f9f882afd5a13dff597f7635009585822","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api TextRecognitionPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","ios:pod:install":"cd ios && pod install --repo-update && cd .."},"_npmUser":{"name":"robingenz","email":"mail@robingenz.dev"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-mlkit.git","type":"git"},"_npmVersion":"11.13.0","description":"Capacitor plugin for ML Kit Text Recognition on Android and iOS.","directories":{},"_nodeVersion":"24.16.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.1.2","rollup":"4.53.3","swiftlint":"2.0.0","typescript":"5.9.3","@capacitor/cli":"8.0.0","@capacitor/ios":"8.0.0","@capacitor/core":"8.0.0","@capacitor/docgen":"0.3.1","@capacitor/android":"8.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.6.7"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/text-recognition_8.1.0_1783756982229_0.18365804667457541","host":"s3://npm-registry-packages-npm-production"}},"8.2.0":{"name":"@capacitor-mlkit/text-recognition","version":"8.2.0","keywords":["capacitor","plugin","native","capacitor-plugin","text recognition","text recognizer","ocr","mlkit"],"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"Apache-2.0","_id":"@capacitor-mlkit/text-recognition@8.2.0","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"homepage":"https://capawesome.io/docs/sdks/capacitor/mlkit/text-recognition/","bugs":{"url":"https://github.com/capawesome-team/capacitor-mlkit/issues"},"dist":{"shasum":"ebd7150b201473b243fe6fc9dc2ce7f6a39d9d3d","tarball":"https://registry.npmjs.org/@capacitor-mlkit/text-recognition/-/text-recognition-8.2.0.tgz","fileCount":37,"integrity":"sha512-JFrL8R0Ku3HAxPoEfdg1uNqL0WIdsqfMBrfC6CzKA5MIRZy736zxQkKd79x35T/h9JInPzBxI6Fnno0G4LAfSw==","signatures":[{"sig":"MEUCIQD9e2eXuA6ZF0SbYr6ZN2y64gUEZe2OVHoy90exyGgSwwIgZM71NM7DYnmDvuPaFeH1BbZp3sxX/STvu7lN8tirWRo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capacitor-mlkit%2ftext-recognition@8.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":88450},"main":"dist/plugin.cjs.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"b960e3339eb497476360d5a6b24bb993f3449ba8","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api TextRecognitionPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","ios:pod:install":"cd ios && pod install --repo-update && cd .."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b21e791e-0827-467e-afc5-d325caa92294"}},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-mlkit.git","type":"git"},"_npmVersion":"11.16.0","description":"Capacitor plugin for ML Kit Text Recognition on Android and iOS.","directories":{},"_nodeVersion":"24.18.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.1.2","rollup":"4.53.3","swiftlint":"2.0.0","typescript":"5.9.3","@capacitor/cli":"8.0.0","@capacitor/ios":"8.0.0","@capacitor/core":"8.0.0","@capacitor/docgen":"0.3.1","@capacitor/android":"8.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.6.7"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"tmp":"tmp/text-recognition_8.2.0_1784269885525_0.059818935556888775","host":"s3://npm-registry-packages-npm-production"}},"8.2.1":{"_id":"@capacitor-mlkit/text-recognition@8.2.1","bugs":{"url":"https://github.com/capawesome-team/capacitor-mlkit/issues"},"dist":{"shasum":"f9a416b0f625903b8a2b9502159fc348a2a77643","tarball":"https://registry.npmjs.org/@capacitor-mlkit/text-recognition/-/text-recognition-8.2.1.tgz","fileCount":37,"integrity":"sha512-FeNR+Og2aLe7UK45SfW6G3VyM3UDoijxkrwkecsuV1dO2TrL99ZpS3V5h34secK0dwmsn8DCrEOShZWkBCpxLg==","signatures":[{"sig":"MEYCIQDV/U0Hpu/j5nmYUFHkYYERQ85ae99VEsqwFFmvm9ax4gIhANYB1UJ3Edq4nFqYB9tOK7TU26Wkdl2YrexxxZfp49LG","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCICVdOoP9aFgvOeAfcnC0jYkXUH6/GHjYqjVWApCqgb0qAiB+GeG7ieQdI3TAVsUJHybaZKaqJvCw14Dmg6o/mgzjjQ=="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@capacitor-mlkit%2ftext-recognition@8.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":88360},"main":"dist/plugin.cjs.js","name":"@capacitor-mlkit/text-recognition","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"module":"dist/esm/index.js","funding":[{"url":"https://github.com/sponsors/capawesome-team/","type":"github"},{"url":"https://opencollective.com/capawesome","type":"opencollective"}],"gitHead":"0fcd1977cfb70d9c39d618680045cf01434aebf2","license":"Apache-2.0","scripts":{"fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","docgen":"docgen --api TextRecognitionPlugin --output-readme README.md --output-json dist/docs.json","eslint":"eslint . --ext ts","verify":"npm run verify:ios && npm run verify:android && npm run verify:web","prettier":"prettier \"**/*.{css,html,ts,js,java}\"","swiftlint":"node-swiftlint","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS && cd ..","verify:web":"npm run build","prepublishOnly":"npm run build","verify:android":"cd android && ./gradlew clean build test && cd ..","ios:pod:install":"cd ios && pod install --repo-update && cd .."},"version":"8.2.1","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:b21e791e-0827-467e-afc5-d325caa92294"}},"homepage":"https://capawesome.io/docs/sdks/capacitor/mlkit/text-recognition/","keywords":["capacitor","plugin","native","capacitor-plugin","text recognition","text recognizer","ocr","mlkit"],"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"repository":{"url":"git+https://github.com/capawesome-team/capacitor-mlkit.git","type":"git"},"_npmVersion":"11.19.0","description":"Capacitor plugin for ML Kit Text Recognition on Android and iOS.","directories":{},"maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"_nodeVersion":"24.20.0","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"8.57.0","rimraf":"6.1.2","rollup":"4.62.3","swiftlint":"2.0.0","typescript":"5.9.3","@capacitor/cli":"8.5.0","@capacitor/ios":"8.0.0","@capacitor/core":"8.0.0","@capacitor/docgen":"0.3.1","@capacitor/android":"8.0.0","@ionic/eslint-config":"0.4.0","prettier-plugin-java":"2.9.7"},"peerDependencies":{"@capacitor/core":">=8.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/text-recognition_8.2.1_1789015907610_0.9435487338807309"}}},"time":{"created":"2026-07-11T08:03:02.116Z","modified":"2026-09-10T04:51:48.194Z","8.1.0":"2026-07-11T08:03:02.360Z","8.2.0":"2026-07-17T06:31:25.667Z","8.2.1":"2026-09-10T04:51:47.707Z"},"bugs":{"url":"https://github.com/capawesome-team/capacitor-mlkit/issues"},"author":{"name":"Robin Genz","email":"mail@robingenz.dev"},"license":"Apache-2.0","homepage":"https://capawesome.io/docs/sdks/capacitor/mlkit/text-recognition/","keywords":["capacitor","plugin","native","capacitor-plugin","text recognition","text recognizer","ocr","mlkit"],"repository":{"url":"git+https://github.com/capawesome-team/capacitor-mlkit.git","type":"git"},"description":"Capacitor plugin for ML Kit Text Recognition on Android and iOS.","maintainers":[{"name":"robingenz","email":"mail@robingenz.dev"}],"readme":"# Capacitor ML Kit Text Recognition Plugin\n\nUnofficial Capacitor plugin for [ML Kit Text Recognition](https://developers.google.com/ml-kit/vision/text-recognition/v2).[^1]\n\n<div class=\"capawesome-z29o10a\">\n  <a href=\"https://cloud.capawesome.io/\" target=\"_blank\">\n    <img alt=\"Deliver Live Updates to your Capacitor app with Capawesome Cloud\" src=\"https://cloud.capawesome.io/assets/banners/cloud-build-and-deploy-capacitor-apps.png?t=1\" />\n  </a>\n</div>\n\n## Use Cases\n\nThe Text Recognition plugin is typically used whenever an app needs to extract text from an image, for example:\n\n- **Document digitization**: Convert printed documents, receipts, or business cards into machine-readable text.\n- **Data entry automation**: Extract text from forms or labels to prefill input fields and reduce manual typing.\n- **Accessibility**: Read text found in images aloud to support screen readers and other assistive technologies.\n- **Translation pipelines**: Recognize text in an image before passing it on to a translation service.\n\n## Compatibility\n\n| Plugin Version | Capacitor Version | Status         |\n| -------------- | ----------------- | -------------- |\n| 8.x.x          | >=8.x.x           | Active support |\n\n## Installation\n\nYou can use our **AI-Assisted Setup** to install the plugin.\nAdd the [Capawesome Skills](https://github.com/capawesome-team/skills) to your AI tool using the following command:\n\n```bash\nnpx skills add capawesome-team/skills --skill capacitor-plugins\n```\n\nThen use the following prompt:\n\n```\nUse the `capacitor-plugins` skill from `capawesome-team/skills` to install the `@capacitor-mlkit/text-recognition` plugin in my project.\n```\n\nIf you prefer **Manual Setup**, install the plugin by running the following commands and follow the platform-specific instructions below:\n\n```bash\nnpm install @capacitor-mlkit/text-recognition\nnpx cap sync\n```\n\n**Attention**: This plugin **only supports CocoaPods** for iOS dependency management. Swift Package Manager (SPM) is not supported for the ML Kit SDK, see [this comment](https://github.com/googlesamples/mlkit/issues/180#issuecomment-1298964099).\n\n### App Size Impact\n\nThis plugin bundles a separate model for each supported script (Latin, Chinese, Devanagari, Japanese, and Korean). Each model increases the size of your app by several megabytes. Keep this in mind when deciding which scripts your app actually needs.\n\n### Android\n\n#### Variables\n\nIf needed, you can define the following project variables in your app’s `variables.gradle` file to change the default version of the dependencies:\n\n- `$mlkitTextRecognitionVersion` version of `com.google.mlkit:text-recognition` (default: `16.0.1`)\n- `$mlkitTextRecognitionChineseVersion` version of `com.google.mlkit:text-recognition-chinese` (default: `16.0.1`)\n- `$mlkitTextRecognitionDevanagariVersion` version of `com.google.mlkit:text-recognition-devanagari` (default: `16.0.1`)\n- `$mlkitTextRecognitionJapaneseVersion` version of `com.google.mlkit:text-recognition-japanese` (default: `16.0.1`)\n- `$mlkitTextRecognitionKoreanVersion` version of `com.google.mlkit:text-recognition-korean` (default: `16.0.1`)\n\nThis can be useful if you encounter dependency conflicts with other plugins in your project.\n\n### iOS\n\n#### Minimum Deployment Target\n\nMake sure to set the deployment target in your `ios/App/Podfile` to at least `15.5`:\n\n```ruby\nplatform :ios, '15.5'\n```\n\n## Configuration\n\nNo configuration required for this plugin.\n\n## Demo\n\nA working example can be found here: [robingenz/capacitor-mlkit-plugin-demo](https://github.com/robingenz/capacitor-mlkit-plugin-demo)\n\n## Usage\n\nThe following example shows how to recognize text in an image.\n\n### Recognize text in an image\n\nRecognize text in an image at a local path. You can select the script of the text to recognize. Only available on Android and iOS:\n\n```typescript\nimport { Script, TextRecognition } from '@capacitor-mlkit/text-recognition';\n\nconst processImage = async () => {\n  const { text, blocks } = await TextRecognition.processImage({\n    path: 'path/to/image.jpg',\n    script: Script.Latin,\n  });\n  return { text, blocks };\n};\n```\n\n## API\n\n<docgen-index>\n\n* [`processImage(...)`](#processimage)\n* [Interfaces](#interfaces)\n* [Enums](#enums)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### processImage(...)\n\n```typescript\nprocessImage(options: ProcessImageOptions) => Promise<ProcessImageResult>\n```\n\nRecognizes text in the supplied image.\n\nOnly available on Android and iOS.\n\n| Param         | Type                                                                |\n| ------------- | ------------------------------------------------------------------- |\n| **`options`** | <code><a href=\"#processimageoptions\">ProcessImageOptions</a></code> |\n\n**Returns:** <code>Promise&lt;<a href=\"#processimageresult\">ProcessImageResult</a>&gt;</code>\n\n**Since:** 8.2.0\n\n--------------------\n\n\n### Interfaces\n\n\n#### ProcessImageResult\n\n| Prop         | Type                     | Description                    | Since |\n| ------------ | ------------------------ | ------------------------------ | ----- |\n| **`text`**   | <code>string</code>      | The full recognized text.      | 8.2.0 |\n| **`blocks`** | <code>TextBlock[]</code> | The recognized blocks of text. | 8.2.0 |\n\n\n#### TextBlock\n\nRepresents a block of text.\n\nA block is a contiguous set of text lines, such as a paragraph or a column.\n\n| Prop                     | Type                                  | Description                                                                                                     | Since |\n| ------------------------ | ------------------------------------- | --------------------------------------------------------------------------------------------------------------- | ----- |\n| **`text`**               | <code>string</code>                   | The recognized text of the block.                                                                               | 8.2.0 |\n| **`boundingBox`**        | <code><a href=\"#rect\">Rect</a></code> | The bounding box of the block.                                                                                  | 8.2.0 |\n| **`cornerPoints`**       | <code>Point[]</code>                  | The four corner points of the block in clockwise order, starting with the top-left point relative to the image. | 8.2.0 |\n| **`recognizedLanguage`** | <code>string</code>                   | The BCP-47 language code of the recognized language of the block.                                               | 8.2.0 |\n| **`lines`**              | <code>TextLine[]</code>               | The recognized lines of text within the block.                                                                  | 8.2.0 |\n\n\n#### Rect\n\nRepresents a rectangle.\n\n| Prop         | Type                | Description                             | Since |\n| ------------ | ------------------- | --------------------------------------- | ----- |\n| **`left`**   | <code>number</code> | The left coordinate of the rectangle.   | 8.2.0 |\n| **`top`**    | <code>number</code> | The top coordinate of the rectangle.    | 8.2.0 |\n| **`right`**  | <code>number</code> | The right coordinate of the rectangle.  | 8.2.0 |\n| **`bottom`** | <code>number</code> | The bottom coordinate of the rectangle. | 8.2.0 |\n\n\n#### Point\n\nRepresents a point.\n\n| Prop    | Type                | Description                    | Since |\n| ------- | ------------------- | ------------------------------ | ----- |\n| **`x`** | <code>number</code> | The x coordinate of the point. | 8.2.0 |\n| **`y`** | <code>number</code> | The y coordinate of the point. | 8.2.0 |\n\n\n#### TextLine\n\nRepresents a line of text.\n\n| Prop                     | Type                                  | Description                                                                                                    | Since |\n| ------------------------ | ------------------------------------- | -------------------------------------------------------------------------------------------------------------- | ----- |\n| **`text`**               | <code>string</code>                   | The recognized text of the line.                                                                               | 8.2.0 |\n| **`boundingBox`**        | <code><a href=\"#rect\">Rect</a></code> | The bounding box of the line.                                                                                  | 8.2.0 |\n| **`cornerPoints`**       | <code>Point[]</code>                  | The four corner points of the line in clockwise order, starting with the top-left point relative to the image. | 8.2.0 |\n| **`recognizedLanguage`** | <code>string</code>                   | The BCP-47 language code of the recognized language of the line.                                               | 8.2.0 |\n| **`elements`**           | <code>TextElement[]</code>            | The recognized elements of text within the line.                                                               | 8.2.0 |\n\n\n#### TextElement\n\nRepresents an element of text.\n\nAn element is a contiguous set of characters, such as a word.\n\n| Prop                     | Type                                  | Description                                                                                                       | Since |\n| ------------------------ | ------------------------------------- | ----------------------------------------------------------------------------------------------------------------- | ----- |\n| **`text`**               | <code>string</code>                   | The recognized text of the element.                                                                               | 8.2.0 |\n| **`boundingBox`**        | <code><a href=\"#rect\">Rect</a></code> | The bounding box of the element.                                                                                  | 8.2.0 |\n| **`cornerPoints`**       | <code>Point[]</code>                  | The four corner points of the element in clockwise order, starting with the top-left point relative to the image. | 8.2.0 |\n| **`recognizedLanguage`** | <code>string</code>                   | The BCP-47 language code of the recognized language of the element.                                               | 8.2.0 |\n\n\n#### ProcessImageOptions\n\n| Prop         | Type                                      | Description                                                                                              | Default                   | Since |\n| ------------ | ----------------------------------------- | -------------------------------------------------------------------------------------------------------- | ------------------------- | ----- |\n| **`path`**   | <code>string</code>                       | The local path to the image file.                                                                        |                           | 8.2.0 |\n| **`script`** | <code><a href=\"#script\">Script</a></code> | The script of the text to recognize. Each script requires a separate model that is bundled with the app. | <code>Script.Latin</code> | 8.2.0 |\n\n\n### Enums\n\n\n#### Script\n\n| Members          | Value                     | Description            | Since |\n| ---------------- | ------------------------- | ---------------------- | ----- |\n| **`Latin`**      | <code>'LATIN'</code>      | The Latin script.      | 8.2.0 |\n| **`Chinese`**    | <code>'CHINESE'</code>    | The Chinese script.    | 8.2.0 |\n| **`Devanagari`** | <code>'DEVANAGARI'</code> | The Devanagari script. | 8.2.0 |\n| **`Japanese`**   | <code>'JAPANESE'</code>   | The Japanese script.   | 8.2.0 |\n| **`Korean`**     | <code>'KOREAN'</code>     | The Korean script.     | 8.2.0 |\n\n</docgen-api>\n\n## FAQ\n\n### Which platforms are supported by this plugin?\n\nThe `processImage(...)` method is only available on Android and iOS. The Web platform is not supported by the underlying ML Kit Text Recognition SDK.\n\n### Which scripts are supported?\n\nThe plugin supports the Latin, Chinese, Devanagari, Japanese, and Korean scripts. Use the `script` option to select the script of the text you want to recognize. Each script uses a separate model that is bundled with your app.\n\n### Does bundling all scripts increase the app size?\n\nYes. Each script model adds several megabytes to your app. All five models are bundled so that every script can be used at runtime without an additional download.\n\n### In which format do I have to provide the image path?\n\nThe `path` must be a local file path (e.g. `file:///path/to/image.jpg`). Remote URLs are not supported.\n\n### Can I use this plugin with Ionic, React, Vue or Angular?\n\nYes, the plugin is framework-agnostic. It works in any Capacitor app regardless of the web framework, including Ionic with Angular, React, or Vue, as well as plain JavaScript projects.\n\n## Related Plugins\n\n- [ML Kit Barcode Scanning](https://capawesome.io/docs/sdks/capacitor/mlkit/barcode-scanning/): Scan barcodes with ML Kit Barcode Scanning.\n- [ML Kit Image Labeling](https://capawesome.io/docs/sdks/capacitor/mlkit/image-labeling/): Detect labels in images with ML Kit Image Labeling.\n- [ML Kit Face Detection](https://capawesome.io/docs/sdks/capacitor/mlkit/face-detection/): Detect faces in images with ML Kit Face Detection.\n\n## Terms & Privacy\n\nThis plugin uses the [Google ML Kit](https://developers.google.com/ml-kit):\n\n- [Terms & Privacy](https://developers.google.com/ml-kit/terms)\n- [Android Data Disclosure](https://developers.google.com/ml-kit/android-data-disclosure)\n- [iOS Data Disclosure](https://developers.google.com/ml-kit/ios-data-disclosure)\n\n## Newsletter\n\nStay up to date with the latest news and updates about the Capawesome, Capacitor, and Ionic ecosystem by subscribing to our [Capawesome Newsletter](https://cloud.capawesome.io/newsletter/).\n\n## Changelog\n\nSee [CHANGELOG.md](https://github.com/capawesome-team/capacitor-mlkit/blob/main/packages/text-recognition/CHANGELOG.md).\n\n## License\n\nSee [LICENSE](https://github.com/capawesome-team/capacitor-mlkit/blob/main/packages/text-recognition/LICENSE).\n\n[^1]: This project is not affiliated with, endorsed by, sponsored by, or approved by Google LLC or any of their affiliates or subsidiaries.\n","readmeFilename":"README.md"}