Installation
- Copy
include/imgviz.hpp
to
your project's include
directory.
- Add below to your
CMakeLists.txt
.
- Refer to
examples/getting_started.cpp
and examples to see how to use this library.
find_package(OpenCV REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS} include)
link_directories(${OpenCV_LIBRARY_DIRS})
add_definitions(${OpenCV_DEFINITIONS})
add_executable(your_executable src/your_executable.cpp)
target_link_libraries(your_executable ${OpenCV_LIBRARIES})
Examples
git clone https://github.com/wkentaro/imgviz-cpp.git
cd imgviz-cpp
mkdir build
cd build
cmake ..
make -j
./getting_started ../data