Skip to content

Commit

Permalink
Update package info
Browse files Browse the repository at this point in the history
  • Loading branch information
Kees van Spelde committed Dec 30, 2022
1 parent 4307c96 commit bff7e15
Show file tree
Hide file tree
Showing 77 changed files with 84 additions and 84 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
What is TesseractOCR
=========

It is a .NET wrapper for Tesseract 5.2.0 that is originally copied from Charles Weld (https://github.com/charlesw/tesseract) and modified for my own needs
It is a .NET wrapper for Tesseract 5.3.0 that is originally copied from Charles Weld (https://github.com/charlesw/tesseract) and modified for my own needs

How to use
============
Expand All @@ -13,7 +13,7 @@ You can get them at https://github.com/tesseract-ocr/tessdata or https://github.

## Microsoft Visual C++ runtimes

The DLL's Tesseract51.dll (and exe) and leptonica-1.82.0.dll are compiled with Visual Studio 2022 you need these C++ runtimes for it on your computer
The DLL's Tesseract51.dll (and exe) and leptonica-1.83.0.dll are compiled with Visual Studio 2022 you need these C++ runtimes for it on your computer

- X86: https://aka.ms/vs/17/release/vc_redist.x86.exe
- X64: https://aka.ms/vs/17/release/vc_redist.x64.exe
Expand Down
6 changes: 3 additions & 3 deletions TesseractOCR.Net45Tests/TesseractOCR.Net48Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="7.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.0.0" />
<PackageReference Include="MSTest.TestFramework" Version="3.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.1" />
<PackageReference Include="MSTest.TestAdapter" Version="3.0.2" />
<PackageReference Include="MSTest.TestFramework" Version="3.0.2" />
</ItemGroup>

<ItemGroup>
Expand Down
Binary file removed TesseractOCR.Net45Tests/x64/leptonica-1.82.0.dll
Binary file not shown.
Binary file modified TesseractOCR.Net45Tests/x64/tesseract.exe
Binary file not shown.
Binary file removed TesseractOCR.Net45Tests/x64/tesseract52.dll
Binary file not shown.
Binary file removed TesseractOCR.Net45Tests/x86/leptonica-1.82.0.dll
Binary file not shown.
Binary file modified TesseractOCR.Net45Tests/x86/tesseract.exe
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@

<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="7.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.0" />
<PackageReference Include="MSTest.TestAdapter" Version="3.0.0" />
<PackageReference Include="MSTest.TestFramework" Version="3.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.4.1" />
<PackageReference Include="MSTest.TestAdapter" Version="3.0.2" />
<PackageReference Include="MSTest.TestFramework" Version="3.0.2" />
</ItemGroup>

<ItemGroup>
Expand Down
Binary file removed TesseractOCR.NetCore31Tests/x64/leptonica-1.82.0.dll
Binary file not shown.
Binary file modified TesseractOCR.NetCore31Tests/x64/tesseract.exe
Binary file not shown.
Binary file removed TesseractOCR.NetCore31Tests/x64/tesseract52.dll
Binary file not shown.
Binary file not shown.
Binary file modified TesseractOCR.NetCore31Tests/x86/tesseract.exe
Binary file not shown.
Binary file removed TesseractOCR.NetCore31Tests/x86/tesseract52.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion TesseractOCR/DisposableBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/ElementProperties.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Engine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Enums/EngineMode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Enums/ImageFormat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Enums/Language.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Enums/Orientation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Enums/PageIteratorLevel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Enums/PageSegMode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Enums/ParagraphJustification.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// ParagraphJustification
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Enums/PixArrayAccessType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Enums/PolyBlockType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Enums/RenderFormat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Enums/RotationDirection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Enums/RotationFill.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Enums/RotationMethod.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Enums/ScriptName.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Enums/SelType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Enums/TextLineOrder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Enums/WritingDirection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Exceptions/LeptonicaException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Exceptions/LoadLibraryException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Exceptions/TesseractException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Font/Attributes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Font/Info.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Font/Properties.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Helpers/Math.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Internal/ErrorMessage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Internal/Guard.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Internal/TessConvert.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
6 changes: 3 additions & 3 deletions TesseractOCR/Interop/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand All @@ -29,8 +29,8 @@ namespace TesseractOCR.Interop
/// </summary>
internal static class Constants
{
public const string LeptonicaDllName = "leptonica-1.82.0.dll";
public const string TesseractDllName = "tesseract52.dll";
public const string LeptonicaDllName = "leptonica-1.83.0.dll";
public const string TesseractDllName = "tesseract53.dll";

// Tesseract uses an int to represent true false values.
public const int True = 1;
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Interop/Helper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Interop/LeptonicaApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Interop/MarshalHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
2 changes: 1 addition & 1 deletion TesseractOCR/Interop/TessApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Author: Kees van Spelde <[email protected]>
//
// Copyright 2012-2019 Charles Weld
// Copyright 2021-2022 Kees van Spelde
// Copyright 2021-2023 Kees van Spelde
//
// Licensed under the Apache License, Version 2.0 (the "License");
//
Expand Down
Loading

0 comments on commit bff7e15

Please sign in to comment.