1. OpenCV development tool installation
1.1 pip install --upgrade setuptools
(python configuration tool)
1.2 pip install numpy
(math library in python)
1.3 pip install matplotlib
(similar to matlab's drawing tool)
1.4 pip install opencv-python
2. OpenCV test case
imread can only read absolute paths. If you want to read relative paths, use the method shown in the above figure, "./numpy.jpg";
imread cannot read Chinese paths, otherwise an error will be reported.