User Tools

Site Tools


opencv_install_ubuntu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
opencv_install_ubuntu [2017/05/08 21:42] acateropencv_install_ubuntu [2017/05/16 21:07] (current) dwallace
Line 1: Line 1:
 ===== Installing OpenCV 3.2.0 With Ubuntu 16.04===== ===== Installing OpenCV 3.2.0 With Ubuntu 16.04=====
 \\ \\
-Author: Alex Cater +**Author:** Alex Cater 
-Email: cater@unlv.nevada.edu+\\ 
 +**Email:** cater@unlv.nevada.edu 
 +\\
 \\ \\
 The following tutorial will go over installing the latest version of opencv (3.2.0) on the latest version of Ubuntu (16.04).  Below will be a video tutorial going step-by-step on how to do this exactly.  The example file and the script file used in the video are shown below.  Copy and past each of these fragments into individual files as they will be used later. It may be best to watch the video first before doing this just so you know where exactly each file needs to be. The following tutorial will go over installing the latest version of opencv (3.2.0) on the latest version of Ubuntu (16.04).  Below will be a video tutorial going step-by-step on how to do this exactly.  The example file and the script file used in the video are shown below.  Copy and past each of these fragments into individual files as they will be used later. It may be best to watch the video first before doing this just so you know where exactly each file needs to be.
Line 11: Line 13:
   * OpenCV zip files can be downloaded at their website at: opencv.org   * OpenCV zip files can be downloaded at their website at: opencv.org
   * The script file to build opencv files can be copied here.   * The script file to build opencv files can be copied here.
-<Code:c++ linenums:1>+<file bash script.sh>
 version="$(wget -q -O - http://sourceforge.net/projects/opencvlibrary/files/opencv-unix | egrep -m1 -o '\"[0-9](\.[0-9]+)+' | cut -c2-)" version="$(wget -q -O - http://sourceforge.net/projects/opencvlibrary/files/opencv-unix | egrep -m1 -o '\"[0-9](\.[0-9]+)+' | cut -c2-)"
 echo "Installing OpenCV" $version echo "Installing OpenCV" $version
Line 78: Line 80:
 sudo ldconfig sudo ldconfig
 echo "OpenCV" $version "ready to be used" echo "OpenCV" $version "ready to be used"
-</Code>+</file>
  
 \\ \\
Line 84: Line 86:
   * The example file that will be run can be copied from here:   * The example file that will be run can be copied from here:
  
-<Code:c++ linenums:2>+<file c++ test.cpp>
 #include <stdio.h> #include <stdio.h>
 #include <opencv2/opencv.hpp> #include <opencv2/opencv.hpp>
Line 107: Line 109:
     return 0;     return 0;
 } }
-</Code>+</file>
 \\ \\
 \\ \\
opencv_install_ubuntu.1494304970.txt.gz · Last modified: 2017/05/08 21:42 by acater