mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 03:30:34 +08:00
Update houghlines.py
Fix a code indent bug: cv2.imshow("detected lines", cdst)
This commit is contained in:
parent
807f5e33ad
commit
f2b3e5f517
@ -48,7 +48,7 @@ if __name__ == '__main__':
|
||||
pt2 = ( int(x0-1000*(-b)), int(y0-1000*(a)) )
|
||||
cv2.line(cdst, pt1, pt2, (0, 0, 255), 3, cv2.LINE_AA)
|
||||
|
||||
cv2.imshow("detected lines", cdst)
|
||||
cv2.imshow("detected lines", cdst)
|
||||
|
||||
cv2.imshow("source", src)
|
||||
cv2.waitKey(0)
|
||||
|
Loading…
Reference in New Issue
Block a user