Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions File-Formats/PDF/Convert-HTML-To-PDF/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -841,12 +841,12 @@ If you are using Windows 7/8 or Windows Server 2008/2012, please use Chromium ve
<br/><br/>

Please refer to the below thread for more information,
[https://support.google.com/chrome/thread/185534985](https://support.google.com/chrome/thread/185534985)
<a href="https://support.google.com/chrome/thread/185534985">https://support.google.com/chrome/thread/185534985</a>

<br/>

Blink binaries (Version 109.0.5414.75),
[https://www.syncfusion.com/downloads/support/directtrac/general/ze/BlinkBinaries_109.0.5414.7560606898](https://www.syncfusion.com/downloads/support/directtrac/general/ze/BlinkBinaries_109.0.5414.7560606898)
<a href="https://www.syncfusion.com/downloads/support/directtrac/general/ze/BlinkBinaries_109.0.5414.7560606898">https://www.syncfusion.com/downloads/support/directtrac/general/ze/BlinkBinaries_109.0.5414.7560606898</a>

</td>
</tr>
Expand Down
52 changes: 51 additions & 1 deletion File-Formats/PDF/Working-with-OCR/Troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ By using the best tessdata, we can improve the OCR results. For more information
</th>
<td>To resolve this problem, you should install and utilize Tesseract 5 on your Mac machine. Refer to the following steps for installing Tesseract 5 and integrating it into an OCR processing workflow.
<br><br/>
1.Execute the following command to install Tesserat 5.
1.Execute the following command to install Tesseract 5.
<br><br/>
{% tabs %}
{% highlight C# %}
Expand Down Expand Up @@ -356,6 +356,56 @@ Step 3:

{% endhighlight %}
{% endtabs %}
</td>
</tr>
</table>

## OCR not working on Docker net 8.0: Exception has been thrown by target of an invocation.

<table>
<th style="font-size:14px" width="100px">Exception</th>
<th style="font-size:14px">OCR not working on Docker net 8.0: Exception has been thrown by target of an invocation.</th>
<tr>
<th style="font-size:14px" width="100px">Reason
</th>
<td>The reported issue occurs due to the missing prerequisite dependencies packages in the Docker container in .NET 8.0 version.
</td>
</tr>
<tr>
<th style="font-size:14px" width="100px">Solution</th>
<td>
We can resolve the reported issue by installing the tesseract required dependencies by using Docker file. Please refer the below commands.

{% tabs %}

{% highlight C# %}

FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base

`RUN apt-get update && \`

`apt-get install -yq --no-install-recommends \`

`libgdiplus libc6-dev libleptonica-dev libjpeg62`

`RUN ln -s /usr/lib/x86_64-linux-gnu/libtiff.so.6 /usr/lib/x86_64-linux-gnu/libtiff.so.5`

`RUN ln -s /lib/x86_64-linux-gnu/libdl.so.2 /usr/lib/x86_64-linux-gnu/libdl.so`



USER app

WORKDIR /app

EXPOSE 8080

EXPOSE 8081

{% endhighlight %}

{% endtabs %}

</td>
</tr>
</table>