OpenCV2-Python-Tutorials
OpenCV2-Python-Tutorials copied to clipboard
This repo contains tutorials on OpenCV-Python library using new cv2 interface
mp4v video format works on macos
source code: `image, contours, hierarchy = cv2.findContours(thresh,cv2.RETR_TREE,cv2.CHAIN_APPROX_SIMPLE) ` ValueError: not enough values to unpack (expected 3, got 2) source url: [https://opencv-python-tutroals.readthedocs.io/en/latest/py_tutorials/py_imgproc/py_contours/py_contours_begin/py_contours_begin.html?highlight=findcontours](url)
My first open source contribution ever, just trying it out. Hope you don't mind.
There has been some changes in the new updates of OpenCV, like the names of modules and functions. I am updating the code to reflect those changes so that one...
Existing code `stereo = cv2.createStereoBM(numDisparities=16, blockSize=15)` Generates `AttributeError: module 'cv2' has no attribute 'createStereoBM'` Suggested Change `stereo = cv2.StereoBM_create(numDisparities=16, blockSize=15)`
Fix the "mis-marked SIFT function" to "ORB"
There was an error in the explanation. It was given that `getTrackbarPos()`has 5 arguments but `createTrackbar()` function has 5 arguments.
The Contours: Getting Started document has a findContours() call that fails because it lists three return values: image, contours and hierarchy. However this fails as findContours() only returns two values:...