[PR #566] [MERGED] Added basic support of Tesseract 4.0.0 #1403

Closed
opened 2026-01-29 17:16:14 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/CCExtractor/ccextractor/pull/566
Author: @Izaron
Created: 12/23/2016
Status: Merged
Merged: 12/24/2016
Merged by: @cfsmp3

Base: masterHead: master


📝 Commits (5)

  • 490fedf Updated libpng from 1.6.10 to 1.6.26
  • f40781a Updated zlib
  • 331a64e Added working tesseract 4.00
  • 5e0f9a4 Disabled info and warnings from Tesseract
  • 0befb3c Renamed tess version from 3.05 to 4.00

📊 Changes

90 files changed (+10700 additions, -5942 deletions)

View changed files

📝 src/lib_ccx/hardsubx.c (+7 -1)
📝 src/lib_ccx/hardsubx_classifier.c (+4 -4)
📝 src/lib_ccx/ocr.c (+18 -6)
📝 src/libpng/png.c (+723 -565)
📝 src/libpng/png.h (+423 -419)
📝 src/libpng/pngconf.h (+38 -60)
📝 src/libpng/pngdebug.h (+2 -3)
📝 src/libpng/pngerror.c (+75 -70)
📝 src/libpng/pngget.c (+138 -96)
📝 src/libpng/pnginfo.h (+3 -4)
📝 src/libpng/pnglibconf.h (+15 -9)
📝 src/libpng/pngmem.c (+19 -16)
📝 src/libpng/pngpread.c (+98 -295)
📝 src/libpng/pngpriv.h (+234 -166)
📝 src/libpng/pngread.c (+418 -319)
📝 src/libpng/pngrio.c (+5 -5)
📝 src/libpng/pngrtran.c (+295 -281)
📝 src/libpng/pngrutil.c (+598 -530)
📝 src/libpng/pngset.c (+308 -154)
📝 src/libpng/pngstruct.h (+19 -25)

...and 70 more files

📄 Description

I've added support for built Tesseract 4.0.0 in Windows - http://www.ccextractor.org/doku.php?id=public:general:tess_build
It was necessary only to update the code in one place - in hardsubx_classifier.c, so what works well both on Linux and Windows
Also I updated old zlip and libpng (dependencies of tesseract) to avoid errors

Known issues:

  1. Built executables requires .dll files with names starts with "pvt.cppan.demo." (different for Debug and Release). I have not figured out yet how to fix it. Download DLL Also, while it is not fixed, I do not copy DLL files after build in folders

I'll fix this issues in later commits


🔄 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/566 **Author:** [@Izaron](https://github.com/Izaron) **Created:** 12/23/2016 **Status:** ✅ Merged **Merged:** 12/24/2016 **Merged by:** [@cfsmp3](https://github.com/cfsmp3) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (5) - [`490fedf`](https://github.com/CCExtractor/ccextractor/commit/490fedf463b371cacf1d2d0bf169bb018e98b093) Updated libpng from 1.6.10 to 1.6.26 - [`f40781a`](https://github.com/CCExtractor/ccextractor/commit/f40781a9eb63f927a8610a18e3669ae48ca26575) Updated zlib - [`331a64e`](https://github.com/CCExtractor/ccextractor/commit/331a64e387987a2253546c44338b1bdb6423eb24) Added working tesseract 4.00 - [`5e0f9a4`](https://github.com/CCExtractor/ccextractor/commit/5e0f9a48989892e620cb281c9f88dda0f26027e9) Disabled info and warnings from Tesseract - [`0befb3c`](https://github.com/CCExtractor/ccextractor/commit/0befb3c5b1bc034bb84f40c6e3e14d73dd25c9c5) Renamed tess version from 3.05 to 4.00 ### 📊 Changes **90 files changed** (+10700 additions, -5942 deletions) <details> <summary>View changed files</summary> 📝 `src/lib_ccx/hardsubx.c` (+7 -1) 📝 `src/lib_ccx/hardsubx_classifier.c` (+4 -4) 📝 `src/lib_ccx/ocr.c` (+18 -6) 📝 `src/libpng/png.c` (+723 -565) 📝 `src/libpng/png.h` (+423 -419) 📝 `src/libpng/pngconf.h` (+38 -60) 📝 `src/libpng/pngdebug.h` (+2 -3) 📝 `src/libpng/pngerror.c` (+75 -70) 📝 `src/libpng/pngget.c` (+138 -96) 📝 `src/libpng/pnginfo.h` (+3 -4) 📝 `src/libpng/pnglibconf.h` (+15 -9) 📝 `src/libpng/pngmem.c` (+19 -16) 📝 `src/libpng/pngpread.c` (+98 -295) 📝 `src/libpng/pngpriv.h` (+234 -166) 📝 `src/libpng/pngread.c` (+418 -319) 📝 `src/libpng/pngrio.c` (+5 -5) 📝 `src/libpng/pngrtran.c` (+295 -281) 📝 `src/libpng/pngrutil.c` (+598 -530) 📝 `src/libpng/pngset.c` (+308 -154) 📝 `src/libpng/pngstruct.h` (+19 -25) _...and 70 more files_ </details> ### 📄 Description I've added support for built Tesseract 4.0.0 in Windows - http://www.ccextractor.org/doku.php?id=public:general:tess_build It was necessary only to update the code in one place - in hardsubx_classifier.c, so what works well both on Linux and Windows Also I updated old zlip and libpng (dependencies of tesseract) to avoid errors **Known issues:** 1. Built executables requires .dll files with names starts with "pvt.cppan.demo." (different for Debug and Release). I have not figured out yet how to fix it. [Download DLL](https://drive.google.com/open?id=0B2fcX80_rHuOMFJTYnlMWEZVRW8) Also, while it is not fixed, I do not copy DLL files after build in folders I'll fix this issues in later commits --- <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:16:14 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#1403