opencv-python-headless breaking changes
opencv-python-headless 5.1.0.95 (November 17, 2026) is its newest release with breaking changes, 4 of them. The first: Signature changed cv2.dnn.Layer. Every breaking API change we have recorded in opencv-python-headless on PyPI: 8 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 5.1.0.95, released November 17, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
opencv-python-headless 5.1.0.95 breaking changes
- Signature changed
cv2.dnn.Layer
Was class Layer(cv2.Algorithm); now class Layer(LayerInfo). pypi.org - Signature changed
cv2.LightGlueMatcher.create
Was @classmethod def create(cls, modelPath: str, scoreThreshold: float = ..., backend: int = ..., target: int = ...) -> LightGlueMatcher; now @classmethod def create(cls, modelPath: str, scoreThreshold: float = ..., backend: int =... pypi.org - Signature changed
cv2.LightGlueMatcher.createFromMemory
Was @classmethod def createFromMemory(cls, modelData: numpy.ndarray[_typing.Any, numpy.dtype[numpy.uint8]], scoreThreshold: float = ..., backend: int = ..., target: int = ...) -> LightGlueMatcher; now @classmethod def createFromMemory(cls... pypi.org - Signature changed
cv2.setMouseCallback
Was def setMouseCallback(windowName: str, onMouse: _typing.Callable[[int, int, int, int, _typing.Any | None], None], param: _typing.Any | None = ...) -> None; now def setMouseCallback(window_name: str, on_mouse: _typing.Callable[[int, int... pypi.org
opencv-python-headless 5.0.0.93 breaking changes
- 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 - 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 - 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 - Signature changed
cv2.dnn.Image2BlobParams.datalayout
Was datalayout: DataLayout; now datalayout: cv2.DataLayout. pypi.org
Related packages
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.