check which opencv version is installed code example
Example: how to check opencv version command line
# in terminal type python3 then the following,
import cv2
cv2.__version__
# in terminal type python3 then the following,
import cv2
cv2.__version__