개정판 e059dda0
issue #663: change comment
Change-Id: Ib65a94b2cf43bf330068fd2078c3659259b77c43
DTI_PID/DTI_PID/RecognitionDialog.py | ||
---|---|---|
1409 | 1409 |
lines_found = [] |
1410 | 1410 |
lines_shape = [] |
1411 | 1411 |
|
1412 |
# detemine line type broken |
|
1412 |
# detemine line type : broken
|
|
1413 | 1413 |
for line in lines: |
1414 | 1414 |
rect = line.boundingRect() |
1415 | 1415 |
image_line = image[round(rect.y()):round(rect.y() + rect.height()), round(rect.x()):round(rect.x() + rect.width())] |
... | ... | |
1489 | 1489 |
if m.distance < 0.75 * n.distance: |
1490 | 1490 |
good.append([m]) |
1491 | 1491 |
''' |
1492 |
# determine line type |
|
1492 |
# determine line type : solid
|
|
1493 | 1493 |
for line, image_line in lines_shape: |
1494 | 1494 |
for line_type, line_shape in line_shapes.items(): |
1495 | 1495 |
shape = line_shape[0].copy() |
내보내기 Unified diff