개정판 1f53467a
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