프로젝트

일반

사용자정보

개정판 790937a5

ID790937a5618150993e51075118e9dcd97996f9d3
상위 6ce178c2
하위 f232adfd

함의성이(가) 5년 이상 전에 추가함

issue #589: flowMark

Change-Id: I5c7dd45acd71210edf87b9b7fec3549b04ddd3a3

차이점 보기:

DTI_PID/DTI_PID/Shapes/EngineeringLineItem.py
1135 1135
            cv2.line(img, (round(ptStart[0]), round(ptStart[1])), (round(ptEnd[0]), round(ptEnd[1])), color, thickness)
1136 1136
            # up to here
1137 1137

  
1138
            if self.flowMark is not None:
1139
                x, y, w, h = self.flowMark[0]
1140
                img[y:(y+h), x:(x+w)] = color
1138
            #if self.flowMark is not None:
1139
            #    x, y, w, h = self.flowMark[0]
1140
            #    img[y:(y+h), x:(x+w)] = color
1141 1141
        except Exception as ex:
1142 1142
            print('error occured({}) in {}:{}'.format(ex, sys.exc_info()[-1].tb_frame.f_code.co_filename, sys.exc_info()[-1].tb_lineno))
1143 1143

  

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)