OpenCV2-Python-Tutorials
OpenCV2-Python-Tutorials copied to clipboard
This repo contains tutorials on OpenCV-Python library using new cv2 interface
The line ``image, contours, hierarchy = cv2.findContours(thresh,cv2.RETR_TREE,cv2.CHAIN_APPROX_SIMPLE)`` should be changed to ``contours, hierarchy = cv2.findContours(thresh,cv2.RETR_TREE,cv2.CHAIN_APPROX_SIMPLE)`` in the readme file. ``cv2.findContours()`` function returns only ``contours`` and ``hierarchy`` but **not the image**...
Proposed edits based on: https://stackoverflow.com/questions/49971484/opencv-orb-descriptor-typeerror-incorrect-type-of-self-must-be-feature2d-or
Here a video creation technique is described which helps to create synthetic video data-set.
conidered -> considered
code at page 138 `for rho,theta in lines[0]: ` not work as img below, i think it should be `for rho,theta in np.squeeze(lines): ` or `for rho,theta in lines[:,0,:]: `...
The tutorial for [Face Detection with Haar Cascades](https://github.com/abidrahmank/OpenCV2-Python-Tutorials/blob/master/source/py_tutorials/py_objdetect/py_face_detection/py_face_detection.rst) is a really helpful resource. Unfortunately on some installations of opencv the xml file for the trained haar model is not properly...
The image is represented by a function named I(x,y,t) but in the equation the name of the function is called `f` so it was changed to I.
The py_maths_tools is blank, but the SVD and PCA are really useful, may I see them anywhere else?