matlab/matlab-agentic-toolkit / skills-catalog/image-processing-and-computer-vision/matlab-recognize-text
matlab-recognize-text
VerifiedBuild OCR pipelines in MATLAB using the ocr() function. Use this skill when the user wants to read text from images, documents, signs, meters, displays, license plates, gauges, receipts, or seven-segment displays. Covers image preprocessing, text detection (CRAFT, MSER), ROI-based recognition, multi-language OCR, and custom model training. Use when: OCR, text recognition, extract text from image, character recognition, document scanning, meter reading, gauge reading, receipt scanning, digitize text from photo.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 20.5 KB |
| manifest.yaml | config | 485 B |
| reference/batch-pipeline.md | markdown | 2.3 KB |
| reference/detection-methods.md | markdown | 3.6 KB |
| reference/function-reference.md | markdown | 3.8 KB |
| reference/limitations.md | markdown | 2.4 KB |
| reference/preprocessing-guide.md | markdown | 8.1 KB |
| reference/supported-languages.md | markdown | 2.9 KB |
| reference/training-guide.md | markdown | 5.6 KB |
reference/supported-languages.md
View on GitHub# Supported OCR Languages
The `ocr` function supports 64+ languages via the OCR Language Data support package add-on.
## Usage
```matlab
% Specify language model
results = ocr(I, Model="french");
% Fast variant (quantized, less accurate but faster)
results = ocr(I, Model="french-fast");
```
## Available Languages
| Language | Model Name |
|----------|-----------|
| Afrikaans | `"afrikaans"` |
| Albanian | `"albanian"` |
| Ancient Greek | `"ancientgreek"` |
| Arabic | `"arabic"` |
| Azerbaijani | `"azerbaijani"` |
| Basque | `"basque"` |
| Belarusian | `"belarusian"` |
| Bengali | `"bengali"` |
| Bulgarian | `"bulgarian"` |
| Catalan | `"catalan"` |
| Cherokee | `"cherokee"` |
| Chinese (Simplified) | `"chinesesimplified"` |
| Chinese (Traditional) | `"chinesetraditional"` |
| Croatian | `"croatian"` |
| Czech | `"czech"` |
| Danish | `"danish"` |
| Dutch | `"dutch"` |
| English | `"english"` |
| Esperanto | `"esperanto"` |
| Esperanto (Alternative) | `"esperantoalternative"` |
| Estonian | `"estonian"` |
| Finnish | `"finnish"` |
| Frankish | `"frankish"` |
| French | `"french"` |
| Galician | `"galician"` |
| German | `"german"` |
| Greek | `"greek"` |
| Hebrew | `"hebrew"` |
| Hindi | `"hindi"` |
| Hungarian | `"hungarian"` |
| Icelandic | `"icelandic"` |
| Indonesian | `"indonesian"` |
| Italian | `"italian"` |
| Italian (Old) | `"italianold"` |
| Japanese | `"japanese"` |
| Kannada | `"kannada"` |
| Korean | `"korean"` |
| Latvian | `"latvian"` |
| Lithuanian | `"lithuanian"` |
| Macedonian | `"macedonian"` |
| Malay | `"malay"` |
| Malayalam | `"malayalam"` |
| Maltese | `"maltese"` |
| Math Equation | `"mathequation"` |
| Middle English | `"middleenglish"` |
| Middle French | `"middlefrench"` |
| Norwegian | `"norwegian"` |
| Polish | `"polish"` |
| Portuguese | `"portuguese"` |
| Romanian | `"romanian"` |
| Russian | `"russian"` |
| Serbian (Latin) | `"serbianlatin"` |
| Slovakian | `"slovakian"` |
| Slovenian | `"slovenian"` |
| Spanish | `"spanish"` |
| Spanish (Old) | `"spanishold"` |
| Swahili | `"swahili"` |
| Swedish | `"swedish"` |
| Tagalog | `"tagalog"` |
| Tamil | `"tamil"` |
| Telugu | `"telugu"` |
| Thai | `"thai"` |
| Turkish | `"turkish"` |
| Ukrainian | `"ukrainian"` |
## Special Models
| Model | Use Case |
|-------|----------|
| `"english"` | Default; general English text |
| `"seven-segment"` | Seven-segment LED/LCD displays |
| `"mathequation"` | Mathematical equations and symbols |
| `"<language>-fast"` | Quantized variant of any language (faster, slightly less accurate) |
## Installation
The OCR Language Data support package must be installed for non-English languages:
```matlab
% Check if support package is installed
supportPackageInstalled = ~isempty(which("ocr")) && ...
exist(fullfile(matlabroot,"toolbox","vision","supportpackages","ocrlanguagedata"), "dir");
```
Install via Add-On Explorer or MATLAB command line if not present.
----
Copyright 2026 The MathWorks, Inc.
----
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deployment | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved. | Stars: 197k | Updated | Claude CodeCodex | Verified | Install |
| shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |