avoid indentation

pull/142/head
Robert Sachunsky 3 weeks ago
parent 055463d23a
commit c3163caefd

@ -1140,9 +1140,8 @@ class Eynollah:
seg_color = np.repeat(seg[:, :, np.newaxis], 3, axis=2)
prediction_true = resize_image(seg_color, img_h_page, img_w_page)
prediction_true = prediction_true.astype(np.uint8)
return prediction_true
else:
if img.shape[0] < img_height_model:
img = resize_image(img, img_height_model, img.shape[1])

Loading…
Cancel
Save