From 8fa7179560f9dd019ffdb9c8976d486500d02340 Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Wed, 20 Nov 2019 09:50:29 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20sbb=5Ftextline=5Fdetector:=20Dis?= =?UTF-8?q?able=20multiprocessing=20to=20fix=20race=20condition?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Lines were sorted in the wrong regions. Work around this by disabling multiprocessing until a proper fix is done. --- qurator/sbb_textline_detector/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qurator/sbb_textline_detector/main.py b/qurator/sbb_textline_detector/main.py index 8003646..fc62018 100644 --- a/qurator/sbb_textline_detector/main.py +++ b/qurator/sbb_textline_detector/main.py @@ -1109,7 +1109,7 @@ class textlineerkenner: slope_biggest=0#self.return_deskew_slop(img_int_p,sigma_des) - num_cores = cpu_count() + num_cores = 1 # XXX cpu_count() q = Queue() poly=Queue() box_sub=Queue()