Skip to content

Commit aa2d1b0

Browse files
Added the md Files for SmartDataExtractor
1 parent 647540b commit aa2d1b0

6 files changed

Lines changed: 734 additions & 0 deletions

File tree

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
---
2+
title: Extract structured data from PDF and image documents in .NET | Syncfusion
3+
description: Syncfusion® Smart Data Extractor is a .NET library that extracts tables, form fields, text blocks, and images from PDF and image documents, producing PDFs and structured JSON for verification, automation and processing.
4+
platform: SmartDataExtractor
5+
control: PDF
6+
documentation: UG
7+
keywords: Assemblies
8+
---
9+
# Assemblies Required to work with PDF
10+
11+
The following assemblies need to be referenced in your application based on the platform.
12+
<table>
13+
<thead>
14+
<tr>
15+
<th>Platform(s)</th>
16+
<th>Assembly</th>
17+
</tr>
18+
</thead>
19+
<tbody>
20+
<tr>
21+
<td>
22+
{{'[WPF](https://help.syncfusion.com/document-processing/pdf/pdf-library/net/create-pdf-file-in-wpf)'| markdownify }},
23+
{{'[Windows Forms](https://help.syncfusion.com/document-processing/pdf/pdf-library/net/create-pdf-file-in-windows-forms)'| markdownify }} and {{'[ASP.NET MVC](https://help.syncfusion.com/document-processing/pdf/pdf-library/net/create-pdf-file-in-asp-net-mvc)'| markdownify }}
24+
</td>
25+
<td>
26+
Syncfusion.Compression.Base<br/>
27+
Syncfusion.ImagePreProcessor.Base<br/>
28+
Syncfusion.OCRProcessor.Base<br/>
29+
Syncfusion.Pdf.Imaging.Base<br/>
30+
Syncfusion.Pdf.Base<br/>
31+
Syncfusion.PdfToImageConverter.Base<br/>
32+
Syncfusion.SmartFormRecognizer.Base<br/>
33+
Syncfusion.SmartTableExtractor.Base<br/>
34+
</td>
35+
</tr>
36+
<tr>
37+
<td>
38+
{{'[Blazor](https://help.syncfusion.com/document-processing/pdf/pdf-library/net/create-pdf-document-in-blazor)'| markdownify }},
39+
{{'[.NET Core](https://help.syncfusion.com/document-processing/pdf/pdf-library/net/create-pdf-file-in-asp-net-core)'| markdownify }}
40+
and {{'[.NET Platforms](https://help.syncfusion.com/document-processing/pdf/pdf-library/net/create-pdf-file-in-asp-net-mvc)'| markdownify }}
41+
</td>
42+
<td>
43+
Syncfusion.Compression.Portable<br/>
44+
Syncfusion.ImagePreProcessor.Portable<br/>
45+
Syncfusion.OCRProcessor.Portable<br/>
46+
Syncfusion.Pdf.Imaging.Portable<br/>
47+
Syncfusion.Pdf.Portable<br/>
48+
Syncfusion.PdfToImageConverter.Portable<br/>
49+
Syncfusion.SmartFormRecognizer.Portable<br/>
50+
Syncfusion.SmartTableExtractor.Portable<br/>
51+
</td>
52+
</tr>
53+
<tr>
54+
<td>
55+
{{'[Windows UI library (WinUI)](https://help.syncfusion.com/document-processing/pdf/pdf-library/net/create-pdf-file-in-winui)'| markdownify }},
56+
{{'[.NET Multi-platform App UI (.NET MAUI)](https://help.syncfusion.com/document-processing/pdf/pdf-library/net/create-pdf-file-in-maui)'| markdownify }}
57+
</td>
58+
<td>
59+
Syncfusion.Compression.NET<br/>
60+
Syncfusion.ImagePreProcessor.NET<br/>
61+
Syncfusion.OCRProcessor.NET<br/>
62+
Syncfusion.Pdf.Imaging.NET<br/>
63+
Syncfusion.Pdf.NET<br/>
64+
Syncfusion.PdfToImageConverter.NET<br/>
65+
Syncfusion.SmartFormRecognizer.NET<br/>
66+
Syncfusion.SmartTableExtractor.NET<br/>
67+
</td>
68+
</tr>
69+
</tbody>
70+
</table>
71+
72+
73+
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
title: Extract structured data from PDF and image documents in .NET | Syncfusion
3+
description: Syncfusion® Smart Data Extractor is a .NET library that extracts tables, form fields, text blocks, and images from PDF and image documents, producing PDFs and structured JSON for verification, automation and processing.
4+
platform: documentProcessing
5+
control: SmartDataExtractor
6+
documentation: UG
7+
---
8+
9+
# How to resolve the “ONNX file missing” error in Smart Data Extractor
10+
11+
Problem:
12+
13+
When running Smart Data Extractor you may see an exception similar to the following:
14+
15+
```
16+
Microsoft.ML.OnnxRuntime.OnnxRuntimeException: '[ErrorCode:NoSuchFile] Load model from <path>\runtimes\models\syncfusion_doclayout.onnx failed. File doesn't exist'
17+
```
18+
19+
Cause:
20+
21+
This error occurs because the required ONNX model files (used internally for layout and data extraction) are not present in the application's build output (the project's `bin` runtime folder). The extractor expects the models under `runtimes\models` so the runtime can load them.
22+
23+
Solution:
24+
25+
1. Run a build so the application output is generated under `bin\Debug\netX.X\runtimes` (or your configured build configuration and target framework).
26+
2. Locate the project's build output `bin` path (for example: `bin\Debug\net6.0\runtimes`).
27+
3. Place all required ONNX model files into a `runtimes\models` folder inside that bin path (for example: `bin\Debug\net6.0\runtimes\models\syncfusion_doclayout.onnx`).
28+
4. In Visual Studio, for each ONNX file set **Properties → Copy to Output Directory → Copy always** so the model is included on every build.
29+
5. Rebuild and run your project. The extractor should now find the ONNX models and operate correctly.
30+
31+
Screenshot placeholder
32+
33+
Add a screenshot showing the exception or the `runtimes\models` folder layout. Save the image in the repo (suggested path relative to this file): `../images/onnx-missing.png` and include it here:
34+
35+
Notes:
36+
37+
- If you publish your application, ensure the `runtimes\models` folder and ONNX files are included in the publish output (you may need to mark files as content in the project file or use a <Content> entry).
38+
- If you prefer an automated approach, add the ONNX files to your project with `CopyToOutputDirectory` set, or create a post-build step to copy the models into the runtime folder.
39+
40+
If the problem persists after adding the model files, verify file permissions and the correctness of the model file names.

0 commit comments

Comments
 (0)