Qt + OpenCV based camera tool.
- Qt 5.10+
- CUDA Toolkit 9.1+
- OpenCV 3.4.0+ (needs to be compiled with CUDA support)
git clone https://github.com/opencv/opencv.git
cd opencv
mkdir build
cd build
cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D FORCE_VTK=ON -D WITH_TBB=ON -D WITH_V4L=ON -D WITH_QT=ON -D WITH_OPENGL=ON -D WITH_CUBLAS=ON -D CUDA_NVCC_FLAGS="-D_FORCE_INLINES --expt-relaxed-constexpr" -D WITH_GDAL=ON -D WITH_XINE=ON -D BUILD_EXAMPLES=ON ..
make -j8
make install
git clone https://github.com/zaak/camgrab.git
Open CamGrab.pro
in Qt Creator or:
cd camgrab
qmake
make