init done opengl support available

asked 2016-12-05 03:07:30 -0600

supertramp-sid gravatar image

I built opencv 2.4.10 from source in ubuntu 16.04.

I am getting this message init done opengl support available

I am trying to run the grabcut.py example provided by opencv , but whenever I right click I get a dropdown and options like

Panning left
Panning right
Panning up
Panning down etc

After I grab certain part of image , and start foreground extraction process the grabbed part of the image changes on it's own.

I tried the solutions on SO and here. I deleted the contents of window_QT.cpp as suggested in the comment here.

I rebuilt the library as suggested here.

CMAKE -

cmake -Wno-dev -G "Unix Makefiles" -D CMAKE_CXX_COMPILER=/usr/bin/g++ CMAKE_C_COMPILER=/usr/bin/gcc -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D WITH_TBB=OFF -D BUILD_NEW_PYTHON_SUPPORT=ON -D WITH_V4L=ON -D INSTALL_C_EXAMPLES=ON -D INSTALL_PYTHON_EXAMPLES=ON -D BUILD_EXAMPLES=ON -D WITH_QT=OFF -D WITH_OPENGL=OFF -D BUILD_FAT_JAVA_LIB=ON -D INSTALL_TO_MANGLED_PATHS=ON -D INSTALL_CREATE_DISTRIB=ON -D INSTALL_TESTS=ON -D ENABLE_FAST_MATH=ON -D WITH_IMAGEIO=ON -D BUILD_SHARED_LIBS=OFF -D WITH_GSTREAMER=ON -D OPENCV_ENABLE_NONFREE=ON -D WITH_OPENCL=OFF ..

What might be the issue?

I recently removed previous install of ubuntu to build it from source to include the non-free modules. Is it possible that the previous install might not have been remove cleanly and thus causing this error.

edit retag flag offensive close merge delete

Comments

" and start foreground extraction process the grabbed part of the image changes on it's own. " -- could you explain deeper ?

berak gravatar imageberak ( 2016-12-05 06:25:51 -0600 )edit

Sorry for being confusing...I want to say that the grabbed part(blue line) does not remain stationary and fluctuates.

supertramp-sid gravatar imagesupertramp-sid ( 2016-12-05 10:47:05 -0600 )edit