mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-06-08 03:40:06 +02:00
use all cpu nodes
This commit is contained in:
parent
3bda2f128e
commit
a96d23712d
1 changed files with 1 additions and 1 deletions
|
@ -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 = []
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue