Skip to content

Instantly share code, notes, and snippets.

@ukicomputers
Last active March 16, 2024 13:21
Show Gist options
  • Save ukicomputers/e559854ac0b4fba7ea722722f96d5fbf to your computer and use it in GitHub Desktop.
Save ukicomputers/e559854ac0b4fba7ea722722f96d5fbf to your computer and use it in GitHub Desktop.
All required libaryes for OpenCV on Linux
sudo apt install build-essential
sudo apt install cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev
sudo apt install ffmpeg
git clone https://github.com/opencv/opencv.git
mkdir opencv-build
cd opencv-build
cmake ../opencv
make -j$(nproc)
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment