Skip to content

Instantly share code, notes, and snippets.

@kloudsamurai
Last active August 30, 2018 11:33
Show Gist options
  • Select an option

  • Save kloudsamurai/fc9e28660d17a4bfee3afe217e7471a3 to your computer and use it in GitHub Desktop.

Select an option

Save kloudsamurai/fc9e28660d17a4bfee3afe217e7471a3 to your computer and use it in GitHub Desktop.
Install OpenCV with Java support on Mac OSX using homebrew
brew tap homebrew/science
brew install opencv3 --HEAD --with-contrib --with-java
brew install imagemagick
@kloudsamurai
Copy link
Copy Markdown
Author

Note that you'll need the latest XCode updates before homebrew can install opencv.

@kloudsamurai
Copy link
Copy Markdown
Author

kloudsamurai commented Nov 14, 2016

-Djava.library.path=/usr/local/opt/opencv3/lib/

@whousedmine
Copy link
Copy Markdown

Error: No head is defined for opencv

@alonsoir
Copy link
Copy Markdown

$ brew tap homebrew/science
Error: homebrew/science was deprecated. This tap is now empty as all its formulae were migrated.
...
$ brew install opencv3 --HEAD --with-contrib --with-java
Error: No head is defined for opencv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment