diff --git a/README.md b/README.md index 9e99299b8..74d74edb3 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,17 @@ # GCV -OpenGL/OpenCL/VAAPI interop demo using my OpenCV-4.x fork (https://github.com/kallaballa/opencv/tree/GCV) +OpenGL/OpenCL/VAAPI interop demo using the 4.x branch of OpenCV (https://github.com/opencv/opencv/tree/GCV) # Instructions -While I try to get the necessary changes into the official OpenCV repo (https://github.com/opencv/opencv/issues/22607 and https://github.com/opencv/opencv/issues/22622) you need to build the OpenCV fork yourself. +You need to build the most recent 4.x branch of OpenCV. ## Build OpenCV ```bash -git clone --branch GCV https://github.com/kallaballa/opencv.git +git clone --branch 4.x https://github.com/opencv/opencv.git cd opencv mkdir build cd build -cmake -DCMAKE_BUILD_TYPE=Release -DWITH_OPENGL=ON -DWITH_VA=ON -DWITH_VA_INTEL=ON -DWITH_QT=ON -DBUILD_PERF_TESTS=OFF -DBUILD_TESTS=OFF .. +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 ```