- Copy
include/imgviz.hpp
to your project'sinclude
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})
git clone https://github.com/wkentaro/imgviz-cpp.git
cd imgviz-cpp
mkdir build
cd build
cmake ..
make -j
./getting_started ../data
examples/label_to_bgr.cpp
|
|
examples/depth_to_bgr.cpp
|
|
examples/tile.cpp
|
|
examples/centerize.cpp
|