---
title: "rapidocr 3.10.0 Breaking Changes on PyPI | Since.dev"
description: "What each rapidocr release removed, renamed or changed: 19 breaking changes in 1 version on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/rapidocr
last_updated: 2026-12-04
---

# rapidocr breaking changes

rapidocr 3.10.0 (October 8, 2026) is its newest release with breaking changes, 19 of them. The first: Removes the optional OpenCV dependency in rapidocr 3.10.0. Every breaking API change we have recorded in rapidocr on PyPI: 19 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `3.10.0`, released October 8, 2026. [Source repository](https://github.com/RapidAI/RapidOCR)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

## rapidocr 3.10.0 breaking changes

rapidocr 3.10.0, released October 8, 2026: 19 breaking changes.

- **Removed**  

The optional OpenCV dependency was removed from the package. Install OpenCV yourself if your code needs it. [github.com](https://github.com/RapidAI/RapidOCR/releases/tag/v3.10.0)
- **Removed** `rapidocr.ch_ppocr_rec.main.TextRecognizer.RTL_LANGS`  

rapidocr.ch_ppocr_rec.main.TextRecognizer.RTL_LANGS was removed in rapidocr 3.10.0 [pypi.org](https://pypi.org/project/rapidocr/3.10.0/)
- **Removed** `rapidocr.ch_ppocr_rec.TextRecognizer.RTL_LANGS`  

rapidocr.ch_ppocr_rec.TextRecognizer.RTL_LANGS was removed in rapidocr 3.10.0 [pypi.org](https://pypi.org/project/rapidocr/3.10.0/)
- **Removed** `rapidocr.main.TextRecognizer.RTL_LANGS`  

rapidocr.main.TextRecognizer.RTL_LANGS was removed in rapidocr 3.10.0 [pypi.org](https://pypi.org/project/rapidocr/3.10.0/)
- **Removed** `rapidocr.utils.model_resolver.COMMON_LANG_ALIASES`  

rapidocr.utils.model_resolver.COMMON_LANG_ALIASES was removed in rapidocr 3.10.0 [pypi.org](https://pypi.org/project/rapidocr/3.10.0/)
- **Removed** `rapidocr.utils.model_resolver.ModelRoute`  

rapidocr.utils.model_resolver.ModelRoute was removed in rapidocr 3.10.0 [pypi.org](https://pypi.org/project/rapidocr/3.10.0/)
- **Removed** `rapidocr.utils.model_resolver.PP_OCRV6_LANGS`  

rapidocr.utils.model_resolver.PP_OCRV6_LANGS was removed in rapidocr 3.10.0 [pypi.org](https://pypi.org/project/rapidocr/3.10.0/)
- **Removed** `rapidocr.utils.model_resolver.PP_OCRV6_LANGS_BY_MODEL_TYPE`  

rapidocr.utils.model_resolver.PP_OCRV6_LANGS_BY_MODEL_TYPE was removed in rapidocr 3.10.0 [pypi.org](https://pypi.org/project/rapidocr/3.10.0/)
- **Removed** `rapidocr.utils.model_resolver.PP_OCRV6_TINY_LANGS`  

rapidocr.utils.model_resolver.PP_OCRV6_TINY_LANGS was removed in rapidocr 3.10.0 [pypi.org](https://pypi.org/project/rapidocr/3.10.0/)
- **Renamed** `rapidocr.inference_engine.base.resolve_model_key`  

Use rapidocr.inference_engine.base.route_to_model_key instead. [pypi.org](https://pypi.org/project/rapidocr/3.10.0/)
- **Renamed** `rapidocr.inference_engine.tensorrt.main.resolve_model_key`  

Use rapidocr.inference_engine.tensorrt.main.route_to_model_key instead. [pypi.org](https://pypi.org/project/rapidocr/3.10.0/)
- **Renamed** `rapidocr.utils.model_resolver.resolve_model_key`  

Use rapidocr.utils.model_resolver.route_to_model_key instead. [pypi.org](https://pypi.org/project/rapidocr/3.10.0/)
- **Behavior changed**  

OpenCV is installed in headless mode by default. Code that needs GUI features must opt in to the GUI variant. [github.com](https://github.com/RapidAI/RapidOCR/releases/tag/v3.10.0)
- **Behavior changed**  

Torch weights are now loaded with weights_only=True, so checkpoints containing arbitrary Python objects may no longer load. [github.com](https://github.com/RapidAI/RapidOCR/releases/tag/v3.10.0)
- **Behavior changed**  

Model loading now requires PyTorch 1.13 or later. Upgrade PyTorch if you use the torch engine. [github.com](https://github.com/RapidAI/RapidOCR/releases/tag/v3.10.0)
- **Behavior changed**  

Arabic OCR now validates python-bidi when it is initialized and fails early if it is missing. [github.com](https://github.com/RapidAI/RapidOCR/releases/tag/v3.10.0)
- **Signature changed** `rapidocr.ch_ppocr_det.TextDetector.get_preprocess`  

Was def get_preprocess(self, max_wh: int) -> DetPreProcess; now def get_preprocess(self) -> DetPreProcess. [pypi.org](https://pypi.org/project/rapidocr/3.10.0/)
- **Signature changed** `rapidocr.inference_engine.pytorch.networks.heads.rec_multi_head.Transformer.generate_square_subsequent_mask`  

Was def generate_square_subsequent_mask(self, sz); now def generate_square_subsequent_mask(self, sz, device=None). [pypi.org](https://pypi.org/project/rapidocr/3.10.0/)
- **Signature changed** `rapidocr.main.RapidOCR.__call__`  

Was def \_\_call\_\_(self, img_content: Union\[str, np.ndarray, bytes, Path\], use_det: Optional\[bool\] = None, use_cls: Optional\[bool\] = None, use_rec: Optional\[bool\] = None, return_word_box: Optional\[bool\] = None, return_single_char_box... [pypi.org](https://pypi.org/project/rapidocr/3.10.0/)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
