筆者使用Anaconda新增虛擬環境env,使用Python3.8
安裝OpenCV
#pip install opencv-python
安裝舊版OpenCV
#pip install opencv-contrib-python