Rate This Document
Findability
Accuracy
Completeness
Readability

Compilation and Installation

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Install the OpenCV dependency libraries and tools.
    yum install git gcc-c++ cmake -y
  3. Go to the source package directory and decompress the source package.
    cd /path/to/opencv
    tar xvf 4.5.5.tar.gz
    cd opencv-4.5.5
  4. Create a build directory.
    mkdir build
    cd build/
  5. Perform the compilation.
    cmake .. -DCMAKE_INSTALL_PREFIX=/path/to/opencv/opencv
    make -j8 && make install