pip install --force-reinstall opencv-contrib-python #if you use anaconda execute this command after the first conda activate