This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This file is part of SVO - Semi-direct Visual Odometry. | |
// | |
// Copyright (C) 2014 Christian Forster <forster at ifi dot uzh dot ch> | |
// (Robotics and Perception Group, University of Zurich, Switzerland). | |
// | |
// SVO is free software: you can redistribute it and/or modify it under the | |
// terms of the GNU General Public License as published by the Free Software | |
// Foundation, either version 3 of the License, or any later version. | |
// | |
// SVO is distributed in the hope that it will be useful, but WITHOUT ANY |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Ubuntu 16.04 | |
#GPU - Nvidia GTX 750 Ti | |
#CUDA - 8.0, cuDNN - 5.1 | |
#Prerequisite - Download cuDNN 5.1 tarball from https://developer.nvidia.com/rdp/cudnn-download to home directory | |
if [ ! -f "cudnn-8.0-linux-x64-v5.1.tgz" ] | |
then | |
echo "cudnn-8.0-linux-x64-v5.1.tgz not found" | |
exit 1 | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install all the dependencies | |
sudo apt-get update | |
sudo apt-get -qq install libopencv-dev build-essential checkinstall cmake pkg-config yasm libjpeg-dev libpng-dev libtiff-dev libjasper-dev libavcodec-dev libavformat-dev libswscale-dev libdc1394-22-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libv4l-dev python-dev python-numpy libtbb-dev libqt4-dev libgtk2.0-dev libmp3lame-dev libopencore-amrnb-dev libopencore-amrwb-dev libtheora-dev libvorbis-dev libxvidcore-dev x264 v4l-utils | |
# Get latest opencv code | |
git clone https://github.com/opencv/opencv.git | |
cd opencv | |
git checkout 2.4 | |
# Build opencv |