Automic VaultAutomic Vault

brew

Install opencv with Homebrew, apk, chocolatey, apt, dnf, Nix, pacman, scoop, zypper

Open source computer vision library. Version 4.13.0 via Homebrew; verified 2026-06-22.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install opencv

local Homebrew formula metadata

Linux

Alpine Linux apkverified · 92%
sudo apk add libopencv_aruco

Alpine Linux edge package indexes · libopencv_aruco · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install libopencv-calib3d-dev

Debian stable package indexes · libopencv-calib3d-dev · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install opencv

Fedora Rawhide package metadata · opencv · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#opencv

nixpkgs package indexes · opencv · source: raw.githubusercontent.com

Arch Linux pacmanverified · 92%
sudo pacman -S opencv

Arch Linux sync databases · opencv · source: geo.mirror.pkgbuild.com

openSUSE zypperverified · 92%
sudo zypper install libopencv413

openSUSE Tumbleweed package metadata · libopencv413 · source: download.opensuse.org

Windows

Chocolateyverified · 92%
choco install OpenCV

Chocolatey community package catalog · OpenCV · source: community.chocolatey.org

Scoopverified · 92%
scoop install main/opencv

Scoop official bucket manifest trees · bucket/opencv.json · source: api.github.com

overview

Package summary

Open source computer vision library

Commands and aliases

  • opencv_annotation
  • opencv_interactive-calibration
  • opencv_model_diagnostics
  • opencv_version
  • opencv_visualisation
  • opencv_waldboost_detector
  • setup_vars_opencv4.sh

history

Project history and usage

OpenCV, the Open Source Computer Vision Library, is one of the core open-source libraries for image processing, computer vision, and machine-learning-adjacent visual perception. It packages thousands of algorithms and bindings into a cross-platform library used by researchers, robotics teams, embedded developers, companies, students, and hobbyists.

Project history

OpenCV began inside Intel. The OpenCV anniversary timeline says Gary Bradski proposed a computer-vision library in 1998, Intel open-sourced the code in 1999, and the first public release was unveiled at CVPR in June 2000. The project name followed the OpenGL naming style and reflected a shift from an internal Computer Vision Library concept to an open source library.

Version 1.0 arrived in 2006 with a C API and classic computer-vision capabilities such as image processing, computational geometry, face detection, camera calibration, optical flow, SIFT features, and machine-learning methods. After 2008, development moved through Willow Garage and Itseez, connecting OpenCV to robotics and specialized vision-algorithm work.

OpenCV 2.0 in 2009-2010 made C++ the primary API and added generated Python bindings, with Java bindings added as well. In 2012 the project moved to GitHub and opencv.org, creating a more transparent contribution process; the anniversary timeline says 35 to 50 percent of accepted pull requests in 2013 came from outside the core team.

Intel acquired Itseez in 2016, bringing a core OpenCV development team back into Intel's orbit. OpenCV 3.0, OpenCV 4.0, the DNN module, JavaScript/WebAssembly work, and OpenVINO integration all reflect the library's shift from classic computer vision only toward heterogeneous, deep-learning-aware, edge and embedded deployment.

Adoption history

OpenCV's own About page describes it as the world's biggest computer vision library, with more than 2500 algorithms, hundreds of thousands of users, and estimated monthly downloads exceeding 40 million. The same page names use by companies, research groups, hobbyists, government bodies such as NASA, and companies including Google, Yahoo, Microsoft, Intel, IBM, Sony, Honda, and Toyota.

The project spread because it gave computer-vision researchers and product developers a permissively licensed, optimized common infrastructure. Instead of each application reimplementing camera calibration, feature detection, object detection, video I/O, image filtering, machine learning, and matrix primitives, developers could depend on a common package that existed in Linux distributions, Homebrew, Chocolatey, Conda-like scientific stacks, mobile builds, and language bindings.

How it is used

Developers use OpenCV for frame capture, image preprocessing, camera calibration, feature extraction, object detection, tracking, stereo reconstruction, panorama stitching, face/eye detection, DNN inference, and high-level GUI/debug display. The modern documentation describes a modular structure with core, imgproc, imgcodecs, videoio, highgui, video, calib3d, features2d, objdetect, dnn, ml, photo, stitching, and supporting modules.

