opencv-java-tutorials icon indicating copy to clipboard operation
opencv-java-tutorials copied to clipboard

java directory not found under /Cellar/opencv/share on MacOS

Open susiecamazotz opened this issue 1 year ago • 1 comments

I tried according this guide: https://www.youtube.com/watch?app=desktop&v=68IrlXObQyE But I can't see java directory on my laptop

susiecamazotz avatar Oct 26 '24 14:10 susiecamazotz

The docs for this are unclear and should probably be updated for brew but here's what i needed to do to see it:

-Ensure xcode command line tools are installed: xcode-select --install -Install ant: brew install ant -Ensure opencv is NOT installed : brew uninstall opencv -Try brew edit opencv * If this does not work, you must run brew tap --force homebrew/core BEFORE editing or installing -Try brew edit again -Run brew install --build-from-source opencv

You should now see the java directory. The main thing to keep in mind is that opencv must be uninstalled, and if you can't edit the formula, run the brew tap command.

aidanogr avatar Oct 02 '25 23:10 aidanogr