개정판 9a932e6c
build issue #000: bd
Change-Id: I070d87eb8076b854069811410d39af1eea4cf948
DTI_PID/DTI_PID/MainWindow.py | ||
---|---|---|
1809 | 1809 |
# detection lines |
1810 | 1810 |
edged2 = cv2.Canny(out, 100, 200) |
1811 | 1811 |
lines = cv2.HoughLinesP(image=edged2, rho=1, theta=np.pi/180, threshold=60, minLineLength=100, maxLineGap=25) |
1812 |
# |
|
1813 |
# |
|
1814 |
# lines = cv2.HoughLines(edged2, 1, np.pi/180, 60) |
|
1812 |
#lines = cv2.HoughLines(edged2, 1, np.pi/180, 60) |
|
1815 | 1813 |
if lines is None: |
1816 | 1814 |
return ('Unknown', []) |
1817 | 1815 |
for line in lines: |
내보내기 Unified diff