개정판 3ab318bd
dev issue #507 : for opc
Change-Id: I1e73292a48f95db87106d675b1dd666eab178180
DTI_PID/DTI_PID/RecognitionDialog.py | ||
---|---|---|
913 | 913 |
connectionPoint = Worker.getCalculatedConnectionPoint(symbolConnectionPoint, symbolRotatedAngle, sw, |
914 | 914 |
sh, sow, soh) |
915 | 915 |
|
916 |
## For OPC |
|
917 |
worker.detectOPCOnPid() |
|
918 |
|
|
916 | 919 |
## Template Matching |
917 | 920 |
tmRes = cv2.matchTemplate(roiItem, symGray, cv2.TM_CCOEFF_NORMED) |
918 | 921 |
loc = np.where(tmRes >= symbolThreshold) |
... | ... | |
1067 | 1070 |
|
1068 | 1071 |
return [] |
1069 | 1072 |
|
1073 |
@staticmethod |
|
1074 |
def detectOPCOnPid(): |
|
1075 |
|
|
1076 |
return |
|
1077 |
|
|
1070 | 1078 |
''' |
1071 | 1079 |
@brief detect nozzle |
1072 | 1080 |
@author humkyung |
1073 | 1081 |
@date 2018.07.07 |
1074 | 1082 |
@history humkyhung 2018.07.17 pass equpment as parameter instead of image |
1075 | 1083 |
''' |
1076 |
|
|
1077 | 1084 |
@staticmethod |
1078 | 1085 |
def detectNozzleOnPid(equipment, nozzle, listWidget, worker): |
1079 | 1086 |
global src |
내보내기 Unified diff