개정판 a9b5228c
issue #663: fix opc
Change-Id: I11ae8511c6dd75e49af02085a39addf30b2cd20c
DTI_PID/DTI_PID/RecognitionDialog.py | ||
---|---|---|
488 | 488 |
opc_ymin = searchedOPCList[index].getSp()[1] |
489 | 489 |
opc_xmax = searchedOPCList[index].getSp()[0] + searchedOPCList[index].getWidth() |
490 | 490 |
opc_ymax = searchedOPCList[index].getSp()[0] + searchedOPCList[index].getHeight() |
491 |
valid = False |
|
491 | 492 |
for text_info in textInfoList: |
492 | 493 |
info_center = text_info.center |
493 | 494 |
if info_center[0] > opc_xmin and info_center[0] < opc_xmax and info_center[1] > opc_ymin and info_center[1] < opc_ymax: |
내보내기 Unified diff