Skip to content

Commit 60fbe98

Browse files
Merge pull request #2067 from syncfusion-content/883086
883086: Update Default path reference for Syncfusion OCR packages.
2 parents 6f44c3a + be39e18 commit 60fbe98

File tree

1 file changed

+38
-1
lines changed

1 file changed

+38
-1
lines changed

File-Formats/PDF/Working-with-OCR/Troubleshooting.md

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,4 +408,41 @@ EXPOSE 8081
408408

409409
</td>
410410
</tr>
411-
</table>
411+
</table>
412+
413+
414+
## Default path reference for Syncfusion OCR packages
415+
When installing the Syncfusion OCR NuGet packages, the tessdata and tesseract path binaries are copied into the runtimes folder. The default binaries path references are added in the package itself, so there is no need to set the manual path.
416+
417+
If you are facing any issues with default reference path in your project. Kindly manually set the Tesseract and Tessdata path using the TessdataPath and TesseractPath in OCRProcessor class. You can find the binaries in the below project in your project location.
418+
419+
<table>
420+
<tr>
421+
<th style="font-size:14px" width="100px">Tessdata path
422+
</th>
423+
<td>
424+
Tessdata default path reference is common for all platform. You can find the tessdata in below path in your project.
425+
426+
"bin\Debug\net6.0\runtimes\tessdata"
427+
</td>
428+
</tr>
429+
<tr>
430+
<th style="font-size:14px" width="100px">Tesseract Path</th>
431+
<td>
432+
Tesseract binaries are different based on the OS platform and bit version . You can find the tesseract path in below path in your project.
433+
<br/><br/>
434+
Windows Platform:<br/>
435+
bin\Debug\net6.0\runtimes\win-x86\native (or) bin\Debug\net6.0\runtimes\win-x64\native
436+
<br/><br/>
437+
Linux:
438+
<br/>
439+
bin\Debug\net6.0\runtimes\linux\native
440+
<br/><br/>
441+
442+
Mac:
443+
<br/>
444+
bin\Debug\net6.0.\runtimes\osx\native
445+
</td>
446+
</tr>
447+
</table>
448+

0 commit comments

Comments
 (0)