Skip to content

Commit

Permalink
Merge branch 'machine_based_reading_order_integration' of https://git…
Browse files Browse the repository at this point in the history
…hub.com/qurator-spk/eynollah into machine_based_reading_order_integration
  • Loading branch information
vahidrezanezhad committed Oct 25, 2024
2 parents 82281bd + 328d33e commit 5037e98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qurator/eynollah/eynollah.py
Original file line number Diff line number Diff line change
Expand Up @@ -2131,7 +2131,7 @@ def textline_contours(self, img, patches, scaler_h, scaler_w, num_col_classifier
else:
thresholding_for_artificial_class_in_light_version = False
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_org = np.copy(img)
img_h = img_org.shape[0]
Expand Down

0 comments on commit 5037e98

Please sign in to comment.