Skip to content

unizippro/CDIO_Robot

Repository files navigation

CDIO_Robot

CDIO project for group 14

MacOS

brew install ant
brew edit opencv

Change -DBUILD_opencv_java=OFF to -DBUILD_opencv_java=ON

brew install -s opencv

Linux

lsb_release -a; getconf LONG_BIT
apt install build-essential cmake git pkg-config libgtk-3-dev libavcodec-dev libavformat-dev libswscale-dev libv4l-dev libxvidcore-dev libx264-dev libjpeg-dev libpng-dev libtiff-dev gfortran openexr python3-dev python3-numpy libtbb2 libtbb-dev libdc1394-22-dev -y
mkdir opencv_build && cd opencv_build
git clone https://github.com/opencv/opencv.git
git clone https://github.com/opencv/opencv_contrib.git
cd opencv
mkdir build && cd build
cmake -D CMAKE_BUILD_TYPE=RELEASE \ -D CMAKE_INSTALL_PREFIX=/usr/local \ -D INSTALL_C_EXAMPLES=ON \ -D INSTALL_PYTHON_EXAMPLES=ON \ -D OPENCV_EXTRA_MODULES_PATH=~/opencv_build/opencv_contrib/modules \ -D BUILD_EXAMPLES=ON ..
make -j{number_of_processors}
make install

If issues with cmake:

rm CMakeCache.txt

About

CDIO project for group 14

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages