demos for OpenCV 4.0.0
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets - rename valve.png -> in.png Dec 19, 2018
sobel-gapi
sobel
.gitignore - initial Dec 14, 2018
CMakeLists.txt - rename valve.png -> in.png Dec 19, 2018
README.md Update README.md Dec 19, 2018
build.sh - initial Dec 14, 2018
conanfile.txt - initial Dec 14, 2018

README.md

opencv4-demo

demo for OpenCV 4.0.0, demonstrates applying Sobel operator to the image, using regular approach, and new G-API.

demo uses CMake and conan to build.

if you're not familiar with conan, check out the article Getting Started with conan.io.

checkout the conanfile.txt in order to see how does it declares an OpenCV dependency.

build instructions:

run the following commands:

mkdir build
cd build

conan install -g cmake -s build_type=Release ..
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build .

running the demos:

run the following commands:

./sobel

or

./sobel-gapi

output image will be stored as out.png.