Skip to content

Installing opencv

Madhav Sharan edited this page Oct 13, 2016 · 2 revisions

General installation

Download OpenCV 2.4.11 and follow their build instructions

Installing opencv on mac

Installing 2.4.11_2 - You can install 2.4.11_2 using homebrew-science tap.
brew tap homebrew/science
Change version of /usr/local/Library/Taps/homebrew-science/opencv.rb to 0fb1904

  1. cd /usr/local/Library/Taps/homebrew-science
  2. git checkout d85d011 opencv.rb
    Or if this does not works manually change /usr/local/Library/Taps/homebrew-science/opencv.rb to - https://github.com/Homebrew/homebrew-science/blob/0fb1904ff081216aa2e4023efff1ed800397e60c/opencv.rb

Lastly brew install opencv --with-java will install opencv with java

You can also try installing the updated versions of opencv and update version of opencv here in pom.xml