- Mastering OpenCV 4 with Python
- Alberto Fernández Villán
- 45字
- 2025-04-04 14:41:17
Installing OpenCV on Linux
Ensure you have installed NumPy. To install NumPy, enter the following:
$ pip3 install numpy
Then install OpenCV:
$ pip3 install opencv-contrib-python
Additionally, we can install Matplotlib, which is a Python plotting library that produces quality figures:
$ pip3 install matplotlib