Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Build OpenCV 4 with reference to Anaconda 'environment'

I recently noticed a couple articles on building OpenCV using a Conda environment, including this one by Zhanwen Chen on Medium.com:

https://medium.com/repro-repo/install-opencv-4-0-1-from-source-on-macos-with-anaconda-python-3-7-to-use-sift-and-surf-9d4287d6228b

The idea is that instead of referencing the conventional Anaconda folders via OpenCV Cmake-Gui, you'd create an environment via "conda create ...', and reference the resulting environment folders that are created in Anaconda's 'envs' directory.

That particular article is based on Mac, but one would think that it applies to Linux and Windows as well.

Has anyone tried this? It hadn't occurred to me that it would work, but perhaps there are some advantages.