The sub module
If i look they also renamed
is to use a editor or REPL that have good autocomplete/doc reading.
Like VS Code/PyCharm...ect or REPL IPython/ptpython.
I like VS Code and ptpython(as i use in first example).
How eg look in VS Code.
cv
has been removed from OpenCV 3.0.If i look they also renamed
CV_HAAR
to CASCADE
.λ ptpython >>> import cv2 >>> cv2.CASCADE_DO_CANNY_PRUNING 1 >>> cv2.CASCADE_FIND_BIGGEST_OBJECT 4Advice dealing with a package that has a lot of function/methods or in general,
is to use a editor or REPL that have good autocomplete/doc reading.
Like VS Code/PyCharm...ect or REPL IPython/ptpython.
I like VS Code and ptpython(as i use in first example).
How eg look in VS Code.