mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-10-07 06:59:58 +02:00
Revert "deskewing with faster multiprocessing"
This reverts commit 5db3e9fa64
.
This commit is contained in:
parent
abf5c0f845
commit
8be2c79771
1 changed files with 1 additions and 0 deletions
|
@ -2926,6 +2926,7 @@ class Eynollah:
|
||||||
#print(textline_mask_tot_ea.shape, 'textline_mask_tot_ea deskew')
|
#print(textline_mask_tot_ea.shape, 'textline_mask_tot_ea deskew')
|
||||||
slope_deskew = return_deskew_slop(cv2.erode(textline_mask_tot_ea, KERNEL, iterations=2), 2, 30, True,
|
slope_deskew = return_deskew_slop(cv2.erode(textline_mask_tot_ea, KERNEL, iterations=2), 2, 30, True,
|
||||||
map=self.executor.map, logger=self.logger, plotter=self.plotter)
|
map=self.executor.map, logger=self.logger, plotter=self.plotter)
|
||||||
|
|
||||||
if self.plotter:
|
if self.plotter:
|
||||||
self.plotter.save_deskewed_image(slope_deskew)
|
self.plotter.save_deskewed_image(slope_deskew)
|
||||||
self.logger.info("slope_deskew: %.2f°", slope_deskew)
|
self.logger.info("slope_deskew: %.2f°", slope_deskew)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue