opencv

Install command:
brew install opencv

Also known as: opencv@4

Formerly known as: opencv3

Open source computer vision library

https://opencv.org/

License: Apache-2.0

Formula JSON API: /api/formula/opencv.json

Formula code: opencv.rb on GitHub

Bottle (binary package) installation support provided for:

Apple Silicon sonoma
ventura
monterey
Intel sonoma
ventura
monterey
64-bit linux

Current versions:

stable 4.10.0
head ⚡️ HEAD

Other versions:

opencv@3 3.4.20 Open source computer vision library

Depends on:

abseil 20240116.2 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@6 6.1.1 Play, record, convert, and stream audio and video
freetype 2.13.2 Software library to render fonts
gflags 2.2.2 Library for processing command-line flags
glog 0.6.0 Application-level logging library
harfbuzz 9.0.0 OpenType text shaping engine
jpeg-turbo 3.0.3 JPEG image codec that aids compression and decompression
libpng 1.6.43 Library for manipulating PNG images
libtiff 4.6.0 TIFF library and utilities
numpy 2.0.1 Package for scientific computing with Python
openblas 0.3.27 Optimized BLAS library
openexr 3.2.4 High dynamic-range image file format
openjpeg 2.5.2 Library for JPEG-2000 image manipulation
openvino 2024.2.0 Open Visual Inference And Optimization toolkit for AI inference
protobuf 27.1 Protocol buffers (Google's data interchange format)
python@3.12 3.12.4 Interpreted, interactive, object-oriented programming language
tbb 2021.13.0 Rich and complete approach to parallelism in C++
tesseract 5.4.1 OCR (Optical Character Recognition) engine
vtk 9.3.1 Toolkit for 3D computer graphics, image processing, and visualization
webp 1.4.0 Image format providing lossless and lossy compression for web images
glew 2.2.0 OpenGL Extension Wrangler Library
imath 3.1.11 Library of 2D and 3D vector, matrix, and math operations
jsoncpp 1.9.5 Library for interacting with JSON
libarchive 3.7.4 Multi-format archive and compression library

Depends on when building from source:

cmake 3.30.1 Cross-platform make
pkg-config 0.29.2 Manage compile and link flags for libraries
python-setuptools 71.1.0 Easily download, build, install, upgrade, and uninstall Python packages

Analytics:

Installs (30 days)
opencv 12,673
opencv --HEAD 23
Installs on Request (30 days)
opencv 11,937
opencv --HEAD 23
Build Errors (30 days)
opencv 23
opencv --HEAD 3
Installs (90 days)
opencv 37,553
opencv --HEAD 55
Installs on Request (90 days)
opencv 35,636
opencv --HEAD 55
Installs (365 days)
opencv 146,306
opencv --HEAD 220
Installs on Request (365 days)
opencv 137,113
opencv --HEAD 220
Fork me on GitHub