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

Bottle JSON API: /api/bottle/opencv.json

Formula code: opencv.rb on GitHub

Bottle (binary package) installation support provided for:

Intel monterey
big sur
catalina
64-bit linux
Apple Silicon monterey
big sur

Current versions:

stable 4.6.0

Other versions:

opencv@3 3.4.16 Open source computer vision library
opencv@2 2.4.13.7 Open source computer vision library

Depends on:

ceres-solver 2.1.0 C++ library for large-scale optimization
eigen 3.4.0 C++ template library for linear algebra
ffmpeg 5.1.2 Play, record, convert, and stream audio and video
glog 0.6.0 Application-level logging library
harfbuzz 5.2.0 OpenType text shaping engine
jpeg-turbo 2.1.4 JPEG image codec that aids compression and decompression
libpng 1.6.38 Library for manipulating PNG images
libtiff 4.4.0 TIFF library and utilities
numpy 1.23.3 Package for scientific computing with Python
openblas 0.3.21 Optimized BLAS library
openexr 3.1.5 High dynamic-range image file format
openjpeg 2.5.0 Library for JPEG-2000 image manipulation
protobuf 21.7 Protocol buffers (Google's data interchange format)
python@3.10 3.10.7 Interpreted, interactive, object-oriented programming language
tbb 2021.5.0 Rich and complete approach to parallelism in C++
vtk 9.1.0 Toolkit for 3D computer graphics, image processing, and visualization
webp 1.2.4 Image format providing lossless and lossy compression for web images

Depends on when building from source:

cmake 3.24.2 Cross-platform make
pkg-config 0.29.2 Manage compile and link flags for libraries

Analytics (macOS):

Installs (30 days)
opencv 12,965
opencv --with-java 2
Installs on Request (30 days)
opencv 12,602
opencv --with-java 2
Build Errors (30 days)
opencv 100
Installs (90 days)
opencv 46,266
opencv --with-java 2
Installs on Request (90 days)
opencv 44,829
opencv --with-java 2
Installs (365 days)
opencv 187,950
opencv --with-java 7
opencv --with-contrib --with-java 2
Installs on Request (365 days)
opencv 181,043
opencv --with-java 7
opencv --with-contrib --with-java 2

Analytics (Linux):

Installs (30 days)
opencv 51
Installs on Request (30 days)
opencv 41
Build Errors (30 days)
opencv 1
Installs (90 days)
opencv 163
Installs on Request (90 days)
opencv 133
Installs (365 days)
opencv 573
Installs on Request (365 days)
opencv 499
Fork me on GitHub