|
|
# line_image = draw_lines(boxed_image, result['lines'], color='red', width=3)
|
|
# line_image = draw_lines(boxed_image, result['lines'], color='red', width=3)
|
|
|
line_image = draw_lines_with_scores((img * 255).to(torch.uint8), result['lines'],scores, width=3, cmap='jet')
|
|
line_image = draw_lines_with_scores((img * 255).to(torch.uint8), result['lines'],scores, width=3, cmap='jet')
|