Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions docs/docs/computer-vision/useOCR.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,24 @@ function App() {
}
```

## Language-Specific Recognizers

Each supported language requires its own set of recognizer models.
The built-in constants such as `RECOGNIZER_EN_CRNN_512`, `RECOGNIZER_PL_CRNN_256`, etc., point to specific models trained for a particular language.

> For example:
>
> - To recognize **English** text, use:
> - `RECOGNIZER_EN_CRNN_512`
> - `RECOGNIZER_EN_CRNN_256`
> - `RECOGNIZER_EN_CRNN_128`
> - To recognize **Polish** text, use:
> - `RECOGNIZER_PL_CRNN_512`
> - `RECOGNIZER_PL_CRNN_256`
> - `RECOGNIZER_PL_CRNN_128`

You need to make sure the recognizer models you pass in `recognizerSources` match the `language` you specify.

## Supported languages

| Language | Code Name |
Expand Down
16 changes: 16 additions & 0 deletions docs/docs/computer-vision/useVerticalOCR.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,22 @@ function App() {
}
```

## Language-Specific Recognizers

Each supported language requires its own set of recognizer models.
The built-in constants such as `RECOGNIZER_EN_CRNN_512`, `RECOGNIZER_PL_CRNN_64`, etc., point to specific models trained for a particular language.

> For example:
>
> - To recognize **English** text, use:
> - `RECOGNIZER_EN_CRNN_512`
> - `RECOGNIZER_EN_CRNN_64`
> - To recognize **Polish** text, use:
> - `RECOGNIZER_PL_CRNN_512`
> - `RECOGNIZER_PL_CRNN_64`

You need to make sure the recognizer models you pass in `recognizerSources` match the `language` you specify.

## Supported languages

| Language | Code Name |
Expand Down