- Video processing starts in
src/processing.cpp
ProcessVideo - Image processing starts in
src/processing.cpp
ProcessImage
- Built on Ubuntu 22.04 WSL
- Also works on native!
- Opencv
sudo apt install libopencv-dev
- CMake 3.12 minimum
- Ubuntu repository: https://apt.kitware.com/
- GCC or other c++ capable compiler:
sudo apt install build-essential
mkdir build
cd build
cmake ..
make
- Built on Windows 10
Required:
- Clang:
winget install LLVM.LLVM
- CMake
winget install Kitware.CMake
- Ninja build:
winget install Ninja-build.Ninja
- OpenCV
- If you chose another extraction location than
C:/opencv
, make sure to adjustOPENCV_MAIN_DIR
inCMakeLists.txt
!
- If you chose another extraction location than
mkdir build
cd build
cmake .. -G Ninja -D CMAKE_BUILD_TYPE="Debug" -D CMAKE_CXX_COMPILER="C:/Program Files/LLVM/bin/clang++.exe" -D CMAKE_C_COMPILER="C:/Program Files/LLVM/bin/clang.exe" -D CMAKE_RC_COMPILER="C:/Program Files/LLVM/bin/llvm-rc.exe
ninja
- Debug builds on Windows are slow to run. Thus, configure a release build:
cmake .. -G Ninja -D CMAKE_BUILD_TYPE="Release" -D CMAKE_CXX_COMPILER="C:/Program Files/LLVM/bin/clang++.exe" -D CMAKE_C_COMPILER="C:/Program Files/LLVM/bin/clang.exe" -D CMAKE_RC_COMPILER="C:/Program Files/LLVM/bin/llvm-rc.exe"