opencv@2: stable 2.4.13.7 (bottled) [keg-only] Open source computer vision library https://opencv.org/ /usr/local/Cellar/opencv@2/2.4.13.7_11 (278 files, 35.1MB) Poured from bottle on 2020-08-14 at 15:44:38 From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/opencv@2.rb License: BSD-3-Clause ==> Dependencies Build: cmake ✔, pkg-config ✔ Required: eigen ✔, ffmpeg ✔, jpeg ✔, libpng ✔, libtiff ✔, numpy@1.16 ✔, openexr ✔ ==> Requirements Required: macOS is required ✔ ==> Caveats opencv@2 is keg-only, which means it was not symlinked into /usr/local, because this is an alternate version of another formula.
If you need to have opencv@2 first in your PATH run: echo 'export PATH="/usr/local/opt/opencv@2/bin:$PATH"' >> /Users/tang/.bash_profile
For compilers to find opencv@2 you may need to set: export LDFLAGS="-L/usr/local/opt/opencv@2/lib" export CPPFLAGS="-I/usr/local/opt/opencv@2/include"
For pkg-config to find opencv@2 you may need to set: export PKG_CONFIG_PATH="/usr/local/opt/opencv@2/lib/pkgconfig"