projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fa86da
)
Update houghlines.py
author
Aleksandar Atanasov
<redbaronqueen@gmail.com>
Mon, 13 Jun 2016 07:00:42 +0000
(09:00 +0200)
committer
GitHub
<noreply@github.com>
Mon, 13 Jun 2016 07:00:42 +0000
(09:00 +0200)
samples/python/houghlines.py
patch
|
blob
|
history
diff --git
a/samples/python/houghlines.py
b/samples/python/houghlines.py
index
4a98828
..
445068a
100755
(executable)
--- a/
samples/python/houghlines.py
+++ b/
samples/python/houghlines.py
@@
-47,7
+47,7
@@
if __name__ == '__main__':
pt1 = ( 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.imshow("detected lines", cdst)
cv2.imshow("source", src)