opencv3.1.0-dev ? [closed]

asked 2016-11-19 18:25:14 -0600

aliyesami gravatar image

updated 2016-11-19 18:45:41 -0600

check this site from openCV its saying the version as "3.1-0-dev" , is this a different version than the one I have installed and if yes where can I download it or is it a matter of just the right CMAKE options ?

The background subtraction function location they are showing are different from what I have , mine are in "cv2.bgsegm"

Also the site is showing three modules for subtraction where as I have only two if I do " >>>help(cv2.bgsegm) "createBackgroundSubtractorGMG" and "createBackgroundSubtractorMOG"

(http://docs.opencv.org/trunk/db/d5c/t...)

[root@hadoop1 build]# python
Python 3.3.3 (default, Nov 16 2016, 14:57:45)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-17)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import cv2
>>> cv2.__version__
'3.1.0'
>>>

cmake -DCMAKE_BUILD_TYPE=RELEASE -DCMAKE_INSTALL_PREFIX=/usr/local -DBUILD_NEW_PYTHON_SUPPORT=ON -DWITH_TBB=ON -DBUILD_TBB=ON -DWITH_OPENGL=ON -DWITH_EIGEN=ON -DFFMPEG_INCLUDE_DIR=/usr/local/include -DOPENCV_EXTRA_MODULES_PATH=/root/opencv_contrib/modules -DBUILD_opencv_legacy=OFF ..
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by aliyesami
close date 2016-11-19 18:57:25.885067

Comments

1

do you mean the python tutorial ? it's simply outdated

(main opencv has MOG2 and KNN, and contrib has MOG and GMG in the bgsegm module)

berak gravatar imageberak ( 2016-11-19 18:49:02 -0600 )edit

ok I understand now . thanks a lot

aliyesami gravatar imagealiyesami ( 2016-11-19 18:52:45 -0600 )edit
1

ah, wait my python is out of sync (reports 3.1.0), while c++ reports 3.1.0-dev.

can it be, that your main opencv is not latest ? (like 3.1.0 release, not master)

((which again might explain the aruco problems in your other question))

berak gravatar imageberak ( 2016-11-19 19:16:59 -0600 )edit

I downloaded the latest from web , I tried using the github version but it was not compiling . since I have all my modules found I will just live with it for now , don't want to break the running opencv thanks for your time n help

aliyesami gravatar imagealiyesami ( 2016-11-19 19:34:23 -0600 )edit