Commit graph

18 commits

Author SHA1 Message Date
Robert Sachunsky
31f240c3b8 do_image_rotation, do_work_of_slopes_new_curved: pass arrays via shared memory 2025-09-29 17:48:22 +02:00
Robert Sachunsky
abf5c0f845 get_smallest_skew: when shifting search range of rotation angle, compare resulting (maximum) variances instead of blindly assuming the new range is better 2025-09-29 17:48:22 +02:00
Robert Sachunsky
5b16c2fc00 avoid pulling unused 'image_page_rotated' through functions 2025-09-29 17:48:22 +02:00
Robert Sachunsky
5bff2d156a use box2rect instead of crop_image_inside_box when no image needed 2025-09-29 17:48:22 +02:00
Robert Sachunsky
afba70c920 separate_lines/do_work_of_slopes: skip if crop is empty 2025-09-29 17:44:39 +02:00
vahidrezanezhad
4cb4414740 Resolve remaining issue with #158 and resolving #124 2025-04-30 16:01:52 +02:00
vahidrezanezhad
208bde706f resolving issue #158 2025-04-30 13:55:09 +02:00
Robert Sachunsky
559d001eef another fix to avoid frequent warnings 2025-04-02 05:45:34 +00:00
Robert Sachunsky
2919538382 minor fixes to avoid frequent warnings 2025-04-01 23:33:26 +00:00
Robert Sachunsky
335aa273a1 simplify, wrap extremely long lines 2024-12-23 13:36:29 +00:00
vahidrezanezhad
0e8c561618 debugging issues 2024-12-14 00:24:29 +01:00
Robert Sachunsky
3b70b11ea6 avoid deskewing patches if binary-empty 2024-12-11 18:48:26 +00:00
Robert Sachunsky
7e9ee90e6e switch from (ad-hoc) mp.Pool to (attribute) concurrent.futures.ProcessPoolExecutor 2024-12-11 18:48:26 +00:00
Robert Sachunsky
68456ea002 do_work_of_slopes_new*, do_back_rotation_and_get_cnt_back, do_work_of_contours_in_image: use mp.Pool, simplify 2024-12-11 18:48:26 +00:00
Robert Sachunsky
54cb15056b do_image_rotation / return_deskew_slop: avoid code duplication, simplify via mp.Pool 2024-12-10 09:52:32 +00:00
Robert Sachunsky
6fe02df973 do_image_rotation: fix f93fa12 (do return results) 2024-12-09 16:35:31 +00:00
vahidrezanezhad
6aee70d0cd Resolve merge conflict of main and machine based reading order branch 2024-11-06 00:10:25 +01:00
kba
84b844203d switch from qurator namespace to src-layout 2024-08-29 17:11:29 +02:00
Renamed from qurator/eynollah/utils/separate_lines.py (Browse further)