Skip to content

Commit b4e11cf

Browse files
committed
Fix the proj file and update the description
1 parent 70b1623 commit b4e11cf

File tree

2 files changed

+22
-10
lines changed

2 files changed

+22
-10
lines changed

PdfProcessing/TesseractOcrProviderDemo/ReadMe.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,17 @@
33
Since Q1 2025 the RadPdfProcessing library supports Optical Character Recognition (OCR). OCR is the electronic or mechanical conversion of images of typed, handwritten, or printed text into machine-encoded text from a scanned document.
44
This project demonstrates how to use [TesseractOcrProvider](https://docs.telerik.com/devtools/document-processing/libraries/radpdfprocessing/formats-and-conversion/ocr/ocrformatprovider) that allows you to import an image to get a RadFixedPage.
55

6+
## How to run the project locally
7+
8+
1. Download the DPL assemblies ( .NEt Framework 4.6.2) from your Telerik account: [Download Product Files](https://docs.telerik.com/devtools/document-processing/getting-started/download-product-files).
9+
10+
2. Paste the following assemblies in the **AssemblyReferences** folder:
11+
12+
* Telerik.Windows.Documents.Core.dll
13+
* Telerik.Windows.Documents.Fixed.dll
14+
* Telerik.Windows.Documents.Fixed.FormatProviders.Ocr.dll
15+
* Telerik.Windows.Documents.TesseractOcr.dll
16+
* Telerik.Windows.Zip.dll
17+
18+
3. Build the project and run it.
19+

PdfProcessing/TesseractOcrProviderDemo/TesseractOcrProviderDemo.csproj

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,23 +49,23 @@
4949
</Reference>
5050
<Reference Include="Telerik.Windows.Documents.Core, Version=2025.1.205.462, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL">
5151
<SpecificVersion>False</SpecificVersion>
52-
<HintPath>Trial 4.6.2\Telerik.Windows.Documents.Core.dll</HintPath>
52+
<HintPath>AssemblyReferences\Telerik.Windows.Documents.Core.dll</HintPath>
5353
</Reference>
5454
<Reference Include="Telerik.Windows.Documents.Fixed, Version=2025.1.205.462, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL">
5555
<SpecificVersion>False</SpecificVersion>
56-
<HintPath>Trial 4.6.2\Telerik.Windows.Documents.Fixed.dll</HintPath>
56+
<HintPath>AssemblyReferences\Telerik.Windows.Documents.Fixed.dll</HintPath>
5757
</Reference>
5858
<Reference Include="Telerik.Windows.Documents.Fixed.FormatProviders.Ocr, Version=2025.1.205.462, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL">
5959
<SpecificVersion>False</SpecificVersion>
60-
<HintPath>Trial 4.6.2\Telerik.Windows.Documents.Fixed.FormatProviders.Ocr.dll</HintPath>
60+
<HintPath>AssemblyReferences\Telerik.Windows.Documents.Fixed.FormatProviders.Ocr.dll</HintPath>
6161
</Reference>
6262
<Reference Include="Telerik.Windows.Documents.TesseractOcr, Version=2025.1.205.462, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL">
6363
<SpecificVersion>False</SpecificVersion>
64-
<HintPath>Trial 4.6.2\Telerik.Windows.Documents.TesseractOcr.dll</HintPath>
64+
<HintPath>AssemblyReferences\Telerik.Windows.Documents.TesseractOcr.dll</HintPath>
6565
</Reference>
6666
<Reference Include="Telerik.Windows.Zip, Version=2025.1.205.462, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL">
6767
<SpecificVersion>False</SpecificVersion>
68-
<HintPath>Trial 4.6.2\Telerik.Windows.Zip.dll</HintPath>
68+
<HintPath>AssemblyReferences\Telerik.Windows.Zip.dll</HintPath>
6969
</Reference>
7070
</ItemGroup>
7171
<ItemGroup>
@@ -81,11 +81,6 @@
8181
</ItemGroup>
8282
<ItemGroup>
8383
<Content Include="images\image.png" />
84-
<Content Include="lib\Telerik.Windows.Documents.Core.dll" />
85-
<Content Include="lib\Telerik.Windows.Documents.Fixed.dll" />
86-
<Content Include="lib\Telerik.Windows.Documents.Fixed.FormatProviders.Ocr.dll" />
87-
<Content Include="lib\Telerik.Windows.Documents.TesseractOcr.dll" />
88-
<Content Include="lib\Telerik.Windows.Zip.dll" />
8984
<Content Include="x64\leptonica-1.82.0.dll">
9085
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
9186
</Content>
@@ -99,6 +94,9 @@
9994
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
10095
</Content>
10196
</ItemGroup>
97+
<ItemGroup>
98+
<Folder Include="AssemblyReferences\" />
99+
</ItemGroup>
102100
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
103101
<Import Project="packages\Telerik.Licensing.1.6.5\build\Telerik.Licensing.targets" Condition="Exists('packages\Telerik.Licensing.1.6.5\build\Telerik.Licensing.targets')" />
104102
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">

0 commit comments

Comments
 (0)