OpenCV 3.0 LineIterator
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 the coordinates and intensities … Read more