Last active
May 10, 2024 00:13
-
-
Save abidanBrito/24a8924b49fb7273da2ccdf6c94eb84a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install minimal prerequisites (Ubuntu 18.04 as reference) | |
sudo apt update && sudo apt install -y cmake g++ wget unzip | |
# Download and unpack sources | |
wget -O opencv.zip https://github.com/opencv/opencv/archive/4.x.zip | |
unzip opencv.zip | |
# Create build directory | |
mkdir -p build && cd build | |
# Configure | |
cmake ../opencv-4.x | |
# Build | |
cmake --build . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment