Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

opencv3.1.0-dev ?

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 functions they are showing are different from what I have , mine are in "cv2.bgsegm" and names are "createBackgroundSubtractorGMG" and "createBackgroundSubtractorMOG"

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

[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 ..

opencv3.1.0-dev ?

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 functions function location they are showing are different from what I have , mine are in "cv2.bgsegm" and names are "createBackgroundSubtractorGMG" and "createBackgroundSubtractorMOG""cv2.bgsegm"

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

[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 ..

opencv3.1.0-dev ?

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""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/tutorial_py_bg_subtraction.html)

[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 ..

opencv3.1.0-dev ?

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 ?

The background subtraction function location they are showing are different from what I have , mine are in "cv2.bgsegm" also "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/tutorial_py_bg_subtraction.html)

[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 ..