프로젝트

일반

사용자정보

개정판 1f53467a

ID1f53467a48de44bd3248bc54678a0eb338aac6d2
상위 71e5d87a
하위 8db9755c

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

issue #1366: remove constant array

Change-Id: Ide4abea8fbe92f8b9a286a9f80039ac5cdceba33

차이점 보기:

DTI_PID/WebServer/symbol_recognition/test_doftech_all_images.py
238 238
    temp_king_img = np.array(king_image)#Image.new("RGB", (king_width, king_height))
239 239
    temp_king_img = temp_king_img[:,:,::-1].copy()
240 240

  
241
    count_result = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
242

  
241
    count_result = [0 for item in DOFTECH_CLASSES]
242
    
243 243
    for idx_out in range(len(total_symbole_list)):
244 244
        for idx in range(len(total_symbole_list[idx_out])):
245 245
            color = colors[DOFTECH_CLASSES.index(total_symbole_list[idx_out][idx].class_info)]

내보내기 Unified diff

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