Skip to content

Instantly share code, notes, and snippets.

@tstellanova
Last active May 29, 2018 04:25
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save tstellanova/7960514 to your computer and use it in GitHub Desktop.
Save tstellanova/7960514 to your computer and use it in GitHub Desktop.
Install a specific version of OpenCV on OSX with homebrew
# 20131214
# switch to the relevant keg directory
cd /usr/local/Library/Taps/homebrew-science
brew versions opencv
# look for the version you want, eg:
# 2.4.5 git checkout ae74fe9 opencv.rb
# checkout the version you want
git checkout ae74fe9 opencv.rb
# install the formula
brew install opencv --env=std
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment