[PR #1170] [CLOSED] [FIX] Stop searching for tessdata #1954

Open
opened 2026-01-29 17:19:26 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/CCExtractor/ccextractor/pull/1170
Author: @NilsIrl
Created: 1/2/2020
Status: Closed

Base: masterHead: tessdata_prefix_better


📝 Commits (2)

  • 0cd2439 Stop searching for tessdata
  • ee354d0 Let tesseract find the trained data in hardsubx.c

📊 Changes

2 files changed (+8 additions, -127 deletions)

View changed files

📝 src/lib_ccx/hardsubx.c (+4 -22)
📝 src/lib_ccx/ocr.c (+4 -105)

📄 Description

In raising this pull request, I confirm the following (please check boxes):

  • I have read and understood the contributors guide.
  • I have checked that another pull request for this purpose does not exist.
  • I have considered, and confirmed that this submission will be valuable to others.
  • I accept that this submission may not be used, and the pull request closed at the will of the maintainer.
  • I give this submission freely, and claim no ownership to its content.

My familiarity with the project is as follows (check one):

  • I have used CCExtractor just a couple of times.

Removes logic in ccextractor that looks for tessdata, in favor of passing NULL to tesseract and let it find the directory.

This means that it fixes:


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/CCExtractor/ccextractor/pull/1170 **Author:** [@NilsIrl](https://github.com/NilsIrl) **Created:** 1/2/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `tessdata_prefix_better` --- ### 📝 Commits (2) - [`0cd2439`](https://github.com/CCExtractor/ccextractor/commit/0cd243951cd1b2d11eb9a64e595061efc8c3af38) Stop searching for tessdata - [`ee354d0`](https://github.com/CCExtractor/ccextractor/commit/ee354d0573e492c0c61e1a0fa5604ad51660932f) Let tesseract find the trained data in hardsubx.c ### 📊 Changes **2 files changed** (+8 additions, -127 deletions) <details> <summary>View changed files</summary> 📝 `src/lib_ccx/hardsubx.c` (+4 -22) 📝 `src/lib_ccx/ocr.c` (+4 -105) </details> ### 📄 Description **In raising this pull request, I confirm the following (please check boxes):** - [x] I have read and understood the [contributors guide](https://github.com/CCExtractor/ccextractor/blob/master/.github/CONTRIBUTING.md). - [x] I have checked that another pull request for this purpose does not exist. - [x] I have considered, and confirmed that this submission will be valuable to others. - [x] I accept that this submission may not be used, and the pull request closed at the will of the maintainer. - [x] I give this submission freely, and claim no ownership to its content. **My familiarity with the project is as follows (check one):** - [x] I have used CCExtractor just a couple of times. --- Removes logic in ccextractor that looks for `tessdata`, in favor of passing `NULL` to tesseract and let it find the directory. This means that it fixes: * Fix #1162 * Fix #1254 * OCR on NixOS --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 17:19:26 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#1954