!pip install "opencv-contrib-python>=4.5.1" code example Example: pip install opencv pip install opencv-python==4.2.0.34