You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Shikher Verma edited this page Jun 11, 2016
·
2 revisions
A Transition to the NEXT level
add #include "opencv2/videoio/videoio.hpp"
#include "opencv2/core/core.hpp" in place of opencv2/core.hpp (as all the header files are in a folder)
in CMake add or replace the previously similar line with find_package( OpenCV 3.0.0 REQUIRED core highgui imgproc imgcodecs videoio (or any other dependent library))
If this does not work proceed to the next steps
download the script cv3.sh in this repository the scripts folder.
open a terminal in the same directory
sudo cp -r cv3.sh /usr/local/bin/
chmod +x cv3.sh
cd /usr/local/bin/
cv3.sh
sit back and relax with a good internet
cd ../include
sudo mv opencv opencv2 ~/ (or delete them as they are useless)