simple-dynamsoft-mcp 2.0.4 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +272 -269
- package/code-snippet/dynamsoft-barcode-reader/web/frameworks/blazor/scan-using-foundational-api/hello-world-blazor/BlazorApp/obj/BlazorApp.csproj.nuget.dgspec.json +108 -0
- package/code-snippet/dynamsoft-barcode-reader/web/frameworks/blazor/scan-using-foundational-api/hello-world-blazor/BlazorApp/obj/BlazorApp.csproj.nuget.g.props +26 -0
- package/code-snippet/dynamsoft-barcode-reader/web/frameworks/blazor/scan-using-foundational-api/hello-world-blazor/BlazorApp/obj/BlazorApp.csproj.nuget.g.targets +12 -0
- package/code-snippet/dynamsoft-barcode-reader/web/frameworks/blazor/scan-using-foundational-api/hello-world-blazor/BlazorApp/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs +4 -0
- package/code-snippet/dynamsoft-barcode-reader/web/frameworks/blazor/scan-using-foundational-api/hello-world-blazor/BlazorApp/obj/Debug/net8.0/BlazorApp.AssemblyInfo.cs +22 -0
- package/code-snippet/dynamsoft-barcode-reader/web/frameworks/blazor/scan-using-foundational-api/hello-world-blazor/BlazorApp/obj/Debug/net8.0/BlazorApp.GeneratedMSBuildEditorConfig.editorconfig +53 -0
- package/code-snippet/dynamsoft-barcode-reader/web/frameworks/blazor/scan-using-foundational-api/hello-world-blazor/BlazorApp/obj/Debug/net8.0/BlazorApp.GlobalUsings.g.cs +11 -0
- package/code-snippet/dynamsoft-barcode-reader/web/frameworks/blazor/scan-using-foundational-api/hello-world-blazor/BlazorApp/obj/project.assets.json +2137 -0
- package/code-snippet/dynamsoft-barcode-reader/web/frameworks/blazor/scan-using-rtu-api/obj/BlazorApp.csproj.nuget.dgspec.json +108 -0
- package/code-snippet/dynamsoft-barcode-reader/web/frameworks/blazor/scan-using-rtu-api/obj/BlazorApp.csproj.nuget.g.props +26 -0
- package/code-snippet/dynamsoft-barcode-reader/web/frameworks/blazor/scan-using-rtu-api/obj/BlazorApp.csproj.nuget.g.targets +12 -0
- package/code-snippet/dynamsoft-barcode-reader/web/frameworks/blazor/scan-using-rtu-api/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs +4 -0
- package/code-snippet/dynamsoft-barcode-reader/web/frameworks/blazor/scan-using-rtu-api/obj/Debug/net8.0/BlazorApp.AssemblyInfo.cs +22 -0
- package/code-snippet/dynamsoft-barcode-reader/web/frameworks/blazor/scan-using-rtu-api/obj/Debug/net8.0/BlazorApp.GeneratedMSBuildEditorConfig.editorconfig +41 -0
- package/code-snippet/dynamsoft-barcode-reader/web/frameworks/blazor/scan-using-rtu-api/obj/Debug/net8.0/BlazorApp.GlobalUsings.g.cs +11 -0
- package/code-snippet/dynamsoft-barcode-reader/web/frameworks/blazor/scan-using-rtu-api/obj/project.assets.json +2137 -0
- package/package.json +1 -1
- package/src/index.js +89 -1
- package/test/server.test.js +25 -6
package/README.md
CHANGED
|
@@ -1,269 +1,272 @@
|
|
|
1
|
-
# Dynamsoft MCP Server
|
|
2
|
-
|
|
3
|
-
MCP (Model Context Protocol) server that enables AI assistants to write correct code with Dynamsoft SDKs. It provides actual working code snippets, documentation links, and API guidance for:
|
|
4
|
-
|
|
5
|
-
- **Dynamsoft Barcode Reader Mobile** - Android (Java/Kotlin) and iOS (Swift)
|
|
6
|
-
- **Dynamsoft Barcode Reader Python** - Desktop/server barcode scanning
|
|
7
|
-
- **Dynamsoft Barcode Reader Web** - JavaScript/TypeScript barcode scanning
|
|
8
|
-
- **Dynamic Web TWAIN** - Document scanning from TWAIN/WIA/ICA/SANE scanners
|
|
9
|
-
|
|
10
|
-
##
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
|
24
|
-
|
|
25
|
-
| `
|
|
26
|
-
| `
|
|
27
|
-
| `
|
|
28
|
-
| `
|
|
29
|
-
| `
|
|
30
|
-
| `
|
|
31
|
-
| `
|
|
32
|
-
| `
|
|
33
|
-
| `
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
```
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
{
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
"
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
{
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
"
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
**
|
|
170
|
-
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
- **
|
|
203
|
-
- **
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
##
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
- "
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
- "
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
- "
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
- **
|
|
233
|
-
- **
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
│ ├──
|
|
244
|
-
│ │ ├── BarcodeScannerAPISamples/
|
|
245
|
-
│ │ └── FoundationalAPISamples/
|
|
246
|
-
│ ├──
|
|
247
|
-
│ │
|
|
248
|
-
│ └──
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
├──
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
1
|
+
# Dynamsoft MCP Server
|
|
2
|
+
|
|
3
|
+
MCP (Model Context Protocol) server that enables AI assistants to write correct code with Dynamsoft SDKs. It provides actual working code snippets, documentation links, and API guidance for:
|
|
4
|
+
|
|
5
|
+
- **Dynamsoft Barcode Reader Mobile** - Android (Java/Kotlin) and iOS (Swift)
|
|
6
|
+
- **Dynamsoft Barcode Reader Python** - Desktop/server barcode scanning
|
|
7
|
+
- **Dynamsoft Barcode Reader Web** - JavaScript/TypeScript barcode scanning
|
|
8
|
+
- **Dynamic Web TWAIN** - Document scanning from TWAIN/WIA/ICA/SANE scanners
|
|
9
|
+
|
|
10
|
+
## Demo Video
|
|
11
|
+
https://github.com/user-attachments/assets/cc1c5f4b-1461-4462-897a-75abc20d62a6
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## Features
|
|
15
|
+
|
|
16
|
+
- **Code Snippets**: Real, working source code from official Dynamsoft samples
|
|
17
|
+
- **Trial License Included**: Ready-to-use trial license for quick testing
|
|
18
|
+
- **Multiple SDKs**: Barcode Reader (Mobile/Python/Web) + Dynamic Web TWAIN
|
|
19
|
+
- **Multiple API Levels**: High-level (simple) and low-level (advanced) options
|
|
20
|
+
|
|
21
|
+
## Available Tools
|
|
22
|
+
|
|
23
|
+
| Tool | Description |
|
|
24
|
+
|------|-------------|
|
|
25
|
+
| `list_sdks` | List all SDKs with versions and platforms |
|
|
26
|
+
| `get_sdk_info` | Get detailed SDK info for a specific platform |
|
|
27
|
+
| `list_samples` | List mobile code samples |
|
|
28
|
+
| `list_python_samples` | List Python SDK samples |
|
|
29
|
+
| `list_dwt_categories` | List Dynamic Web TWAIN sample categories |
|
|
30
|
+
| `get_code_snippet` | Get mobile sample source code |
|
|
31
|
+
| `get_python_sample` | Get Python sample code |
|
|
32
|
+
| `get_dwt_sample` | Get Dynamic Web TWAIN sample |
|
|
33
|
+
| `get_quick_start` | Complete quick start guide with dependencies |
|
|
34
|
+
| `get_gradle_config` | Android Gradle configuration |
|
|
35
|
+
| `get_license_info` | License initialization code |
|
|
36
|
+
| `get_api_usage` | Usage examples for specific APIs |
|
|
37
|
+
| `search_samples` | Search samples by keyword |
|
|
38
|
+
| `generate_project` | Generate a complete project structure based on a sample |
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
## MCP Client Configuration
|
|
42
|
+
|
|
43
|
+
### OpenCode
|
|
44
|
+
Location:
|
|
45
|
+
- **macOS**: `~/.config/opencode/opencode.json`
|
|
46
|
+
- **Windows**: `%USERPROFILE%\.config\opencode\opencode.json`
|
|
47
|
+
|
|
48
|
+
Configuration:
|
|
49
|
+
```json
|
|
50
|
+
{
|
|
51
|
+
"$schema": "https://opencode.ai/config.json",
|
|
52
|
+
"mcp": {
|
|
53
|
+
"dynamsoft": {
|
|
54
|
+
"type": "local",
|
|
55
|
+
"command": [
|
|
56
|
+
"npx",
|
|
57
|
+
"simple-dynamsoft-mcp"
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
### Claude Desktop
|
|
65
|
+
|
|
66
|
+
Location:
|
|
67
|
+
- **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
68
|
+
- **Windows**: `%APPDATA%\Claude\claude_desktop_config.json`
|
|
69
|
+
|
|
70
|
+
Configuration:
|
|
71
|
+
```json
|
|
72
|
+
{
|
|
73
|
+
"mcpServers": {
|
|
74
|
+
"dynamsoft": {
|
|
75
|
+
"command": "npx",
|
|
76
|
+
"args": ["-y", "simple-dynamsoft-mcp"]
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### VS Code with GitHub Copilot
|
|
83
|
+
|
|
84
|
+
Global Location:
|
|
85
|
+
|
|
86
|
+
- **macOS**: `~/.mcp.json`
|
|
87
|
+
- **Windows**: `%USERPROFILE%\.mcp.json`
|
|
88
|
+
|
|
89
|
+
```json
|
|
90
|
+
{
|
|
91
|
+
"servers": {
|
|
92
|
+
"dynamsoft": {
|
|
93
|
+
"command": "npx",
|
|
94
|
+
"args": ["-y", "simple-dynamsoft-mcp"]
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
Or create workspace-specific `.vscode/mcp.json`:
|
|
101
|
+
|
|
102
|
+
```json
|
|
103
|
+
{
|
|
104
|
+
"servers": {
|
|
105
|
+
"dynamsoft": {
|
|
106
|
+
"command": "npx",
|
|
107
|
+
"args": ["-y", "simple-dynamsoft-mcp"]
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
### Cursor
|
|
114
|
+
|
|
115
|
+
Location:
|
|
116
|
+
- **macOS**: `~/.cursor/mcp.json`
|
|
117
|
+
- **Windows**: `%USERPROFILE%\.cursor\mcp.json`
|
|
118
|
+
|
|
119
|
+
Configuration:
|
|
120
|
+
|
|
121
|
+
```json
|
|
122
|
+
{
|
|
123
|
+
"mcpServers": {
|
|
124
|
+
"dynamsoft": {
|
|
125
|
+
"command": "npx",
|
|
126
|
+
"args": ["-y", "simple-dynamsoft-mcp"]
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
### Windsurf
|
|
133
|
+
|
|
134
|
+
Location:
|
|
135
|
+
|
|
136
|
+
- **macOS**: `~/.codeium/windsurf/mcp_config.json`
|
|
137
|
+
- **Windows**: `%USERPROFILE%\.codeium\windsurf\mcp_config.json`
|
|
138
|
+
|
|
139
|
+
```json
|
|
140
|
+
{
|
|
141
|
+
"mcpServers": {
|
|
142
|
+
"dynamsoft": {
|
|
143
|
+
"command": "npx",
|
|
144
|
+
"args": ["-y", "simple-dynamsoft-mcp"]
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
### Alternative: Run from Local Clone
|
|
152
|
+
|
|
153
|
+
If you prefer running from source:
|
|
154
|
+
|
|
155
|
+
```json
|
|
156
|
+
{
|
|
157
|
+
"command": "node",
|
|
158
|
+
"args": ["/absolute/path/to/simple-dynamsoft-mcp/src/index.js"]
|
|
159
|
+
}
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
## Supported SDKs
|
|
163
|
+
|
|
164
|
+
### Dynamsoft Barcode Reader Mobile (v11.2.5000)
|
|
165
|
+
|
|
166
|
+
**Platforms:** Android, iOS, Flutter, React Native, .NET MAUI
|
|
167
|
+
|
|
168
|
+
**API Levels:**
|
|
169
|
+
- **High-Level (BarcodeScanner)**: Simple ready-to-use barcode scanning UI
|
|
170
|
+
- **Low-Level (CaptureVisionRouter)**: Full control over the scanning pipeline
|
|
171
|
+
|
|
172
|
+
**Android Samples:**
|
|
173
|
+
- ScanSingleBarcode, ScanMultipleBarcodes, ScenarioOrientedSamples
|
|
174
|
+
- DecodeWithCameraEnhancer, DecodeWithCameraX, DecodeFromAnImage
|
|
175
|
+
- GeneralSettings, DriversLicenseScanner, TinyBarcodeDecoding, ReadGS1AI
|
|
176
|
+
|
|
177
|
+
**iOS Samples:**
|
|
178
|
+
- ScanSingleBarcode, ScanMultipleBarcodes, ScanSingleBarcodeSwiftUI
|
|
179
|
+
- DecodeWithCameraEnhancer, DecodeWithAVCaptureSession, DecodeFromAnImage
|
|
180
|
+
|
|
181
|
+
### Dynamsoft Barcode Reader Python (v11.2.5000)
|
|
182
|
+
|
|
183
|
+
**Installation:** `pip install dynamsoft-barcode-reader-bundle`
|
|
184
|
+
|
|
185
|
+
**Samples:**
|
|
186
|
+
- `read_an_image` - Decode barcodes from image files
|
|
187
|
+
- `video_decoding` - Real-time video decoding
|
|
188
|
+
|
|
189
|
+
### Dynamsoft Barcode Reader Web (v11.2.4000)
|
|
190
|
+
|
|
191
|
+
**Installation:** `npm install dynamsoft-barcode-reader-bundle`
|
|
192
|
+
|
|
193
|
+
**CDN:** `https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.2.4000/dist/dbr.bundle.min.js`
|
|
194
|
+
|
|
195
|
+
### Dynamic Web TWAIN (v19.3)
|
|
196
|
+
|
|
197
|
+
**Installation:** `npm install dwt`
|
|
198
|
+
|
|
199
|
+
**CDN:** `https://cdn.jsdelivr.net/npm/dwt@latest/dist/dynamsoft.webtwain.min.js`
|
|
200
|
+
|
|
201
|
+
**Sample Categories:**
|
|
202
|
+
- **scan** - Basic document scanning (basic-scan, read-barcode, etc.)
|
|
203
|
+
- **input-options** - Load from files, URLs, local drive
|
|
204
|
+
- **output-options** - Save, upload, convert to PDF/Base64/Blob
|
|
205
|
+
- **classification** - Document classification and tagging
|
|
206
|
+
- **UI-customization** - Customize viewer and scan UI
|
|
207
|
+
|
|
208
|
+
## Trial License
|
|
209
|
+
https://www.dynamsoft.com/customer/license/trialLicense/?product=dcv&package=cross-platform
|
|
210
|
+
|
|
211
|
+
## Example AI Prompts
|
|
212
|
+
|
|
213
|
+
After connecting the MCP server, you can ask your AI assistant:
|
|
214
|
+
|
|
215
|
+
### Mobile Barcode Scanner
|
|
216
|
+
- "Create an Android app that scans a single barcode"
|
|
217
|
+
- "Show me how to use CaptureVisionRouter in iOS Swift"
|
|
218
|
+
- "Get the Gradle configuration for Dynamsoft Barcode Reader"
|
|
219
|
+
- "How do I initialize the Dynamsoft license in Kotlin?"
|
|
220
|
+
|
|
221
|
+
### Python Barcode Reader
|
|
222
|
+
- "Show me how to read barcodes from an image in Python"
|
|
223
|
+
- "Get the Python sample for video decoding"
|
|
224
|
+
|
|
225
|
+
### Dynamic Web TWAIN
|
|
226
|
+
- "Create a web page that scans documents from a TWAIN scanner"
|
|
227
|
+
- "Show me how to save scanned documents as PDF"
|
|
228
|
+
- "Get the DWT sample for reading barcodes from scanned documents"
|
|
229
|
+
|
|
230
|
+
## SDK Documentation
|
|
231
|
+
|
|
232
|
+
- **Mobile Android**: https://www.dynamsoft.com/barcode-reader/docs/mobile/programming/android/user-guide.html
|
|
233
|
+
- **Mobile iOS**: https://www.dynamsoft.com/barcode-reader/docs/mobile/programming/objectivec-swift/user-guide.html
|
|
234
|
+
- **Python**: https://www.dynamsoft.com/barcode-reader/docs/server/programming/python/user-guide.html
|
|
235
|
+
- **Web JavaScript**: https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/index.html
|
|
236
|
+
- **Dynamic Web TWAIN**: https://www.dynamsoft.com/web-twain/docs/introduction/index.html
|
|
237
|
+
|
|
238
|
+
## Code Snippet Structure
|
|
239
|
+
|
|
240
|
+
```
|
|
241
|
+
code-snippet/
|
|
242
|
+
├── dynamsoft-barcode-reader/
|
|
243
|
+
│ ├── android/
|
|
244
|
+
│ │ ├── BarcodeScannerAPISamples/ # High-level API
|
|
245
|
+
│ │ └── FoundationalAPISamples/ # Low-level API
|
|
246
|
+
│ ├── ios/
|
|
247
|
+
│ │ ├── BarcodeScannerAPISamples/
|
|
248
|
+
│ │ └── FoundationalAPISamples/
|
|
249
|
+
│ ├── python/
|
|
250
|
+
│ │ └── Samples/
|
|
251
|
+
│ └── web/
|
|
252
|
+
└── dynamic-web-twain/
|
|
253
|
+
├── scan/
|
|
254
|
+
├── input-options/
|
|
255
|
+
├── output-options/
|
|
256
|
+
├── classification/
|
|
257
|
+
└── UI-customization/
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
## Extending the Server
|
|
261
|
+
|
|
262
|
+
### Add New Samples
|
|
263
|
+
|
|
264
|
+
Place new sample projects in the appropriate folder under `code-snippet/`.
|
|
265
|
+
|
|
266
|
+
### Update SDK Info
|
|
267
|
+
|
|
268
|
+
Edit `data/dynamsoft_sdks.json` to update versions, docs URLs, or add new platforms.
|
|
269
|
+
|
|
270
|
+
## License
|
|
271
|
+
|
|
272
|
+
MIT
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
{
|
|
2
|
+
"format": 1,
|
|
3
|
+
"restore": {
|
|
4
|
+
"D:\\code\\simple-dynamsoft-mcp\\code-snippet\\dynamsoft-barcode-reader\\web\\frameworks\\blazor\\scan-using-foundational-api\\hello-world-blazor\\BlazorApp\\BlazorApp.csproj": {}
|
|
5
|
+
},
|
|
6
|
+
"projects": {
|
|
7
|
+
"D:\\code\\simple-dynamsoft-mcp\\code-snippet\\dynamsoft-barcode-reader\\web\\frameworks\\blazor\\scan-using-foundational-api\\hello-world-blazor\\BlazorApp\\BlazorApp.csproj": {
|
|
8
|
+
"version": "1.0.0",
|
|
9
|
+
"restore": {
|
|
10
|
+
"projectUniqueName": "D:\\code\\simple-dynamsoft-mcp\\code-snippet\\dynamsoft-barcode-reader\\web\\frameworks\\blazor\\scan-using-foundational-api\\hello-world-blazor\\BlazorApp\\BlazorApp.csproj",
|
|
11
|
+
"projectName": "BlazorApp",
|
|
12
|
+
"projectPath": "D:\\code\\simple-dynamsoft-mcp\\code-snippet\\dynamsoft-barcode-reader\\web\\frameworks\\blazor\\scan-using-foundational-api\\hello-world-blazor\\BlazorApp\\BlazorApp.csproj",
|
|
13
|
+
"packagesPath": "C:\\Users\\Admin\\.nuget\\packages\\",
|
|
14
|
+
"outputPath": "D:\\code\\simple-dynamsoft-mcp\\code-snippet\\dynamsoft-barcode-reader\\web\\frameworks\\blazor\\scan-using-foundational-api\\hello-world-blazor\\BlazorApp\\obj\\",
|
|
15
|
+
"projectStyle": "PackageReference",
|
|
16
|
+
"fallbackFolders": [
|
|
17
|
+
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
|
18
|
+
],
|
|
19
|
+
"configFilePaths": [
|
|
20
|
+
"C:\\Users\\Admin\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
|
21
|
+
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
|
22
|
+
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
|
23
|
+
],
|
|
24
|
+
"originalTargetFrameworks": [
|
|
25
|
+
"net8.0"
|
|
26
|
+
],
|
|
27
|
+
"sources": {
|
|
28
|
+
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
|
29
|
+
"C:\\Program Files\\dotnet\\library-packs": {},
|
|
30
|
+
"https://api.nuget.org/v3/index.json": {}
|
|
31
|
+
},
|
|
32
|
+
"frameworks": {
|
|
33
|
+
"net8.0": {
|
|
34
|
+
"targetAlias": "net8.0",
|
|
35
|
+
"projectReferences": {}
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"warningProperties": {
|
|
39
|
+
"warnAsError": [
|
|
40
|
+
"NU1605"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"restoreAuditProperties": {
|
|
44
|
+
"enableAudit": "true",
|
|
45
|
+
"auditLevel": "low",
|
|
46
|
+
"auditMode": "direct"
|
|
47
|
+
},
|
|
48
|
+
"SdkAnalysisLevel": "9.0.200"
|
|
49
|
+
},
|
|
50
|
+
"frameworks": {
|
|
51
|
+
"net8.0": {
|
|
52
|
+
"targetAlias": "net8.0",
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"Microsoft.AspNetCore.Components.WebAssembly": {
|
|
55
|
+
"target": "Package",
|
|
56
|
+
"version": "[8.0.7, )"
|
|
57
|
+
},
|
|
58
|
+
"Microsoft.AspNetCore.Components.WebAssembly.DevServer": {
|
|
59
|
+
"suppressParent": "All",
|
|
60
|
+
"target": "Package",
|
|
61
|
+
"version": "[8.0.7, )"
|
|
62
|
+
},
|
|
63
|
+
"Microsoft.NET.ILLink.Tasks": {
|
|
64
|
+
"suppressParent": "All",
|
|
65
|
+
"target": "Package",
|
|
66
|
+
"version": "[8.0.13, )",
|
|
67
|
+
"autoReferenced": true
|
|
68
|
+
},
|
|
69
|
+
"Microsoft.NET.Sdk.WebAssembly.Pack": {
|
|
70
|
+
"suppressParent": "All",
|
|
71
|
+
"target": "Package",
|
|
72
|
+
"version": "[9.0.2, )",
|
|
73
|
+
"autoReferenced": true
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"imports": [
|
|
77
|
+
"net461",
|
|
78
|
+
"net462",
|
|
79
|
+
"net47",
|
|
80
|
+
"net471",
|
|
81
|
+
"net472",
|
|
82
|
+
"net48",
|
|
83
|
+
"net481"
|
|
84
|
+
],
|
|
85
|
+
"assetTargetFallback": true,
|
|
86
|
+
"warn": true,
|
|
87
|
+
"downloadDependencies": [
|
|
88
|
+
{
|
|
89
|
+
"name": "Microsoft.NETCore.App.Runtime.Mono.browser-wasm",
|
|
90
|
+
"version": "[8.0.13, 8.0.13]"
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"frameworkReferences": {
|
|
94
|
+
"Microsoft.NETCore.App": {
|
|
95
|
+
"privateAssets": "all"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.200/PortableRuntimeIdentifierGraph.json"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"runtimes": {
|
|
102
|
+
"browser-wasm": {
|
|
103
|
+
"#import": []
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|