프로젝트

일반

사용자정보

개정판 2e423c73

ID2e423c73d82fd7a8ade3d8ebad6399ccb6d36436
상위 d1becf94
하위 3eb403ac

함의성이(가) 약 6년 전에 추가함

issue #663: test

Change-Id: I16f781183075bf886b498126de6bbd38d10a686b

차이점 보기:

DTI_PID/DTI_PID/RecognitionDialog.py
519 519
        targetSymbolList.append(equipments)
520 520
        targetSymbolList.append(nozzles)
521 521
        targetSymbolList.append([item for item in symbolList if item not in equipments and item not in nozzles])
522

  
523
        #for i in range(len(targetSymbolList[0])):
524
        #    print(targetSymbolList[0][i].getName())
525
        #for i in range(len(targetSymbolList[1])):
526
        #    print(targetSymbolList[1][i].getName())
527
        #for i in range(len(targetSymbolList[2])):
528
        #    print(targetSymbolList[2][i].getName())
522 529
    
523 530
        return targetSymbolList
524 531

  
......
560 567
        
561 568
        try:
562 569
            symbolName = targetSymbol.getName()
570
            #threadLock.acquire()
571
            #print(symbolName)
572
            #threadLock.release()
563 573
            symbolType = targetSymbol.getType()
564 574
            symbolPath = targetSymbol.getPath()
565 575
            symbolThreshold = targetSymbol.getThreshold()
......
739 749
                                ## 현재 심볼과 검출된 심볼이 같을 경우 Match Point가 더 높은 정보로 교체
740 750
                                if symbolName == searchedSymbol.getName():
741 751
                                    symbolHitRate = searchedSymbol.getHitRate()
742
                                    if symbolHitRate < hitRate:
752
                                    if symbolHitRate - searchedSymbol.getThreshold() < hitRate - symbolThreshold:
743 753
                                        threadLock.acquire()
744 754
                                        # replace existing symbol with new symbol has high accuracy
745 755
                                        searchedSymbolList[symbolIndex] = symbol.Symbol(symbolName, symbolType , 
DTI_PID/DTI_PID/SymbolEditor_UI.py
13 13
        Dialog.setObjectName("Dialog")
14 14
        Dialog.resize(1280, 823)
15 15
        Dialog.setMinimumSize(QtCore.QSize(1280, 720))
16
        Dialog.setMaximumSize(QtCore.QSize(1280, 16777215))
16
        Dialog.setMaximumSize(QtCore.QSize(16777215, 16777215))
17 17
        font = QtGui.QFont()
18 18
        font.setFamily("맑은 고딕")
19 19
        Dialog.setFont(font)
DTI_PID/DTI_PID/UI/SymbolEditor.ui
18 18
  </property>
19 19
  <property name="maximumSize">
20 20
   <size>
21
    <width>1280</width>
21
    <width>16777215</width>
22 22
    <height>16777215</height>
23 23
   </size>
24 24
  </property>

내보내기 Unified diff