uninstall opencv in ubuntu code example
Example 1: how to uninstall opencv in ubuntu
sudo apt-get purge '*opencv*'
Example 2: uninstall opencv on anaconda ubuntu
pip uninstall opencv-python
pip uninstall opencv-contrib-python
sudo apt-get purge '*opencv*'
pip uninstall opencv-python
pip uninstall opencv-contrib-python