Skip to content

fix: Fix unbound font_threshold and Improve error handling.#1

Open
ayoubelmhamdi wants to merge 1 commit intovpec:masterfrom
ayoub-fork:fix_font_threshold_unbound
Open

fix: Fix unbound font_threshold and Improve error handling.#1
ayoubelmhamdi wants to merge 1 commit intovpec:masterfrom
ayoub-fork:fix_font_threshold_unbound

Conversation

@ayoubelmhamdi
Copy link

  • Initialize font_threshold variable after use it
  • Improve exception handling

lyrapdf/pre_proc.py

  • Add font_threshold variable to analyze_font_size function

lyrapdf/app.py

  • Add exception handling to the extract_and_process function

- Initialize `font_threshold` variable after use it
- Improve exception handling

[lyrapdf/pre_proc.py]
- Add `font_threshold` variable to `analyze_font_size` function
[lyrapdf/app.py]
- Add exception handling to extract_and_process function
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.

1 participant