Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed various depreciated functions; fix #975 #981

Merged
merged 1 commit into from
Dec 24, 2024
Merged

Conversation

Balearica
Copy link
Member

Removes various depreciated/legacy code.

  1. Removed loadLanguage/initialize/getPDF functions.
    • While there is not much harm in keeping these, they have been depreciated for multiple major versions, and I'm hopeful that removing them will prevent them from being suggested in LLM code suggestions (which still happens).
  2. Removed tessjs_create_osd/tessjs_create_box/etc. options.
    • These were used to set output formats prior to v3.
  3. Removed default options (resolves Parameters set using createWorker config argument overwritten by default arguments #975)
    • None of our defaults are currently different from the Tesseract defaults, however setting these was overwriting user-provided parameters.

@Balearica Balearica merged commit 15ed597 into master Dec 24, 2024
6 checks passed
@Balearica Balearica deleted the remove-dep branch December 24, 2024 08:42
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.

Parameters set using createWorker config argument overwritten by default arguments
1 participant