macOS
brew install opencvlocal Homebrew formula metadata
brew
Open source computer vision library. Version 4.13.0 via Homebrew; verified 2026-06-22.
install
brew install opencvlocal Homebrew formula metadata
sudo apk add libopencv_arucoAlpine Linux edge package indexes · libopencv_aruco · source: dl-cdn.alpinelinux.org
sudo apt install libopencv-calib3d-devDebian stable package indexes · libopencv-calib3d-dev · source: deb.debian.org
sudo dnf install opencvFedora Rawhide package metadata · opencv · source: dl.fedoraproject.org
nix profile install nixpkgs#opencvnixpkgs package indexes · opencv · source: raw.githubusercontent.com
sudo pacman -S opencvArch Linux sync databases · opencv · source: geo.mirror.pkgbuild.com
sudo zypper install libopencv413openSUSE Tumbleweed package metadata · libopencv413 · source: download.opensuse.org
choco install OpenCVChocolatey community package catalog · OpenCV · source: community.chocolatey.org
scoop install main/opencvScoop official bucket manifest trees · bucket/opencv.json · source: api.github.com
overview
Open source computer vision library
history
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.
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.
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.
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.
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.
security posture
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.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
opencv_annotation | cli | global executable | |
opencv_interactive-calibration | cli | global executable | |
opencv_model_diagnostics | cli | global executable | |
opencv_version | cli | global executable | |
opencv_visualisation | cli | global executable | |
opencv_waldboost_detector | cli | global executable | |
setup_vars_opencv4.sh | cli | global executable |
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.
https://github.com/opencv/opencv
install metadata
| Package key | brew:opencv |
|---|---|
| Version | 4.13.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/opencv |
| Homepage | https://opencv.org/ |
| Repository | https://github.com/opencv/opencv |
| Upstream docs | https://docs.opencv.org/4.x |
| License | Apache-2.0 |
| Source archive | https://github.com/opencv/opencv/archive/refs/tags/4.13.0.tar.gz |
| Last updated | 2026-06-22T14:05:42-07:00 |
| Pulse | updated |
| Dependencies | abseil, 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 dependencies | cmake, pkgconf, python-setuptools |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | opencv |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 15 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
libopencv-calib3d-dev 4.10.0+dfsg-5
development files for libopencv-calib3d410
sudo apt install libopencv-calib3d-devlibopencv-calib3d410 4.10.0+dfsg-5
computer vision Camera Calibration library
sudo apt install libopencv-calib3d410libopencv-contrib-dev 4.10.0+dfsg-5
development files for libopencv-contrib410
sudo apt install libopencv-contrib-devlibopencv-contrib410 4.10.0+dfsg-5
computer vision contrlib library
sudo apt install libopencv-contrib410libopencv-core-dev 4.10.0+dfsg-5
development files for libopencv-core410
sudo apt install libopencv-core-devlibopencv-core410 4.10.0+dfsg-5
computer vision core library
sudo apt install libopencv-core410libopencv-dev 4.10.0+dfsg-5
development files for opencv
sudo apt install libopencv-devlibopencv-dnn-dev 4.10.0+dfsg-5
development files for libopencv-dnn410
sudo apt install libopencv-dnn-devlibopencv-dnn410 4.10.0+dfsg-5
computer vision Deep neural network module
sudo apt install libopencv-dnn410libopencv-features2d-dev 4.10.0+dfsg-5
development files for libopencv-features2d410
sudo apt install libopencv-features2d-devlibopencv-features2d410 4.10.0+dfsg-5
computer vision Feature Detection and Descriptor Extraction library
sudo apt install libopencv-features2d410libopencv-flann-dev 4.10.0+dfsg-5
development files for libopencv-flann410
sudo apt install libopencv-flann-devlibopencv-flann410 4.10.0+dfsg-5
computer vision Clustering and Search in Multi-Dimensional spaces library
sudo apt install libopencv-flann410libopencv-highgui-dev 4.10.0+dfsg-5
development files for libopencv-highgui410
sudo apt install libopencv-highgui-devlibopencv-highgui410 4.10.0+dfsg-5
computer vision High-level GUI and Media I/O library
sudo apt install libopencv-highgui410libopencv-imgcodecs-dev 4.10.0+dfsg-5
development files for libopencv-imgcodecs410
sudo apt install libopencv-imgcodecs-devsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.