개정판 00c11504
issue 701: before method
DTI_PID/DTI_PID/MainWindow.py | ||
---|---|---|
1712 | 1712 |
maxDifH, maxDifW = math.ceil(math.tan(4 * math.pi / 180) / 2 * w), math.ceil(math.tan(4 * math.pi / 180) / 2 * h) |
1713 | 1713 |
|
1714 | 1714 |
edged2 = cv2.Canny(out, 100, 200) |
1715 |
lines = cv2.HoughLines(edged2, 1, np.pi/180, 80)
|
|
1715 |
lines = cv2.HoughLines(edged2, 1, np.pi/180, 60)
|
|
1716 | 1716 |
if lines is None: |
1717 | 1717 |
idx += 1 |
1718 | 1718 |
continue |
내보내기 Unified diff