Canny-EVT
A library for ***
Loading...
Searching...
No Matches
Installation

Downloading the source code

Canny-EVT is freely available under

https://github.com/zyfff/Canny-EVT

You may first have to register on github.com. You can just download a zip-file with the code, but we strongly recommend that you make yourself familiar with git. Git is a distributed version-control and source code management system. By using git to clone the repository locally, you can easily get updates at a later stage, and also facilitate the integration of own improvements or extensions into the original repository on github. This is done using the pull-request mechanism.

To clone the library under Mac OSX or Linux, simply type (assuming that git is installed):

git clone https://github.com/zyfff/Canny-EVT

Under Windows you probably have a similar option. More information about git can be found here:

http://git-scm.com/

Follow the "Try git" link for an amazing interactive tutorial.

Required Libraries

To run this project, you'll need to install the following libraries:

  • OpenCV
  • Eigen3
  • PCL
  • Pangolin

Installation Instructions

  • OpenCV

    Command Line Installation (Quick)

    To install OpenCV on a Debian-based system (like Ubuntu) via command line, use:

    sudo apt install libopencv-dev python3-opencv
    

    Source Installation

    For a custom installation or for systems without pre-built packages, you can install OpenCV from source.

    1. Visit the official OpenCV website to download the source code:
    2. Download the latest source code from the releases page:

    After downloading, extract the files, navigate to the directory, and follow the standard source building process with CMake.

    Note: Building from source requires additional steps such as dependency resolution and configuration which are not covered in this brief README. Please refer to the OpenCV documentation for detailed instructions.

  • Eigen3

    Command Line Installation (Quick)

    To install Eigen3 on Debian-based systems via command line:

    sudo apt install libeigen3-dev
    

    Source Installation

    For manual installation from source:

    Download the source code from the official Eigen website:

    After downloading, you can include Eigen in your C++ project by adding the extracted directory to your include path. Eigen is a header-only library, so no building or linking is necessary.

  • PCL

    Command Line Installation (Quick)

    For Debian-based systems, use the following commands to install PCL from a PPA repository:

    sudo add-apt-repository ppa:v-launchpad-jochen-sprickerhof-de/pcl
    sudo apt-get update
    sudo apt-get install libpcl-dev
    

    Source Installation

    Alternatively, to install PCL from source:

    Clone the PCL repository:

    git clone https://github.com/PointCloudLibrary/pcl.git
    

    After cloning, proceed with the build process using CMake and make.

    Note: Building from source requires fulfilling certain dependencies and might be system-specific. Please refer to the PCL documentation for a complete build guide.

  • Pangolin

    To install Pangolin from the source, use the following command to clone the repository:

    git clone https://github.com/stevenlovegrove/Pangolin.git
    

    After cloning, proceed with the build process using CMake and make.

    Note: Ensure all the required dependencies are installed before compiling Pangolin. Refer to the Pangolin GitHub repository for detailed build instructions and dependency information.

Compilation

To compile the project, you can use one of the following commands based on your shell preference:

For bash or similar shells:

source build_all.sh

For zsh:

source build_all.zsh

Ensure that you have the necessary permissions to execute the scripts and that they are located in your current directory.