brew install opencv
Also known as: opencv@4
Formerly known as: opencv3
Open source computer vision library
License: Apache-2.0
Formula JSON API: /api/formula/opencv.json
Formula code: opencv.rb
on GitHub
Bottle (binary package) installation support provided for:
macOS on Apple Silicon |
sonoma | ✅ |
---|---|---|
ventura | ✅ | |
macOS on Intel |
sonoma | ✅ |
ventura | ✅ | |
Linux | x86_64 | ✅ |
Current versions:
stable | ✅ | 4.11.0 |
head | ⚡️ | HEAD |
Revision: 1
Depends on:
abseil | 20240722.1 | C++ Common Libraries |
ceres-solver | 2.2.0 | C++ library for large-scale optimization |
eigen | 3.4.0 | C++ template library for linear algebra |
ffmpeg | 7.1.1 | Play, record, convert, and stream audio and video |
freetype | 2.13.3 | Software library to render fonts |
gflags | 2.2.2 | Library for processing command-line flags |
glog | 0.6.0 | Application-level logging library |
harfbuzz | 11.0.0 | OpenType text shaping engine |
jpeg-turbo | 3.1.0 | JPEG image codec that aids compression and decompression |
jsoncpp | 1.9.6 | Library for interacting with JSON |
libpng | 1.6.47 | Library for manipulating PNG images |
libtiff | 4.7.0 | TIFF library and utilities |
numpy | 2.2.4 | Package for scientific computing with Python |
openblas | 0.3.29 | Optimized BLAS library |
openexr | 3.3.3 | High dynamic-range image file format |
openjpeg | 2.5.3 | Library for JPEG-2000 image manipulation |
openvino | 2025.0.0 | Open Visual Inference And Optimization toolkit for AI inference |
protobuf | 29.3 | Protocol buffers (Google's data interchange format) |
python@3.13 | 3.13.2 | Interpreted, interactive, object-oriented programming language |
tbb | 2022.0.0 | Rich and complete approach to parallelism in C++ |
tesseract | 5.5.0 | OCR (Optical Character Recognition) engine |
vtk | 9.4.1 | Toolkit for 3D computer graphics, image processing, and visualization |
webp | 1.5.0 | Image format providing lossless and lossy compression for web images |
glew | 2.2.0 | OpenGL Extension Wrangler Library |
imath | 3.1.12 | Library of 2D and 3D vector, matrix, and math operations |
libarchive | 3.7.7 | Multi-format archive and compression library |
Depends on when building from source:
cmake | 3.31.6 | Cross-platform make |
pkgconf | 2.4.3 | Package compiler and linker metadata toolkit |
python-setuptools | 78.0.2 | Easily download, build, install, upgrade, and uninstall Python packages |
Analytics:
Installs (30 days) | |
---|---|
opencv |
9,159 |
opencv --HEAD |
26 |
Installs on Request (30 days) | |
opencv |
8,586 |
opencv --HEAD |
26 |
Build Errors (30 days) | |
opencv |
78 |
opencv --HEAD |
1 |
Installs (90 days) | |
opencv |
32,581 |
opencv --HEAD |
62 |
Installs on Request (90 days) | |
opencv |
31,129 |
opencv --HEAD |
62 |
Installs (365 days) | |
opencv |
149,849 |
opencv --HEAD |
259 |
Installs on Request (365 days) | |
opencv |
142,680 |
opencv --HEAD |
259 |