1 | initial version |
In that guide the author demonstrated that the order of operations matters. He just cropped the image after Canny rather than before. Looks like all the necessary functions are present. Go to online documentation. Input a Python function into the Search field at the left, and you will see available variants including for C++. cv2.fillPoly(), cv2.bitwise_and(), cv2.cvtColor(), cv2.Canny() - all are perfectly present.