---
title: "opencv-contrib-python 5.0.0.93 Breaking Changes on PyPI"
description: "What each opencv-contrib-python release removed, renamed or changed: 15 breaking changes in 1 version on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/opencv-contrib-python
last_updated: 2026-12-04
---

# opencv-contrib-python breaking changes

opencv-contrib-python 5.0.0.93 (July 2, 2026) is its newest release with breaking changes, 15 of them. The first: Signature changed cv2.ccm.ColorCorrectionModel.setColorSpace. Every breaking API change we have recorded in opencv-contrib-python on PyPI: 15 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 `5.1.0.95`, released November 17, 2026. [Source repository](https://github.com/opencv/opencv-python)

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

## opencv-contrib-python 5.0.0.93 breaking changes

opencv-contrib-python 5.0.0.93, released July 2, 2026: 15 breaking changes.

- **Signature changed** `cv2.ccm.ColorCorrectionModel.setColorSpace`  

Was def setColorSpace(self, cs: COLOR_SPACE) -> None; now def setColorSpace(self, cs: ColorSpace) -> None. [pypi.org](https://pypi.org/project/opencv-contrib-python/5.0.0.93/)
- **Signature changed** `cv2.ccm.ColorCorrectionModel.setDistance`  

Was def setDistance(self, distance: DISTANCE_TYPE) -> None; now def setDistance(self, distance: DistanceType) -> None. [pypi.org](https://pypi.org/project/opencv-contrib-python/5.0.0.93/)
- **Signature changed** `cv2.ccm.ColorCorrectionModel.setInitialMethod`  

Was def setInitialMethod(self, initial_method_type: INITIAL_METHOD_TYPE) -> None; now def setInitialMethod(self, initialMethodType: InitialMethodType) -> None. [pypi.org](https://pypi.org/project/opencv-contrib-python/5.0.0.93/)
- **Signature changed** `cv2.ccm.ColorCorrectionModel.setMaxCount`  

Was def setMaxCount(self, max_count: int) -> None; now def setMaxCount(self, maxCount: int) -> None. [pypi.org](https://pypi.org/project/opencv-contrib-python/5.0.0.93/)
- **Signature changed** `cv2.ccm.ColorCorrectionModel.setWeightCoeff`  

Was def setWeightCoeff(self, weights_coeff: float) -> None; now def setWeightCoeff(self, weightsCoeff: float) -> None. [pypi.org](https://pypi.org/project/opencv-contrib-python/5.0.0.93/)
- **Signature changed** `cv2.ccm.ColorCorrectionModel.setWeightsList`  

Was def setWeightsList(self, weights_list: cv2.typing.MatLike) -> None; now def setWeightsList(self, weightsList: cv2.typing.MatLike) -> None. [pypi.org](https://pypi.org/project/opencv-contrib-python/5.0.0.93/)
- **Signature changed** `cv2.createLineSegmentDetector`  

Was def createLineSegmentDetector(refine: int = ..., scale: float = ..., sigma_scale: float = ..., quant: float = ..., ang_th: float = ..., log_eps: float = ..., density_th: float = ..., n_bins: int = ...) -> LineSegmentDetector; now def... [pypi.org](https://pypi.org/project/opencv-contrib-python/5.0.0.93/)
- **Signature changed** `cv2.detail.BestOf2NearestMatcher.__init__`  

Was def \_\_init\_\_(self, try_use_gpu: bool = ..., match_conf: float = ..., num_matches_thresh1: int = ..., num_matches_thresh2: int = ..., matches_confindece_thresh: float = ...) -> None; now def \_\_init\_\_(self, try_use_gpu: bool =... [pypi.org](https://pypi.org/project/opencv-contrib-python/5.0.0.93/)
- **Signature changed** `cv2.detail.BestOf2NearestMatcher.create`  

Was @classmethod def create(cls, try_use_gpu: bool = ..., match_conf: float = ..., num_matches_thresh1: int = ..., num_matches_thresh2: int = ..., matches_confindece_thresh: float = ...) -> BestOf2NearestMatcher; now @classmethod def... [pypi.org](https://pypi.org/project/opencv-contrib-python/5.0.0.93/)
- **Signature changed** `cv2.dnn.Image2BlobParams.datalayout`  

Was datalayout: DataLayout; now datalayout: cv2.DataLayout. [pypi.org](https://pypi.org/project/opencv-contrib-python/5.0.0.93/)
- **Signature changed** `cv2.mcc.CChecker`  

Was class CChecker; now class CChecker(cv2.Algorithm). [pypi.org](https://pypi.org/project/opencv-contrib-python/5.0.0.93/)
- **Signature changed** `cv2.mcc.CChecker.getChartsRGB`  

Was def getChartsRGB(self) -> cv2.typing.MatLike; now def getChartsRGB(self, getStats: bool = ...) -> cv2.typing.MatLike. [pypi.org](https://pypi.org/project/opencv-contrib-python/5.0.0.93/)
- **Signature changed** `cv2.mcc.CChecker.getTarget`  

Was def getTarget(self) -> TYPECHART; now def getTarget(self) -> ColorChart. [pypi.org](https://pypi.org/project/opencv-contrib-python/5.0.0.93/)
- **Signature changed** `cv2.mcc.CChecker.setTarget`  

Was def setTarget(self, \_target: TYPECHART) -> None; now def setTarget(self, \_target: ColorChart) -> None. [pypi.org](https://pypi.org/project/opencv-contrib-python/5.0.0.93/)
- **Signature changed** `cv2.wechat_qrcode.WeChatQRCode.__init__`  

Was def \_\_init\_\_(self, detector_prototxt_path: str = ..., detector_caffe_model_path: str = ..., super_resolution_prototxt_path: str = ..., super_resolution_caffe_model_path: str = ...) -> None; now def \_\_init\_\_(self, detector_model_path... [pypi.org](https://pypi.org/project/opencv-contrib-python/5.0.0.93/)

## Related packages

- [opencv-python-headless](https://since.dev/packages/pypi/opencv-python-headless.md)
- [opencv-python](https://since.dev/packages/pypi/opencv-python.md)

## 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.
