(•_•)
( •_•)>⌐■-■
(⌐■_■) -I'm not a nobody
This repository is the baseline of a C++ live video processing app. It uses OpenCV to process images and works on both Windows and Linux.
It also uses the json modern lib to parse files.
You can clone the projet directly from github by graphical interface or with CLI:
git clone https://github.com/n2oblife/live_video_processing.git
cd live_video_processing
To use this project you need t setup your computer. PS : you can take a coffee or two during the setup
You have to install some things :
When everything is set up, install OpenCV (the Windows' release version) and put it in C:\lib
and then launch C:\lib\opencv\build\setup_vars_opencv4.cmd
to setup the environnement variables automatically.
You can just launch the setup_project_linux.sh
file from terminal to install everything needed.
Once your computer is ready, use the shell/powershell to build the project as following.
mkdir build
cd build
cmake ..
make --build . --config <release or debug> -j <nbr of threads>
To have the number of thread on Linux : $(nproc)
To have the number of thread on Windows : Intel_FAQ
If you want to rebuild your project after modifications juste enter the last line inside of the /build
folder.
If you changed the architecture of the project or one of the CMakeList.txt or you made some mistakes, just delete the /build
folder and do the building again.