anaconda - OpenCV Version Issue -


how check current version of opencv mac , how update version newest version? trying use drawmatchesknn , drawmatches function. error name 'drawmatches' not defined". know don't have right version of opencv. don't know how check opencv version , update newest version?

if use python, run below code opencv version:

import cv2 print cv2.__version__  3.2.0 

3.2.0 latest one. upgrade on macos, if using anaconda, easier. may refer page more information. draw matching , related functions, seems need have opencv_contrib modules (i haven't checked @ time being).

edit:

the anaconda repository has 2 channels opencv 3.2.0 available.

you may try conda install -c menpo opencv3=3.2.0. menpo repository have opencv 3.2.0 python 2.7/3.4/3.5 , linux-64.

the conda-forge repository, conda install -c conda-forge opencv=3.2.0, has many difference version of binary on opencv 3.2. may have trial conda-forge if menpo package doesn't work. can check file page on binary available.

to uninstall conda package, type conda uninstall opencv3 opencv 3.x.

before installing opencv 3.x, better uninstall opencv 2.4.8 avoid conflict. may try conda uninstall opencv opencv 2.x or find out package name conda list.

as osx, version using?


Comments