use all cpu nodes

pull/19/head
vahid 3 years ago
parent 3bda2f128e
commit a96d23712d

@ -709,7 +709,7 @@ class Eynollah:
def get_slopes_and_deskew_new(self, contours, contours_par, textline_mask_tot, image_page_rotated, boxes, slope_deskew):
self.logger.debug("enter get_slopes_and_deskew_new")
num_cores = 1#cpu_count()
num_cores = cpu_count()
queue_of_all_params = Queue()
processes = []

Loading…
Cancel
Save