You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.1 KiB
1.1 KiB
Step by step installation
-
OpenCV v3.4.0 build from source through CMake
- v4.x+ version have some MacOS compatable issue
- v4.x+ version work on Ubuntu
-
LibRaw
-
MacOS :
brew install libraw libpng libjpeg
-
Ubuntu :
step 1: download libraw package here: https://www.libraw.org/download
step 2: extract the pkg using
tar xzvf LibRaw-X.YY.tar.gz
step 3:
cd LibRaw-X.YY ./configure # with optional args make
step 4:
sudo make install
step 5: change the target_link_libraries in cmakelist file to the following:
target_link_libraries(${PROJECT_NAME} ${OpenCV_LIBS} ${LIBRAW_LIBRARY}) ```
-
-
Install
exiv2
- MacOS :
brew install exiv2
&brew install libssh
- Ubuntu :
apt install libexiv2-dev
- MacOS :
-
Run CMake to build
mkdir build cd build # Default release build will be used cmake .. make -j 10