mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
Use 32-bit tesseract 4 beta 1
This commit is contained in:
parent
d73e7d032d
commit
b219017771
BIN
Tesseract4/gif.dll
Normal file
BIN
Tesseract4/gif.dll
Normal file
Binary file not shown.
BIN
Tesseract4/jpeg62.dll
Normal file
BIN
Tesseract4/jpeg62.dll
Normal file
Binary file not shown.
BIN
Tesseract4/leptonica-1.74.4.dll
Normal file
BIN
Tesseract4/leptonica-1.74.4.dll
Normal file
Binary file not shown.
BIN
Tesseract4/libpng16.dll
Normal file
BIN
Tesseract4/libpng16.dll
Normal file
Binary file not shown.
BIN
Tesseract4/lzma.dll
Normal file
BIN
Tesseract4/lzma.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Tesseract4/tiff.dll
Normal file
BIN
Tesseract4/tiff.dll
Normal file
Binary file not shown.
BIN
Tesseract4/zlib1.dll
Normal file
BIN
Tesseract4/zlib1.dll
Normal file
Binary file not shown.
@ -102,6 +102,7 @@ COPY /Y /V "Hunspellx64.dll" "temp_zip\"
|
||||
COPY /Y /V "SubtitleEdit.exe" "temp_zip\"
|
||||
COPY /Y /V "Languages\*.xml" "temp_zip\Languages\"
|
||||
COPY /Y /V "..\..\..\Tesseract4\tesseract.exe" "temp_zip\Tesseract4\"
|
||||
COPY /Y /V "..\..\..\Tesseract4\*.dll" "temp_zip\Tesseract4\"
|
||||
COPY /Y /V "..\..\..\Tesseract4\tessdata\configs\hocr" "temp_zip\Tesseract4\tessdata\configs\"
|
||||
COPY /Y /V "..\..\..\Tesseract4\tessdata\*.traineddata" "temp_zip\Tesseract4\tessdata\"
|
||||
|
||||
|
@ -266,9 +266,16 @@ Source: {#bindir}\SubtitleEdit.exe; DestDir: {app};
|
||||
Source: {#bindir}\SubtitleEdit.resources.dll; DestDir: {app}; Flags: ignoreversion; Components: main
|
||||
Source: ..\Changelog.txt; DestDir: {app}; Flags: ignoreversion; Components: main
|
||||
Source: ..\LICENSE.txt; DestDir: {app}; Flags: ignoreversion; Components: main
|
||||
Source: ..\Tesseract4\tessdata\configs\hocr; DestDir: {app}\Tesseract4\tessdata\configs; Flags: ignoreversion; Components: main
|
||||
Source: ..\Tesseract4\tessdata\eng.traineddata; DestDir: {app}\Tesseract4\tessdata; Flags: ignoreversion; Components: main
|
||||
Source: ..\Tesseract4\tesseract.exe; DestDir: {app}\Tesseract4; Flags: ignoreversion; Components: main
|
||||
Source: ..\Tesseract4\tessdata\configs\hocr; DestDir: {app}\Tesseract4\tessdata\configs; Flags: ignoreversion; Components: main
|
||||
Source: ..\Tesseract4\tessdata\eng.traineddata; DestDir: {app}\Tesseract4\tessdata; Flags: ignoreversion; Components: main
|
||||
Source: ..\Tesseract4\tesseract.exe; DestDir: {app}\Tesseract4; Flags: ignoreversion; Components: main
|
||||
Source: ..\Tesseract4\gif.dll; DestDir: {app}\Tesseract4; Flags: ignoreversion; Components: main
|
||||
Source: ..\Tesseract4\jpeg62.dll; DestDir: {app}\Tesseract4; Flags: ignoreversion; Components: main
|
||||
Source: ..\Tesseract4\leptonica-1.74.4.dll; DestDir: {app}\Tesseract4; Flags: ignoreversion; Components: main
|
||||
Source: ..\Tesseract4\libpng16.dll; DestDir: {app}\Tesseract4; Flags: ignoreversion; Components: main
|
||||
Source: ..\Tesseract4\lzma.dll; DestDir: {app}\Tesseract4; Flags: ignoreversion; Components: main
|
||||
Source: ..\Tesseract4\tiff.dll; DestDir: {app}\Tesseract4; Flags: ignoreversion; Components: main
|
||||
Source: ..\Tesseract4\zlib1.dll; DestDir: {app}\Tesseract4; Flags: ignoreversion; Components: main
|
||||
Source: Icons\uninstall.ico; DestDir: {app}\Icons; Flags: ignoreversion; Components: main
|
||||
|
||||
|
||||
|
@ -6179,7 +6179,9 @@ namespace Nikse.SubtitleEdit.Forms.Ocr
|
||||
}
|
||||
else
|
||||
{
|
||||
process.StartInfo.WorkingDirectory = (Configuration.TesseractDirectory);
|
||||
var tessdataPath = Path.Combine(Configuration.TesseractDirectory, "tessdata");
|
||||
process.StartInfo.Arguments = " --tessdata-dir \"" + tessdataPath + "\" " + process.StartInfo.Arguments.Trim();
|
||||
process.StartInfo.WorkingDirectory = Configuration.TesseractDirectory;
|
||||
}
|
||||
|
||||
try
|
||||
|
Loading…
Reference in New Issue
Block a user