uninstall cv2 in pi

C++
If you installed using pip. sudo pip uninstall opencv.
If you Installed using apt-get. sudo apt-get remove python-opencv. sudo apt-get purge python-opencv.
Source

Also in C++: