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
On this page
Latest version 3.10.0, released October 8, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
rapidocr 3.10.0 breaking changes
- Removed
The optional OpenCV dependency was removed from the package. Install OpenCV yourself if your code needs it. github.com - 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 - Removed
rapidocr.ch_ppocr_rec.TextRecognizer.RTL_LANGS
rapidocr.ch_ppocr_rec.TextRecognizer.RTL_LANGS was removed in rapidocr 3.10.0 pypi.org - Removed
rapidocr.main.TextRecognizer.RTL_LANGS
rapidocr.main.TextRecognizer.RTL_LANGS was removed in rapidocr 3.10.0 pypi.org - Removed
rapidocr.utils.model_resolver.COMMON_LANG_ALIASES
rapidocr.utils.model_resolver.COMMON_LANG_ALIASES was removed in rapidocr 3.10.0 pypi.org - Removed
rapidocr.utils.model_resolver.ModelRoute
rapidocr.utils.model_resolver.ModelRoute was removed in rapidocr 3.10.0 pypi.org - Removed
rapidocr.utils.model_resolver.PP_OCRV6_LANGS
rapidocr.utils.model_resolver.PP_OCRV6_LANGS was removed in rapidocr 3.10.0 pypi.org - 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 - 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 - Renamed
rapidocr.inference_engine.base.resolve_model_key
Use rapidocr.inference_engine.base.route_to_model_key instead. pypi.org - Renamed
rapidocr.inference_engine.tensorrt.main.resolve_model_key
Use rapidocr.inference_engine.tensorrt.main.route_to_model_key instead. pypi.org - Renamed
rapidocr.utils.model_resolver.resolve_model_key
Use rapidocr.utils.model_resolver.route_to_model_key instead. pypi.org - Behavior changed
OpenCV is installed in headless mode by default. Code that needs GUI features must opt in to the GUI variant. github.com - Behavior changed
Torch weights are now loaded with weights_only=True, so checkpoints containing arbitrary Python objects may no longer load. github.com - Behavior changed
Model loading now requires PyTorch 1.13 or later. Upgrade PyTorch if you use the torch engine. github.com - Behavior changed
Arabic OCR now validates python-bidi when it is initialized and fails early if it is missing. github.com - 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 - 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 - 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
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.