use all cpu nodes

This commit is contained in:
vahid 2021-02-27 10:15:58 -05:00
parent 3bda2f128e
commit a96d23712d

View file

@ -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): 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") self.logger.debug("enter get_slopes_and_deskew_new")
num_cores = 1#cpu_count() num_cores = cpu_count()
queue_of_all_params = Queue() queue_of_all_params = Queue()
processes = [] processes = []