Closed GuichenSociety closed 2 years ago
这个问题怎么解决。
I had encountered the same problem. Here was my solution:
ps1 = [int(x) for x in edge[i]]
ps2 = [int(x) for x in edge[i+1]]
im_edges = cv2.line(im_edges, ps1, ps2, 255, 2)
Hope it help.
This is an OpenCV version issue. Please check #29.