$npx skillfedfor your agent

opencv-python

Wrapper package for OpenCV python bindings.

Worth itPyPI Software DevelopmentReleased Jul 202664.3M downloads / moApache 2.0Platform wheel

Decision gist · record as of 2026-08-14

platform wheels — opencv_python-5.0.0.93-cp37-abi3-macosx_13_0_arm64.whl · opencv_python-5.0.0.93-cp37-abi3-macosx_14_0_x86_64.whl · opencv_python-5.0.0.93-cp37-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
v5.0.0.93 · released 2026-07-02 · Python >=3.6 · 1 runtime deps: numpy

Yes. opencv-python is a mature, actively maintained library with no known vulnerabilities, broad platform support, and permissive licensing. Install friction is moderate but manageable with current pip and platform-specific runtime libraries. It is the standard choice for Python computer vision work when GPU acceleration is not required. Choose the headless variant for server deployments to reduce image size and dependency overhead.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Windows users may need Visual C++ redistributable 2015 installed.
  • Older pip versions (< 19.3) may fail to install manylinux2014 wheels and attempt source build instead.
  • Medium install friction due to binary wheel distribution across multiple platforms (Windows, macOS, Linux).

License · maintenance · safety

Apache 2.0 (permissive) — Licensed under Apache 2.0 (permissive), allowing free use, modification, and distribution in commercial and private projects with minimal restrictions.

last release 2026-07-02 (43 days) · last repo commit 2026-07-28 · 5,348 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 64,334,607 downloads/mo, #491 on PyPI

Verify before relying

pip install opencv-python
import cv2
face_cascade = cv2.CascadeClassifier(cv2.data.haarcascades + "haarcascade_frontalface_default.xml")
  • Whether GPU acceleration (CUDA) is available through separate build or contrib package variants
  • Performance characteristics and memory footprint for large-scale image or video processing
  • Compatibility with headless variants and when to choose each package option
Same gist for agents: .md · .json

What it is and what it does

opencv-python is a pre-built Python wrapper around the OpenCV C++ library, distributed as binary wheels for Windows, macOS, and Linux. It provides a complete computer vision toolkit for tasks like image reading/writing, filtering, feature detection, object recognition, and video processing. The package includes Haar cascade classifiers for common tasks and bundles all dependencies statically, so no separate OpenCV installation is needed.

The package depends only on numpy and is designed for CPU-only workflows. It supports Python versions from 3.6 onward. The description notes that non-free algorithms are excluded due to patent restrictions, though SIFT is included following patent expiration. Users can choose between the standard package (with GUI support) or headless variants for server environments to reduce dependency chains.

Use it for

  • Real-time face or object detection in images or video streams using pre-trained Haar cascades
  • Image preprocessing and filtering for machine learning pipelines
  • Video frame extraction and analysis for surveillance or automated inspection systems
  • Building computer vision prototypes without compiling OpenCV from source
  • Deploying vision applications in Docker or cloud environments using headless variant

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

opencv-python is a mature, actively maintained library with no known vulnerabilities, broad platform support, and permissive licensing. Install friction is moderate but manageable with current pip and platform-specific runtime libraries. It is the standard choice for Python computer vision work when GPU acceleration is not required. Choose the headless variant for server deployments to reduce image size and dependency overhead.

Install

opencv-python on PyPI

Before you install

Medium install friction due to binary wheel distribution across multiple platforms (Windows, macOS, Linux). Requires pip >= 19.3 to properly handle manylinux2014 wheels. Windows users may need Visual C++ redistributable 2015 or Media Feature Pack depending on edition. Actively maintained with recent releases.

Windows users may need Visual C++ redistributable 2015 installed. Older pip versions (< 19.3) may fail to install manylinux2014 wheels and attempt source build instead.

License in practice

Licensed under Apache 2.0 (permissive), allowing free use, modification, and distribution in commercial and private projects with minimal restrictions.

Quickstart

pip install opencv-python
import cv2
face_cascade = cv2.CascadeClassifier(cv2.data.haarcascades + "haarcascade_frontalface_default.xml")

Verify before relying

  • Whether GPU acceleration (CUDA) is available through separate build or contrib package variants
  • Performance characteristics and memory footprint for large-scale image or video processing
  • Compatibility with headless variants and when to choose each package option

Package facts

LicenseApache 2.0 permissive
Python supportSupports the current Python release >=3.6
Install frictionMedium. Platform-specific wheel
Runtime dependencies
1 package
numpy
MaintenanceActively maintained 43 days since the last release
Last repo commit
First released
Downloads64,334,607 / month, #491 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: Information TechnologyIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIXOperating System :: UnixProgramming Language :: C++Programming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: Scientific/EngineeringTopic :: Scientific/Engineering :: Image RecognitionTopic :: Software Development

Evidence: opencv_python-5.0.0.93-cp37-abi3-macosx_13_0_arm64.whl; opencv_python-5.0.0.93-cp37-abi3-macosx_14_0_x86_64.whl; opencv_python-5.0.0.93-cp37-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; opencv_python-5.0.0.93-cp37-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; opencv_python-5.0.0.93-cp37-abi3-manylinux_2_28_aarch64.whl; opencv_python-5.0.0.93-cp37-abi3-manylinux_2_28_x86_64.whl; opencv_python-5.0.0.93-cp37-abi3-win32.whl; opencv_python-5.0.0.93-cp37-abi3-win_amd64.whl

Tags

Capabilities
image processing pythoncomputer vision libraryobject detectionvideo processing pythonface detectionimage recognitionpython bindings
Topics
computer-visionimage-processingobject-detection

Let your AI agent find packages like this

Example. Real query, live index.

An agent finds packages by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language. Give your agent the search over MCP.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also opencv-python-headless · opencv-contrib-python · opencv-contrib-python-headless · python-mpv · imutils · blend-modes · installer · xvfbwrapper · freetype-py · pillow-heif