Mastering OpenCV 4 with Python requires some installed packages, which you can see here:
- Chapter 1, Setting Up OpenCV: opencv-contrib-python
- Chapter 2, Image Basics in OpenCV: opencv-contrib-python and matplotlib
- Chapter 3, Handling Files and Images: opencv-contrib-python and matplotlib
- Chapter 4, Constructing Basic Shapes in OpenCV: opencv-contrib-python and matplotlib
- Chapter 5, Image Processing Techniques: opencv-contrib-python and matplotlib
- Chapter 6, Constructing and Building Histograms: opencv-contrib-python and matplotlib
- Chapter 7, Thresholding Techniques: opencv-contrib-python, matplotlib, scikit-image, and scipy
- Chapter 8, Contours Detection, Filtering, and Drawing: opencv-contrib-python and matplotlib ...