wkentaro / imgviz-cpp

Image Visualization Tools for C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

imgviz-cpp

Image Visualization Tools for C++


Installation

  1. Copy include/imgviz.hpp to your project's include directory.
  2. Add below to your CMakeLists.txt.
  3. 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
examples/label_to_bgr.cpp
examples/depth_to_bgr.cpp
examples/tile.cpp
examples/centerize.cpp

About

Image Visualization Tools for C++


Languages

Language:C++ 90.5%Language:CMake 9.5%