How to check and update the existing version of Open-CV on ubuntu 14.04 ?

asked 2015-02-24 23:31:00 -0600

mohitprime gravatar image

There are some errors I am encountering which I learned on Stackoverflow goes away upon updating opencv.

edit retag flag offensive close merge delete

Comments

1

checking the version is as easy as:

import cv2
cv2.__version__
berak gravatar imageberak ( 2015-02-25 02:12:28 -0600 )edit

If you installed OpenCV through the repositories, then you can check it in Synaptic or with dpkg -l libopencv*. You can update it using the normal update procedure with apt-get.

If you compiled it yourself, update the sources with git pull, then rebuild and install (make && sudo make install).

kbarni gravatar imagekbarni ( 2015-02-25 02:38:14 -0600 )edit