Content
Novice programmers Expert programmers This guy 3 Answers Active Oldest Votes 52 I’ve solved my own problem. Line iterator seems to be unavailable in the cv2 library. Therefore, I made my own line iterator. No loops are used, so it should be pretty fast. Here is the code if anybody needs it: def createlineIterator (P1, P2, img) : Produces and array that consists of Parameters: