GitHub basic tutorial
  • Introduction
  • Khởi động hệ thống Ground station computer - Companion computer (Odroid) - Pixhawk
  • Tao 1 private Folder tu public Folder
  • Tạo folder dev PX4 code
  • PX4 modification
  • MAVROS modification
  • Tạo node I3S_receiver
  • Kết nối đọc dữ liệu trong Pixhawk
  • Terminal Linux Ubuntu
  • Kết nối ROS hai máy tính
  • Build ros package in Odroid
  • Pressure sensor
  • Kết nối camera oCAM trên ROS
  • Cài đặt và sử dụng Matlab 2017b trên Linux Ubuntu
  • Một vài vấn đề trên Windows 7
  • Terminator
  • Upload compiled firmware of Pixhawk from odroid
  • Kết nối internet và Ethernet với Odroid (qua Switch) và 1 card mạng kết nối internet
  • IMU, Camera, Pixhawk connection to odroid
  • Kết nối ssh
  • Tham khao code homography cua Ninad
  • Matlab_2017b_problems
  • Eigen library - Mathematical toolbox for C++
  • Kinh nghiệm chuẩn bị presentation
  • Tap lenh lam viec voi Pixhawk px4
  • Offboard mode in PX4
  • P51 Lenovo, trackpad and trackpoint
  • P51 Lenov, Install Quadro M2200 graphic card
  • Gilab
  • Tao 1 private Folder tu public Folder
  • Ubuntu tips: show desktop by pressing Super + D
  • Install eclipse
  • Windows error
  • How to update Sublime Text 3 in ubuntu 16.04
  • PX4 Pixhawk hardfault
  • Install CUDA for computer with NVIDIA graphic card
  • Install openCV after installing CUDA
  • Meld - tool for file or folder comparison
  • GIT - move a full git repository from one remote sever to another one
  • Jetson Nano Installation
  • Working in Jetson Nano
  • Backup and Restore micro sd card
Powered by GitBook
On this page
  • then choose verion 3.4.1
  • Pre installation:
  • Download opencv-3.4.1and extract to
  • Creat a folder, named as build
  • Then run with option -D WITH_CUDA=ON
  • and run
  • then run

Was this helpful?

Install openCV after installing CUDA

PreviousInstall CUDA for computer with NVIDIA graphic cardNextMeld - tool for file or folder comparison

Last updated 5 years ago

Was this helpful?

then choose verion 3.4.1

Follows

Pre installation:

[compiler] sudo apt-get install build-essential

[required] sudo apt-get install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev

[optional] sudo apt-get install python-dev python-numpy libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libdc1394-22-dev

Download opencv-3.4.1and extract to

/home/auv/opencv-3.4.1

Creat a folder, named as build

cd ~/opencv-3.4.1

mkdir build

cd build

Then run with option -D WITH_CUDA=ON

cmake -D CMAKE_BUILD_TYPE=Release -D WITH_CUDA=ON -D CMAKE_INSTALL_PREFIX=/usr/local ..

and run

make -j12

since auv7530 has 12 cores

then run

sudo make install

**************************

Check installl version of openCV

auvnano@jetsonnano:~$ pkg-config opencv --cflags

-I/usr/local/include/opencv -I/usr/local/include

auvnano@jetsonnano:~$ pkg-config --modversion opencv

3.4.1

https://opencv.org/releases.html
intruction for installing