Update houghlines.py

Fix a code indent bug:   cv2.imshow("detected lines", cdst)
pull/10163/head
Wei Hao 7 years ago committed by GitHub
parent 807f5e33ad
commit f2b3e5f517
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      samples/python/houghlines.py

@ -48,7 +48,7 @@ if __name__ == '__main__':
pt2 = ( int(x0-1000*(-b)), int(y0-1000*(a)) ) pt2 = ( int(x0-1000*(-b)), int(y0-1000*(a)) )
cv2.line(cdst, pt1, pt2, (0, 0, 255), 3, cv2.LINE_AA) 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.imshow("source", src)
cv2.waitKey(0) cv2.waitKey(0)

Loading…
Cancel
Save