Skip to content

Conversation

kba
Copy link
Contributor

@kba kba commented Oct 1, 2025

Robert Sachunsky added 30 commits September 29, 2025 17:42
…ontours_textline_version → dilate_textline_contours
…are resulting (maximum) variances instead of blindly assuming the new range is better
Robert Sachunsky and others added 28 commits October 9, 2025 20:14
- np.delete in index array instead of contour lists
- yield actual resulting indices
- `get_textregion_contours_in_org_image_light`: no more need
  to also return unchanged contours here (see 41cc38c); therefore
- `txt_con_org`: no more need for this
  (now mere alias to `contours_only_text_parent`); also
- `index_by_text_par_con`: no more need for this (see prev. commit),
  so do not pass/return
- `get_slopes_and_deskew_*`: do not pass `contours_only_text`
  (where not used)
- `get_slopes_and_deskew_*`: do not return unchanged contours, boxes
- `do_work_of_slopes_*`: adapt respectively
- simplify serialization of coordinates
- re-use `serialize_lines_in_region` (drop `*_in_dropcapital` and `*_in_marginal`)
- re-use `calculate_polygon_coords`
- `build_pagexml_no_full_layout`: delegate to
  `build_pagexml_full_layout` (removing redundant code)
(not sure if these models really need that, though)
…ctored

refactoring for 192: speedup and improvements
(`skip_layout_and_reading_order` is already an attr)
- simplify definition of (defaults for) model versions
- unify loading of loadable models (depending on mode)
- use `self.models` dict instead of `self.model_*` attributes
- add `model_versions` kwarg / `--model_version` CLI option
…into prepare-v0.6.0

# Conflicts:
#	src/eynollah/eynollah.py
@kba
Copy link
Contributor Author

kba commented Oct 10, 2025

Was just for testing, release v0.6.0rc1 is based entirely on #192.

@kba kba closed this Oct 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants