Skip to content

Latest commit

 

History

History
38 lines (24 loc) · 871 Bytes

README.md

File metadata and controls

38 lines (24 loc) · 871 Bytes

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.