Mastering OpenCV 4 with Python
上QQ阅读APP看书,第一时间看更新

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