Merge branch 'machine_based_reading_order_integration' of https://github.com/qurator-spk/eynollah into machine_based_reading_order_integration

pull/138/head^2
vahidrezanezhad 2 months ago
commit 5037e9896d

@ -2131,7 +2131,7 @@ class Eynollah:
else: else:
thresholding_for_artificial_class_in_light_version = False thresholding_for_artificial_class_in_light_version = False
if not self.dir_in: if not self.dir_in:
model_textline, session_textline = self.start_new_session_and_model(self.model_textline_dir if patches else self.model_textline_dir_np) model_textline, session_textline = self.start_new_session_and_model(self.model_textline_dir)
#img = img.astype(np.uint8) #img = img.astype(np.uint8)
img_org = np.copy(img) img_org = np.copy(img)
img_h = img_org.shape[0] img_h = img_org.shape[0]

Loading…
Cancel
Save