From 4eb1c56e3aad32f3018ebdf02e44986f391a7ed7 Mon Sep 17 00:00:00 2001 From: = <=> Date: Mon, 17 Sep 2018 06:23:59 -0700 Subject: [PATCH 1/8] Add installation script --- InstallScript-Ubuntu16.04/installOpenCV.sh | 207 +++++++++++++++++++++ 1 file changed, 207 insertions(+) create mode 100644 InstallScript-Ubuntu16.04/installOpenCV.sh diff --git a/InstallScript-Ubuntu16.04/installOpenCV.sh b/InstallScript-Ubuntu16.04/installOpenCV.sh new file mode 100644 index 000000000..a7c00e6b3 --- /dev/null +++ b/InstallScript-Ubuntu16.04/installOpenCV.sh @@ -0,0 +1,207 @@ +#!/bin/bash + +############## WELCOME ############# +# Step 0: Take inputs + +# Clean build directories +rm -rf opencv/build +rm -rf opencv_contrib/build +rm -rf installation + +echo "OpenCV installation by learnOpenCV.com" + +echo "Select OpenCV version to install (1 or 2)" +echo "1. OpenCV 3.4.1 (default)" +echo "2. Master" + +read cvVersionChoice + +if [ "$cvVersionChoice" -eq 2 ]; then + cvVersion="master" +else + cvVersion="3.4.1" +fi + +# Create directory for installation +mkdir installation +mkdir installation/OpenCV-"$cvVersion" + +# Save current working directory +cwd=$(pwd) + +# Step 1: Update packages +echo "Updating packages" + +sudo apt-get -y update +sudo apt-get -y upgrade +echo "================================" + +echo "Complete" + +# Step 2: Install OS libraries +echo "Installing OS libraries" + +sudo apt-get -y remove x264 libx264-dev + +## Install dependencies +sudo apt-get -y install build-essential checkinstall cmake pkg-config yasm +sudo apt-get -y install git gfortran +sudo apt-get -y install libjpeg8-dev libjasper-dev libpng12-dev + +sudo apt-get -y install libtiff5-dev + +sudo apt-get -y install libtiff-dev + +sudo apt-get -y install libavcodec-dev libavformat-dev libswscale-dev libdc1394-22-dev +sudo apt-get -y install libxine2-dev libv4l-dev +cd /usr/include/linux +sudo ln -s -f ../libv4l1-videodev.h videodev.h +cd $cwd + +sudo apt-get -y install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev +sudo apt-get -y install libgtk2.0-dev libtbb-dev qt5-default +sudo apt-get -y install libatlas-base-dev +sudo apt-get -y install libfaac-dev libmp3lame-dev libtheora-dev +sudo apt-get -y install libvorbis-dev libxvidcore-dev +sudo apt-get -y install libopencore-amrnb-dev libopencore-amrwb-dev +sudo apt-get -y install libavresample-dev +sudo apt-get -y install x264 v4l-utils + +# Optional dependencies +sudo apt-get -y install libprotobuf-dev protobuf-compiler +sudo apt-get -y install libgoogle-glog-dev libgflags-dev +sudo apt-get -y install libgphoto2-dev libeigen3-dev libhdf5-dev doxygen +echo "================================" + +echo "Complete" + + +# Step 3: Install Python libraries +echo "Install Python libraries" + +sudo apt-get -y install python-dev python-pip python3-dev python3-pip +sudo -H pip2 install -U pip numpy +sudo -H pip3 install -U pip numpy +sudo apt-get -y install python3-testresources + +# Install virtual environment +sudo -H pip2 install virtualenv virtualenvwrapper +sudo -H pip3 install virtualenv virtualenvwrapper +echo "# Virtual Environment Wrapper" >> ~/.bashrc +echo "source /usr/local/bin/virtualenvwrapper.sh" >> ~/.bashrc +#source ~/.bashrc +cd $cwd +source /usr/local/bin/virtualenvwrapper.sh +echo "================================" + +echo "Complete" + +echo "Creating Python environments" + +############ For Python 2 ############ +# create virtual environment +mkvirtualenv OpenCV-"$cvVersion"-py2 -p python2 +workon OpenCV-"$cvVersion"-py2 + +# now install python libraries within this virtual environment +pip install numpy scipy matplotlib scikit-image scikit-learn ipython + +# quit virtual environment +deactivate +###################################### + +############ For Python 3 ############ +# create virtual environment +mkvirtualenv OpenCV-"$cvVersion"-py3 -p python3 +workon OpenCV-"$cvVersion"-py3 + +# now install python libraries within this virtual environment +pip install numpy scipy matplotlib scikit-image scikit-learn ipython + +# quit virtual environment +deactivate +###################################### +echo "================================" +echo "Complete" + +# Step 4: Download opencv and opencv_contrib +echo "Downloading opencv and opencv_contrib" +git clone https://github.com/opencv/opencv.git +cd opencv +git checkout $cvVersion +cd .. + +git clone https://github.com/opencv/opencv_contrib.git +cd opencv_contrib +git checkout $cvVersion +cd .. +echo "================================" +echo "Complete" + +# Step 5: Compile and install OpenCV with contrib modules +echo "================================" +echo "Compiling and installing OpenCV with contrib modules" +cd opencv +mkdir build +cd build + +# For system wide installation: +# Change CMAKE_INSTALL_PREFIX=/usr/local \ + +cmake -D CMAKE_BUILD_TYPE=RELEASE \ + -D CMAKE_INSTALL_PREFIX=$cwd/installation/OpenCV-"$cvVersion" \ + -D INSTALL_C_EXAMPLES=ON \ + -D INSTALL_PYTHON_EXAMPLES=ON \ + -D WITH_TBB=ON \ + -D WITH_V4L=ON \ + -D WITH_QT=ON \ + -D WITH_OPENGL=ON \ + -D OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib/modules \ + -D BUILD_EXAMPLES=ON .. + +make -j4 +make install + +# Create symlink in virtual environment +py2binPath=$(find $cwd/installation/OpenCV-$cvVersion/lib/ -type f -name "cv2.so") +py3binPath=$(find $cwd/installation/OpenCV-$cvVersion/lib/ -type f -name "cv2.cpython*.so") + +# Link the binary python file +cd ~/.virtualenvs/OpenCV-$cvVersion-py2/lib/python2.7/site-packages/ +ln -f -s $py2binPath cv2.so + +cd ~/.virtualenvs/OpenCV-$cvVersion-py3/lib/python3.5/site-packages/ +ln -f -s $py3binPath cv2.so + + +# Print instructions +echo "================================" +echo "Installation complete. Printing test instructions." + +echo workon OpenCV-"$cvVersion"-py2 +echo "ipython" +echo "import cv2" +echo "cv2.__version__" + +if [ $cvVersionChoice -eq 2 ]; then + echo "The output should be 4.0.0-pre" +else + echo The output should be "$cvVersion" +fi + +echo "deactivate" + +echo workon OpenCV-"$cvVersion"-py3 +echo "ipython" +echo "import cv2" +echo "cv2.__version__" + +if [ $cvVersionChoice -eq 2 ]; then + echo "The output should be 4.0.0-pre" +else + echo The output should be "$cvVersion" +fi + +echo "deactivate" + +echo "Installation completed successfully" From c3eec9c817e8861cd85897408203f0a5fb0eeb7d Mon Sep 17 00:00:00 2001 From: vishwesh5 Date: Mon, 17 Sep 2018 18:58:47 +0530 Subject: [PATCH 2/8] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 70ea270c7..7038a5334 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,8 @@ Learn OpenCV : C++ and Python Examples. You can find the details at [LearnOpenC | Blog Post | | | ------------- |:-------------| -|[Multi-Person Pose Estimation in OpenCV using OpenPose](https://www.learnopencv.com/multi-person-pose-estimation-in-opencv-using-openpose/) | +|[Install OpenCV 4 on Ubuntu 16.04](https://www.learnopencv.com/install-opencv-4-on-ubuntu-16-04/) | [Code](https://github.com/spmallick/learnopencv/tree/master/InstallScript-Ubuntu16.04) | +|[Multi-Person Pose Estimation in OpenCV using OpenPose](https://www.learnopencv.com/multi-person-pose-estimation-in-opencv-using-openpose/) | [Code](https://github.com/spmallick/learnopencv/tree/master/OpenPose-Multi-Person) | |[Heatmap for Logo Detection using OpenCV (Python)](https://www.learnopencv.com/heatmap-for-logo-detection-using-opencv-python/) | [Code](https://github.com/spmallick/learnopencv/tree/master/heatmap)| |[Deep Learning based Object Detection using YOLOv3 with OpenCV ( Python / C++ )](https://www.learnopencv.com/deep-learning-based-object-detection-using-yolov3-with-opencv-python-c/) | [Code](https://github.com/spmallick/learnopencv/tree/master/ObjectDetection-YOLO)| |[Convex Hull using OpenCV in Python and C++](https://www.learnopencv.com/convex-hull-using-opencv-in-python-and-c/) | [Code](https://github.com/spmallick/learnopencv/tree/master/ConvexHull)| From ba572194992f123074eb0b9072f5db464b1442dd Mon Sep 17 00:00:00 2001 From: Kushashwa Ravi Shrimali Date: Mon, 17 Sep 2018 22:48:22 +0530 Subject: [PATCH 3/8] Typo corrected (C++ Code) Reference: https://github.com/spmallick/learnopencv/issues/128 Resolved. --- ConvexHull/example.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ConvexHull/example.cpp b/ConvexHull/example.cpp index 2938ea80e..9b322b032 100644 --- a/ConvexHull/example.cpp +++ b/ConvexHull/example.cpp @@ -45,7 +45,7 @@ int main(int argc, char** argv) { CHAIN_APPROX_SIMPLE, Point(0, 0)); // create convex hull vector - vector> hull(contours.size()); + vector< vector > hull(contours.size()); // find convex hull for each contour for(int i = 0; i < contours.size(); i++) From 67ca8c7c34a524d1fe042ac2870b86d87e3d6c55 Mon Sep 17 00:00:00 2001 From: vishwesh5 Date: Tue, 18 Sep 2018 02:01:15 +0530 Subject: [PATCH 4/8] Update installOpenCV.sh --- InstallScript-Ubuntu16.04/installOpenCV.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/InstallScript-Ubuntu16.04/installOpenCV.sh b/InstallScript-Ubuntu16.04/installOpenCV.sh index a7c00e6b3..4ee288eab 100644 --- a/InstallScript-Ubuntu16.04/installOpenCV.sh +++ b/InstallScript-Ubuntu16.04/installOpenCV.sh @@ -6,7 +6,6 @@ # Clean build directories rm -rf opencv/build rm -rf opencv_contrib/build -rm -rf installation echo "OpenCV installation by learnOpenCV.com" From 245d823c71085c1ac27e0dfce51c949e2bb31af4 Mon Sep 17 00:00:00 2001 From: vishwesh5 Date: Wed, 19 Sep 2018 19:09:21 +0530 Subject: [PATCH 5/8] Update installOpenCV.sh --- InstallScript-Ubuntu16.04/installOpenCV.sh | 46 +++++++++++----------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/InstallScript-Ubuntu16.04/installOpenCV.sh b/InstallScript-Ubuntu16.04/installOpenCV.sh index 4ee288eab..702deda5d 100644 --- a/InstallScript-Ubuntu16.04/installOpenCV.sh +++ b/InstallScript-Ubuntu16.04/installOpenCV.sh @@ -31,8 +31,8 @@ cwd=$(pwd) # Step 1: Update packages echo "Updating packages" -sudo apt-get -y update -sudo apt-get -y upgrade +sudo apt -y update +sudo apt -y upgrade echo "================================" echo "Complete" @@ -40,36 +40,36 @@ echo "Complete" # Step 2: Install OS libraries echo "Installing OS libraries" -sudo apt-get -y remove x264 libx264-dev +sudo apt -y remove x264 libx264-dev ## Install dependencies -sudo apt-get -y install build-essential checkinstall cmake pkg-config yasm -sudo apt-get -y install git gfortran -sudo apt-get -y install libjpeg8-dev libjasper-dev libpng12-dev +sudo apt -y install build-essential checkinstall cmake pkg-config yasm +sudo apt -y install git gfortran +sudo apt -y install libjpeg8-dev libjasper-dev libpng12-dev -sudo apt-get -y install libtiff5-dev +sudo apt -y install libtiff5-dev -sudo apt-get -y install libtiff-dev +sudo apt -y install libtiff-dev -sudo apt-get -y install libavcodec-dev libavformat-dev libswscale-dev libdc1394-22-dev -sudo apt-get -y install libxine2-dev libv4l-dev +sudo apt -y install libavcodec-dev libavformat-dev libswscale-dev libdc1394-22-dev +sudo apt -y install libxine2-dev libv4l-dev cd /usr/include/linux sudo ln -s -f ../libv4l1-videodev.h videodev.h cd $cwd -sudo apt-get -y install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev -sudo apt-get -y install libgtk2.0-dev libtbb-dev qt5-default -sudo apt-get -y install libatlas-base-dev -sudo apt-get -y install libfaac-dev libmp3lame-dev libtheora-dev -sudo apt-get -y install libvorbis-dev libxvidcore-dev -sudo apt-get -y install libopencore-amrnb-dev libopencore-amrwb-dev -sudo apt-get -y install libavresample-dev -sudo apt-get -y install x264 v4l-utils +sudo apt -y install libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev +sudo apt -y install libgtk2.0-dev libtbb-dev qt5-default +sudo apt -y install libatlas-base-dev +sudo apt -y install libfaac-dev libmp3lame-dev libtheora-dev +sudo apt -y install libvorbis-dev libxvidcore-dev +sudo apt -y install libopencore-amrnb-dev libopencore-amrwb-dev +sudo apt -y install libavresample-dev +sudo apt -y install x264 v4l-utils # Optional dependencies -sudo apt-get -y install libprotobuf-dev protobuf-compiler -sudo apt-get -y install libgoogle-glog-dev libgflags-dev -sudo apt-get -y install libgphoto2-dev libeigen3-dev libhdf5-dev doxygen +sudo apt -y install libprotobuf-dev protobuf-compiler +sudo apt -y install libgoogle-glog-dev libgflags-dev +sudo apt -y install libgphoto2-dev libeigen3-dev libhdf5-dev doxygen echo "================================" echo "Complete" @@ -78,10 +78,10 @@ echo "Complete" # Step 3: Install Python libraries echo "Install Python libraries" -sudo apt-get -y install python-dev python-pip python3-dev python3-pip +sudo apt -y install python-dev python-pip python3-dev python3-pip sudo -H pip2 install -U pip numpy sudo -H pip3 install -U pip numpy -sudo apt-get -y install python3-testresources +sudo apt -y install python3-testresources # Install virtual environment sudo -H pip2 install virtualenv virtualenvwrapper From f072e450225882a73c2cecf8c41209d4481d901b Mon Sep 17 00:00:00 2001 From: vishwesh5 Date: Wed, 19 Sep 2018 14:04:13 +0000 Subject: [PATCH 6/8] Add installation script --- .../installOpenCV-16-04.sh | 0 InstallScripts/installOpenCV-18-04.sh | 210 ++++++++++++++++++ README.md | 3 +- 3 files changed, 212 insertions(+), 1 deletion(-) rename InstallScript-Ubuntu16.04/installOpenCV.sh => InstallScripts/installOpenCV-16-04.sh (100%) create mode 100755 InstallScripts/installOpenCV-18-04.sh diff --git a/InstallScript-Ubuntu16.04/installOpenCV.sh b/InstallScripts/installOpenCV-16-04.sh similarity index 100% rename from InstallScript-Ubuntu16.04/installOpenCV.sh rename to InstallScripts/installOpenCV-16-04.sh diff --git a/InstallScripts/installOpenCV-18-04.sh b/InstallScripts/installOpenCV-18-04.sh new file mode 100755 index 000000000..29f262553 --- /dev/null +++ b/InstallScripts/installOpenCV-18-04.sh @@ -0,0 +1,210 @@ +#!/bin/bash + +############## WELCOME ############# +# Clean build directories + +rm -rf opencv/build +rm -rf opencv_contrib/build +rm -rf installation + +# Step 0: Take inputs +echo "OpenCV installation by learnOpenCV.com" + +echo "Select OpenCV version to install (1 or 2)" +echo "1. OpenCV 3.4.1 (default)" +echo "2. Master" + +read cvVersionChoice + +cvVersionChoice=1 + +if [ "$cvVersionChoice" -eq 2 ]; then + cvVersion="master" +else + cvVersion="3.4.1" +fi + +# Save current working directory +cwd=$(pwd) + +# Create installation directory +mkdir installation +mkdir installation/OpenCV-"$cvVersion" + +# Step 1: Update packages +echo "Updating packages" + +sudo apt -y update +sudo apt -y upgrade + +echo "================================" + +echo "Complete" + +# Step 2: Install OS libraries +echo "Installing OS libraries" + +sudo apt -y remove x264 libx264-dev + +## Install dependencies +sudo apt -y install build-essential checkinstall cmake pkg-config yasm +sudo apt -y install git gfortran +sudo apt -y install libjpeg8-dev libpng-dev + +sudo apt -y install software-properties-common +sudo add-apt-repository "deb http://security.ubuntu.com/ubuntu xenial-security main" +sudo apt -y update + +sudo apt -y install libjasper1 +sudo apt -y install libtiff-dev + +sudo apt -y install libavcodec-dev libavformat-dev libswscale-dev libdc1394-22-dev +sudo apt -y install libxine2-dev libv4l-dev +cd /usr/include/linux +sudo ln -s -f ../libv4l1-videodev.h videodev.h +cd "$cwd" + +sudo apt -y install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev +sudo apt -y install libgtk2.0-dev libtbb-dev qt5-default +sudo apt -y install libatlas-base-dev +sudo apt -y install libfaac-dev libmp3lame-dev libtheora-dev +sudo apt -y install libvorbis-dev libxvidcore-dev +sudo apt -y install libopencore-amrnb-dev libopencore-amrwb-dev +sudo apt -y install libavresample-dev +sudo apt -y install x264 v4l-utils + +# Optional dependencies +sudo apt -y install libprotobuf-dev protobuf-compiler +sudo apt -y install libgoogle-glog-dev libgflags-dev +sudo apt -y install libgphoto2-dev libeigen3-dev libhdf5-dev doxygen + +echo "================================" + +echo "Complete" + +# Step 3: Install Python libraries +echo "Install Python libraries" + +sudo apt -y install python-dev python-pip python3-dev python3-pip +sudo -H pip2 install -U pip numpy +sudo -H pip3 install -U pip numpy +sudo apt -y install python3-testresources + +# Install virtual environment +sudo -H pip2 install virtualenv virtualenvwrapper +sudo -H pip3 install virtualenv virtualenvwrapper +echo "# Virtual Environment Wrapper" >> ~/.bashrc +echo "source /usr/local/bin/virtualenvwrapper.sh" >> ~/.bashrc +source /usr/local/bin/virtualenvwrapper.sh +echo "================================" + +echo "Complete" + +echo "Creating Python environments" + +############ For Python 2 ############ +# create virtual environment +mkvirtualenv OpenCV-"$cvVersion"-py2 -p python2 +workon OpenCV-"$cvVersion"-py2 + +# now install python libraries within this virtual environment +pip install numpy scipy matplotlib scikit-image scikit-learn ipython + +# quit virtual environment +deactivate +###################################### + +############ For Python 3 ############ +# create virtual environment +mkvirtualenv OpenCV-"$cvVersion"-py3 -p python3 +workon OpenCV-"$cvVersion"-py3 + +# now install python libraries within this virtual environment +pip install numpy scipy matplotlib scikit-image scikit-learn ipython + +# quit virtual environment +deactivate +###################################### +echo "================================" +echo "Complete" + +# Step 4: Download opencv and opencv_contrib +echo "Downloading opencv and opencv_contrib" +git clone https://github.com/opencv/opencv.git +cd opencv +git checkout $cvVersion +cd .. + +git clone https://github.com/opencv/opencv_contrib.git +cd opencv_contrib +git checkout $cvVersion +cd .. +echo "================================" +echo "Complete" + +# Step 5: Compile and install OpenCV with contrib modules +echo "================================" +echo "Compiling and installing OpenCV with contrib modules" + +cd opencv +mkdir build +cd build + +# For system wide installation: +# Change CMAKE_INSTALL_PREFIX=/usr/local \ + +cmake -D CMAKE_BUILD_TYPE=RELEASE \ + -D CMAKE_INSTALL_PREFIX="$cwd"/installation/OpenCV-"$cvVersion" \ + -D INSTALL_C_EXAMPLES=ON \ + -D INSTALL_PYTHON_EXAMPLES=ON \ + -D WITH_TBB=ON \ + -D WITH_V4L=ON \ + -D WITH_QT=ON \ + -D WITH_OPENGL=ON \ + -D OPENCV_EXTRA_MODULES_PATH=../../opencv_contrib/modules \ + -D BUILD_EXAMPLES=ON .. + +make -j4 + +make install + +# Create symlink in virtual environment +py2binPath=$(find "$cwd"/installation/OpenCV-"$cvVersion"/lib/ -type f -name "cv2.so") +py3binPath=$(find "$cwd"/installation/OpenCV-"$cvVersion"/lib/ -type f -name "cv2.cpython*.so") + +# Link the binary python file +cd ~/.virtualenvs/OpenCV-"$cvVersion"-py2/lib/python2.7/site-packages/ +ln -f -s "$py2binPath" cv2.so + +cd ~/.virtualenvs/OpenCV-$cvVersion-py3/lib/python3.6/site-packages/ +ln -f -s "$py3binPath" cv2.so + +# Print instructions +echo "================================" +echo "Installation complete. Printing test instructions." + +echo workon OpenCV-"$cvVersion"-py2 +echo "ipython" +echo "import cv2" +echo "cv2.__version__" + +if [ $cvVersionChoice -eq 2 ]; then + echo "The output should be 4.0.0-pre" +else + echo The output should be "$cvVersion" +fi + +echo "deactivate" + +echo workon OpenCV-"$cvVersion"-py3 +echo "ipython" +echo "import cv2" +echo "cv2.__version__" + +if [ $cvVersionChoice -eq 2 ]; then + echo "The output should be 4.0.0-pre" +else + echo The output should be "$cvVersion" +fi +echo "deactivate" +echo "Installation completed successfully" diff --git a/README.md b/README.md index 7038a5334..9cb21bcec 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,8 @@ Learn OpenCV : C++ and Python Examples. You can find the details at [LearnOpenC | Blog Post | | | ------------- |:-------------| -|[Install OpenCV 4 on Ubuntu 16.04](https://www.learnopencv.com/install-opencv-4-on-ubuntu-16-04/) | [Code](https://github.com/spmallick/learnopencv/tree/master/InstallScript-Ubuntu16.04) | +|[Install OpenCV 4 on Ubuntu 18.04](https://www.learnopencv.cominstall-opencv-4-on-ubuntu-18-04/) | [Code](https://github.com/spmallick/learnopencv/tree/master/InstallScripts/installOpenCV-18-04.sh) | +|[Install OpenCV 4 on Ubuntu 16.04](https://www.learnopencv.com/install-opencv-4-on-ubuntu-16-04/) | [Code](https://github.com/spmallick/learnopencv/tree/master/InstallScripts/installOpenCV-16-04.sh) | |[Multi-Person Pose Estimation in OpenCV using OpenPose](https://www.learnopencv.com/multi-person-pose-estimation-in-opencv-using-openpose/) | [Code](https://github.com/spmallick/learnopencv/tree/master/OpenPose-Multi-Person) | |[Heatmap for Logo Detection using OpenCV (Python)](https://www.learnopencv.com/heatmap-for-logo-detection-using-opencv-python/) | [Code](https://github.com/spmallick/learnopencv/tree/master/heatmap)| |[Deep Learning based Object Detection using YOLOv3 with OpenCV ( Python / C++ )](https://www.learnopencv.com/deep-learning-based-object-detection-using-yolov3-with-opencv-python-c/) | [Code](https://github.com/spmallick/learnopencv/tree/master/ObjectDetection-YOLO)| From 5c8d05e6ff14e0ba318b8a0a87f403fe0c39f831 Mon Sep 17 00:00:00 2001 From: vishwesh5 Date: Wed, 19 Sep 2018 14:06:12 +0000 Subject: [PATCH 7/8] Add install scripts --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9cb21bcec..0647a7af2 100644 --- a/README.md +++ b/README.md @@ -5,8 +5,8 @@ Learn OpenCV : C++ and Python Examples. You can find the details at [LearnOpenC | Blog Post | | | ------------- |:-------------| -|[Install OpenCV 4 on Ubuntu 18.04](https://www.learnopencv.cominstall-opencv-4-on-ubuntu-18-04/) | [Code](https://github.com/spmallick/learnopencv/tree/master/InstallScripts/installOpenCV-18-04.sh) | -|[Install OpenCV 4 on Ubuntu 16.04](https://www.learnopencv.com/install-opencv-4-on-ubuntu-16-04/) | [Code](https://github.com/spmallick/learnopencv/tree/master/InstallScripts/installOpenCV-16-04.sh) | +|[Install OpenCV 4 on Ubuntu 18.04](https://www.learnopencv.cominstall-opencv-4-on-ubuntu-18-04/) | [Code](https://github.com/vishwesh5/learnopencv/blob/master/InstallScripts/installOpenCV-18-04.sh) | +|[Install OpenCV 4 on Ubuntu 16.04](https://www.learnopencv.com/install-opencv-4-on-ubuntu-16-04/) | [Code](https://github.com/vishwesh5/learnopencv/blob/master/InstallScripts/installOpenCV-16-04.sh) | |[Multi-Person Pose Estimation in OpenCV using OpenPose](https://www.learnopencv.com/multi-person-pose-estimation-in-opencv-using-openpose/) | [Code](https://github.com/spmallick/learnopencv/tree/master/OpenPose-Multi-Person) | |[Heatmap for Logo Detection using OpenCV (Python)](https://www.learnopencv.com/heatmap-for-logo-detection-using-opencv-python/) | [Code](https://github.com/spmallick/learnopencv/tree/master/heatmap)| |[Deep Learning based Object Detection using YOLOv3 with OpenCV ( Python / C++ )](https://www.learnopencv.com/deep-learning-based-object-detection-using-yolov3-with-opencv-python-c/) | [Code](https://github.com/spmallick/learnopencv/tree/master/ObjectDetection-YOLO)| From 069690b973ec517e9c777c18feebaec532e6414e Mon Sep 17 00:00:00 2001 From: vishwesh5 Date: Wed, 19 Sep 2018 19:36:58 +0530 Subject: [PATCH 8/8] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0647a7af2..6b9a77a51 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Learn OpenCV : C++ and Python Examples. You can find the details at [LearnOpenC | Blog Post | | | ------------- |:-------------| -|[Install OpenCV 4 on Ubuntu 18.04](https://www.learnopencv.cominstall-opencv-4-on-ubuntu-18-04/) | [Code](https://github.com/vishwesh5/learnopencv/blob/master/InstallScripts/installOpenCV-18-04.sh) | +|[Install OpenCV 4 on Ubuntu 18.04](https://www.learnopencv.com/install-opencv-4-on-ubuntu-18-04/) | [Code](https://github.com/vishwesh5/learnopencv/blob/master/InstallScripts/installOpenCV-18-04.sh) | |[Install OpenCV 4 on Ubuntu 16.04](https://www.learnopencv.com/install-opencv-4-on-ubuntu-16-04/) | [Code](https://github.com/vishwesh5/learnopencv/blob/master/InstallScripts/installOpenCV-16-04.sh) | |[Multi-Person Pose Estimation in OpenCV using OpenPose](https://www.learnopencv.com/multi-person-pose-estimation-in-opencv-using-openpose/) | [Code](https://github.com/spmallick/learnopencv/tree/master/OpenPose-Multi-Person) | |[Heatmap for Logo Detection using OpenCV (Python)](https://www.learnopencv.com/heatmap-for-logo-detection-using-opencv-python/) | [Code](https://github.com/spmallick/learnopencv/tree/master/heatmap)|