$npx skillfedfor your agent

opencv-python-headless

Wrapper package for OpenCV python bindings.

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

Decision gist · record as of 2026-08-14

platform wheels — opencv_python_headless-5.0.0.93-cp37-abi3-macosx_13_0_arm64.whl · opencv_python_headless-5.0.0.93-cp37-abi3-macosx_14_0_x86_64.whl · opencv_python_headless-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-headless is a mature, actively maintained library with no known vulnerabilities, permissive licensing, and broad platform support. Install it if you need computer vision in a server or containerized environment where GUI dependencies are unnecessary. The medium install friction is typical for compiled bindings and well-mitigated by pre-built wheels. Avoid it only if you need display functions or require non-free algorithms.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • On Windows, Visual C++ redistributable 2015 may be required.
  • On older Windows versions, Universal C Runtime may also be needed.
  • Windows N/KN editions require Media Feature Pack.

License · maintenance · safety

Apache 2.0 (permissive) — Apache 2.0 permissive license allows commercial and private use with minimal restrictions. Non-free algorithms like SURF are excluded from distribution due to patent constraints.

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

0 known vulnerabilities (OSV.dev, 2026-08-14) · 50,117,128 downloads/mo, #576 on PyPI

Verify before relying

pip install opencv-python-headless

import opencv_python_headless
import numpy

# Haar cascade files available via data module
# haarcascade_frontalface_default.xml included
  • Specific API surface and function availability in the headless variant
  • Performance characteristics compared to standard opencv-python package
  • CUDA or GPU acceleration support in this headless build
  • Whether all main modules are included or some excluded beyond GUI components
Same gist for agents: .md · .json

What it is and what it does

opencv-python-headless is a pre-built binary distribution of OpenCV's Python bindings optimized for server and containerized environments. It strips out GUI library dependencies to reduce image size and dependency chains, making it ideal for Docker, cloud deployments, and headless systems where display functions are not needed.

The package wraps OpenCV C++ functionality and exposes computer vision capabilities through Python, including image and video processing, object detection, and feature extraction. It depends only on numpy and comes with Haar cascade classifier files for common tasks. The package supports Python 3.6 through 3.14 across Windows, macOS, and Linux, with pre-built wheels available for multiple architectures.

Use it for

  • Building Docker containers for video analysis or image processing microservices without GUI overhead
  • Server-side object detection in web applications or APIs
  • Batch image processing pipelines in cloud environments or CI/CD systems
  • Machine learning training pipelines that need image preprocessing
  • Real-time video stream analysis in headless environments like embedded systems

Worth the install?

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

Worth it

Yes.

opencv-python-headless is a mature, actively maintained library with no known vulnerabilities, permissive licensing, and broad platform support. Install it if you need computer vision in a server or containerized environment where GUI dependencies are unnecessary. The medium install friction is typical for compiled bindings and well-mitigated by pre-built wheels. Avoid it only if you need display functions or require non-free algorithms.

Install

opencv-python-headless on PyPI

Before you install

Medium install friction due to binary wheel compilation across multiple platforms. Active maintenance with recent releases; repo shows 5348 stars and last commit on 2026-07-28. Requires pip >= 19.3 and may need Visual C++ redistributables on Windows or system libraries on Linux.

On Windows, Visual C++ redistributable 2015 may be required. On older Windows versions, Universal C Runtime may also be needed. Windows N/KN editions require Media Feature Pack. Requires pip >= 19.3 to install manylinux2014 wheels.

License in practice

Apache 2.0 permissive license allows commercial and private use with minimal restrictions. Non-free algorithms like SURF are excluded from distribution due to patent constraints.

Quickstart

pip install opencv-python-headless

import opencv_python_headless
import numpy

# Haar cascade files available via data module
# haarcascade_frontalface_default.xml included

Verify before relying

  • Specific API surface and function availability in the headless variant
  • Performance characteristics compared to standard opencv-python package
  • CUDA or GPU acceleration support in this headless build
  • Whether all main modules are included or some excluded beyond GUI components

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
Downloads50,117,128 / month, #576 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_headless-5.0.0.93-cp37-abi3-macosx_13_0_arm64.whl; opencv_python_headless-5.0.0.93-cp37-abi3-macosx_14_0_x86_64.whl; opencv_python_headless-5.0.0.93-cp37-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl; opencv_python_headless-5.0.0.93-cp37-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; opencv_python_headless-5.0.0.93-cp37-abi3-manylinux_2_28_aarch64.whl; opencv_python_headless-5.0.0.93-cp37-abi3-manylinux_2_28_x86_64.whl; opencv_python_headless-5.0.0.93-cp37-abi3-win32.whl; opencv_python_headless-5.0.0.93-cp37-abi3-win_amd64.whl

Tags

Capabilities
computer vision image processingopencv python headlessimage recognition detectionvideo processing pythonface detection classifierdocker container visionserver-side image analysis
Topics
computer-visionimage-processingheadless

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “face detection classifier”

  • opencv-python-headlessOpenCV Python bindings for computer vision tasks, packaged without…
  • langidIdentifies the language of text input across 97 languages using a…
  • retinaface-pyDetects and localizes faces in images using a PyTorch implementation…

Give your agent the search over MCP, or paste the wish link into any chat.

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-contrib-python · opencv-contrib-python-headless · opencv-python · imutils · dlib · albucore · insightface · pyobjc-framework-Vision · pillow-heif · dxcam