개정판 489e87d1
issue #663: fix overlap symbol detection
Change-Id: I32a68f717547b186837b136b7609e53925082455
DTI_PID/DTI_PID/RecognitionDialog.py | ||
---|---|---|
1612 | 1612 |
hasInstrumentLabel=hasInstrumentLabel, text_area=text_area) |
1613 | 1613 |
threadLock.release() |
1614 | 1614 |
# 현재 심볼과 검출된 심볼이 같지 않을 경우 (포함) |
1615 |
elif app_doc_data.isEquipmentType(searchedSymbol.getType()) and \ |
|
1616 |
not app_doc_data.isEquipmentType(searchedSymbolList[symbolIndex].getType()): |
|
1615 |
elif app_doc_data.isEquipmentType(searchedSymbol.getType()) and not app_doc_data.isEquipmentType(symbolType): |
|
1617 | 1616 |
if searchedSymbol.area > sw * sh * 10: # searched equipment area is greather than 10 times of symbol's area |
1618 | 1617 |
threadLock.acquire() |
1619 | 1618 |
foundSymbolCount = foundSymbolCount + 1 |
내보내기 Unified diff