In package-manager form, OpenCV is often consumed as a library dependency rather than as an end-user CLI. The executables such as `opencv_version`, annotation tools, calibration tools, visualization helpers, and setup scripts are useful, but most downstream value comes from headers, shared libraries, Python bindings, and integrations into robotics, vision, scientific, and AI applications.

Why package nerds care

OpenCV is package-nerd significant because it is large, modular, ABI-sensitive, and option-heavy. Builds may vary by language bindings, codecs, GUI backends, CUDA/OpenCL/OpenVINO acceleration, contrib modules, platform SIMD, and patent-sensitive algorithm history, so the same package name can imply very different capabilities across ecosystems.

It is also a dependency magnet: robotics frameworks, scientific tools, media applications, embedded vision products, and AI demos all pull it in. That makes versioning, binary size, transitive multimedia dependencies, and Python/C++ ABI compatibility recurring concerns for maintainers.

Timeline

  • 1998: Gary Bradski proposed the library inside Intel.
  • 1999: Intel open-sourced the library and the OpenCV name replaced the internal CVL direction.
  • 2000-06: The first public release was unveiled at CVPR.
  • 2006-10: OpenCV 1.0 was released.
  • 2008: Core development moved through Willow Garage and Itseez.
  • 2009-2010: OpenCV 2.0 made C++ the primary API and expanded generated language bindings.
  • 2012: The project moved to opencv.org and GitHub.
  • 2015: OpenCV 3.0 added major interface and acceleration improvements.
  • 2016: Intel acquired Itseez, a key contributor to OpenCV and OpenVX.
  • 2018: OpenCV 4.0 refined the API around newer C++ standards and added Graph API work.

Related projects

  • OpenCV is related to OpenVINO, OpenVX, ROS and Willow Garage-era robotics software, opencv_contrib, NumPy/Python scientific tooling, CUDA/OpenCL acceleration stacks, and downstream computer-vision frameworks that use it as preprocessing or classical-vision infrastructure.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for opencv. Nucleus package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 26 runtime dependencies.
  • Build metadata lists 3 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
opencv_annotationcliglobal executable
opencv_interactive-calibrationcliglobal executable
opencv_model_diagnosticscliglobal executable
opencv_versioncliglobal executable
opencv_visualisationcliglobal executable
opencv_waldboost_detectorcliglobal executable
setup_vars_opencv4.shcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version4.13.0
manager updated2026-06-22
local dataok
upstreamcurrent
latest detected4.13.0

https://github.com/opencv/opencv

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:opencv
Version4.13.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/opencv
Homepagehttps://opencv.org/
Repositoryhttps://github.com/opencv/opencv
Upstream docshttps://docs.opencv.org/4.x
LicenseApache-2.0
Source archivehttps://github.com/opencv/opencv/archive/refs/tags/4.13.0.tar.gz
Last updated2026-06-22T14:05:42-07:00
Pulseupdated
Dependenciesabseil, ceres-solver, eigen, ffmpeg, freetype, gflags, glew, glog, harfbuzz, imath, jpeg-turbo, jsoncpp, libarchive, libpng, libtiff, numpy, openblas, openexr, openjpeg, openvino, protobuf, python@3.14, tbb, tesseract, vtk, webp
Build dependenciescmake, pkgconf, python-setuptools
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameopencv
Aliases
  • opencv@4
Version Scheme0
Revision15
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

libopencv-calib3d-dev 4.10.0+dfsg-5

development files for libopencv-calib3d410

https://opencv.org

sudo apt install libopencv-calib3d-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: opencv
  • 2 dependencies
  • normalized package name match
  • Matched by: Opencv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libopencv-calib3d-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libopencv-calib3d410 4.10.0+dfsg-5

computer vision Camera Calibration library

https://opencv.org

sudo apt install libopencv-calib3d410
  • Section: libs
  • Architecture: amd64
  • Source Package: opencv
  • 7 dependencies
  • normalized package name match
  • Matched by: Opencv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libopencv-calib3d410 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libopencv-contrib-dev 4.10.0+dfsg-5

