Hi !
Quick post to remind me the 6 commands to install OpenCV in my Raspberry Pi
sudo apt-get install libhdf5-dev libhdf5-serial-dev libhdf5-100
sudo apt-get install libqtgui4 libqtwebkit4 libqt4-test
sudo apt-get install libatlas-base-dev
sudo apt-get install libjasper-dev
wget https://bootstrap.pypa.io/get-pip.py
sudo python3 get-pip.py
sudo pip3 install opencv-contrib-python
There is an optional command to update pip, which is always nice.
Happy Coding!
Greetings @ Burlington
El Bruno
References
- Open CV, https://opencv.org/
- Caribbean Developer Conference 2019, https://cdc.dev/
My posts on Raspberry Pi β‘π²β‘
Dev posts for Raspberry Pi
- How to grant permissions to a folder after git clone, to perform dotnet restore on a Raspberry Pi
- How to install .Net Core 3.1 in a Raspberry Pi 4
- Installing Visual Studio Code in a Raspberry Pi 4, run as root, fix black screen
- How to install .Net Core in a Raspberry Pi 4 and test with Hello World
- Build and Run C# NetCore projects in a Raspberry Pi 4 with Visual Studio Code
- Letβs do some Git dev in Raspberry Pi 4 (GitHub and Azure DevOps!)
- Install OpenCV
- Install Python π Virtual Environments in Raspberry Pi
- Setup SSH passwordless access to remote work with Docker π³
- Manage Docker π³ as a non-root user
- Build Docker π³ images from Visual Studio Code remotely using a Raspberry Pi
Tools and Apps for Raspberry Pi
- Where is my Task Manager in RaspberryPi? Letβs try htop
- Multi-monitor πΊ in Raspberry Pi 4 rocks !
- Double Commander on RaspberryPi4, because files are important
- How to install Docker π³ in a Raspberry Pi 4
- Installing Visual Studio Code in a Raspberry Pi
- Installing Visual Studio Code in a Raspberry Pi, run as root, fix black screen (Updated)
- 6 commands to install OpenCV for Python π in a Raspberry Pi 4
Setup the device
- 1st Setup without monitor πΊ: auto connect to WiFi πΆ, enable SSH, update and more
- Setup without monitor: enable VNC
- How to enable auto start with HDMI safe mode
- Running a Python π script in a Python Virtual Environment on reboot / startup
- Setup Wifi on Ubuntu