Repository for OpenCV's extra modules
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
kallaballa b6c6ffdf87 Merge branch 'main' of github.com:kallaballa/GCV 3 years ago
src even briefer 3 years ago
.gitignore updated gitignore 3 years ago
LICENSE Initial commit 3 years ago
Makefile it's actually not a camera demo. call it video-demo 3 years ago
README.md Update README.md 3 years ago
debug-env.sh updated debug env variables 3 years ago

README.md

GCV

OpenGL/OpenCL/VAAPI interop demo using the 4.x branch of OpenCV (https://github.com/opencv/opencv/tree/4.x)

Instructions

You need to build the most recent 4.x branch of OpenCV.

Build OpenCV

git clone --branch 4.x https://github.com/opencv/opencv.git
cd opencv
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DHAVE_EGL_INTEROP=ON -DWITH_OPENGL=ON -DWITH_VA=ON -DWITH_VA_INTEL=ON -DWITH_QT=ON -DBUILD_PERF_TESTS=OFF -DBUILD_TESTS=OFF ..
make -j8
sudo make install

Build demo code

git clone https://github.com/kallaballa/GCV.git
cd GCV
make -j2

Run the tetra-demo:

src/tetra/tetra-demo

Run the camera-demo:

src/tetra/camera-demo