development files for libopencv-contrib410

https://opencv.org

sudo apt install libopencv-contrib-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: opencv
  • 19 dependencies
  • normalized package name match
  • Matched by: Opencv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libopencv-contrib-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libopencv-contrib410 4.10.0+dfsg-5

computer vision contrlib library

https://opencv.org

sudo apt install libopencv-contrib410
  • Section: libs
  • Architecture: amd64
  • Source Package: opencv
  • 22 dependencies
  • normalized package name match
  • Matched by: Opencv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libopencv-contrib410 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libopencv-core-dev 4.10.0+dfsg-5

development files for libopencv-core410

https://opencv.org

sudo apt install libopencv-core-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: opencv
  • 3 dependencies
  • normalized package name match
  • Matched by: Opencv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libopencv-core-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libopencv-core410 4.10.0+dfsg-5

computer vision core library

https://opencv.org

sudo apt install libopencv-core410
  • Section: libs
  • Architecture: amd64
  • Source Package: opencv
  • 10 dependencies
  • normalized package name match
  • Matched by: Opencv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libopencv-core410 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libopencv-dev 4.10.0+dfsg-5

development files for opencv

https://opencv.org

sudo apt install libopencv-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: opencv
  • 32 dependencies
  • 3 optional deps
  • normalized package name match
  • Matched by: Opencv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libopencv-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libopencv-dnn-dev 4.10.0+dfsg-5

development files for libopencv-dnn410

https://opencv.org

sudo apt install libopencv-dnn-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: opencv
  • 2 dependencies
  • normalized package name match
  • Matched by: Opencv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libopencv-dnn-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libopencv-dnn410 4.10.0+dfsg-5

computer vision Deep neural network module

https://opencv.org

sudo apt install libopencv-dnn410
  • Section: libs
  • Architecture: amd64
  • Source Package: opencv
  • 6 dependencies
  • normalized package name match
  • Matched by: Opencv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libopencv-dnn410 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libopencv-features2d-dev 4.10.0+dfsg-5

development files for libopencv-features2d410

https://opencv.org

sudo apt install libopencv-features2d-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: opencv
  • 4 dependencies
  • normalized package name match
  • Matched by: Opencv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libopencv-features2d-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libopencv-features2d410 4.10.0+dfsg-5

computer vision Feature Detection and Descriptor Extraction library

https://opencv.org

sudo apt install libopencv-features2d410
  • Section: libs
  • Architecture: amd64
  • Source Package: opencv
  • 6 dependencies
  • normalized package name match
  • Matched by: Opencv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libopencv-features2d410 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libopencv-flann-dev 4.10.0+dfsg-5

development files for libopencv-flann410

https://opencv.org

sudo apt install libopencv-flann-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: opencv
  • 2 dependencies
  • normalized package name match
  • Matched by: Opencv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libopencv-flann-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libopencv-flann410 4.10.0+dfsg-5

computer vision Clustering and Search in Multi-Dimensional spaces library

https://opencv.org

sudo apt install libopencv-flann410
  • Section: libs
  • Architecture: amd64
  • Source Package: opencv
  • 4 dependencies
  • normalized package name match
  • Matched by: Opencv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libopencv-flann410 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libopencv-highgui-dev 4.10.0+dfsg-5

development files for libopencv-highgui410

https://opencv.org

sudo apt install libopencv-highgui-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: opencv
  • 12 dependencies
  • normalized package name match
  • Matched by: Opencv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libopencv-highgui-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libopencv-highgui410 4.10.0+dfsg-5

computer vision High-level GUI and Media I/O library

https://opencv.org

sudo apt install libopencv-highgui410
  • Section: libs
  • Architecture: amd64
  • Source Package: opencv
  • 12 dependencies
  • normalized package name match
  • Matched by: Opencv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libopencv-highgui410 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libopencv-imgcodecs-dev 4.10.0+dfsg-5

development files for libopencv-imgcodecs410

https://opencv.org

sudo apt install libopencv-imgcodecs-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: opencv
  • 3 dependencies
  • normalized package name match
  • Matched by: Opencv
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libopencv-imgcodecs-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment