/opencx

Sunglok's OpenCV Extension

Primary LanguageC++OtherNOASSERTION

OpenCX: Sunglok's OpenCV Extension

OpenCX aims to provide extended functionality and tools to OpenCV for more convenience. It consists of several header files, opencx.hpp and others, which only depend on OpenCV in C++. Just include the file to your project. It will work without complex configuration and dependency. OpenCX is Beerware so that it is free to use and distribute.

File Description

  • opencx.hpp: My OpenCV extension
  • opensx.hpp: My C++ extension not depending on OpenCV
  • ekf.hpp: My implementation of the extended Kalman filter
  • example_cx.cpp: Examples using opencx.hpp
  • example_sx.cpp: Examples using opensx.hpp
  • example_ekf.cpp: Pose estimation examples for comparison of cx::EKF and cv::KalmanFilter
  • README.md: A brief introduction to OpenCX
  • CMakeList.txt: A CMake script to build examples

Running Examples

  1. git clone https://github.com/sunglok/opencx.git: Clone OpenCX repository
  2. mkdir opecx/build && cd opencx/build: Make a build directory
  3. cmake ..: Prepare to build (generating Makefile file or MSVS solution/project files)
    • In Windows, you need to specify the location of OpenCV (where OpenCVConfig.cmake exists) as follows: cmake .. -D OpenCV_DIR:PATH="C:\Your\OpenCV\Dir".
    • You can use cmake-gui for easier CMake configuration.
  4. make: Build examples
    • In Windows, please open opencx.sln and build projects.

License

Contact