Skip to content

Commit 43d5e92

Browse files
committed
Updated to v2.8.1. .NET 8, improved setup, JSON payload, Rust/Node demos
1 parent 828df8d commit 43d5e92

File tree

111 files changed

+2391
-5845
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+2391
-5845
lines changed

.vscode/launch.json

Lines changed: 130 additions & 46 deletions
Large diffs are not rendered by default.

.vscode/tasks.json

Lines changed: 71 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
}
2727
},
2828

29+
/*
2930
{
3031
"label": "build-all-arm64", // Builds all projects
3132
"group": "build",
@@ -67,6 +68,7 @@
6768
// "build-sentimentanalysis",
6869
]
6970
},
71+
*/
7072

7173
// Build individual projects ==================================================================================
7274

@@ -114,14 +116,29 @@
114116
"problemMatcher": "$msCompile"
115117
},
116118

119+
{
120+
"label": "build-parsejson-release", // Builds the ParseJSON utility
121+
"type": "process",
122+
"group": "build",
123+
"command": "dotnet",
124+
"args": [
125+
"build",
126+
"${workspaceFolder}/utils/ParseJSON",
127+
"/property:GenerateFullPaths=true",
128+
"/consoleloggerparameters:NoSummary",
129+
"--configuration", "Release"
130+
],
131+
"problemMatcher": "$msCompile"
132+
},
133+
117134
{
118135
"label": "build-yolo-net", // Builds ONLY the Yolo .NET analysis module
119136
"type": "process",
120137
"group": "build",
121138
"command": "dotnet",
122139
"args": [
123140
"build",
124-
"${workspaceFolder}/src/modules/ObjectDetectionYOLOv5Net",
141+
"${workspaceFolder}/modules/ObjectDetectionYOLOv5Net",
125142
"/property:GenerateFullPaths=true",
126143
"/consoleloggerparameters:NoSummary"
127144
],
@@ -156,6 +173,54 @@
156173
"problemMatcher": "$msCompile"
157174
},
158175

176+
{
177+
"label": "build-demo-go", // Builds ONLY the demo Golang analysis module
178+
"type": "shell",
179+
"group": {
180+
"kind": "build",
181+
"isDefault": true
182+
},
183+
"command": "go build \"${workspaceFolder}\\src\\demos\\clients\\Go\\object-detect.go\"",
184+
"problemMatcher": [ "$go" ],
185+
"detail": "Build the Go application"
186+
},
187+
188+
{
189+
"label": "build-demo-node",
190+
"type": "shell",
191+
"command": "cd \"${workspaceFolder}\\src\\demos\\clients\\Node\\object-detect\" & npm install",
192+
"problemMatcher": [],
193+
"group": {
194+
"kind": "build",
195+
"isDefault": true
196+
},
197+
"detail": "Install npm dependencies"
198+
},
199+
200+
{
201+
"label": "build-deno-rust",
202+
"type": "shell",
203+
"command": "cd \"${workspaceFolder}\\src\\demos\\clients\\Rust\\object-detect\" & cargo build",
204+
"group": {
205+
"kind": "build",
206+
"isDefault": true
207+
},
208+
"problemMatcher": ["$rustc"],
209+
"detail": "Build the Rust application"
210+
},
211+
212+
{
213+
"label": "run-deno-rust",
214+
"type": "shell",
215+
"command": "cd \"${workspaceFolder}\\src\\demos\\clients\\Rust\\object-detect\" & cargo run",
216+
"group": {
217+
"kind": "test",
218+
"isDefault": true
219+
},
220+
"problemMatcher": ["$rustc"],
221+
"detail": "Run the Rust application"
222+
},
223+
159224
{
160225
"label": "build-portraitfilter", // Builds ONLY the .NET portrait filter module
161226
"type": "process",
@@ -191,7 +256,7 @@
191256
"command": "dotnet",
192257
"args": [
193258
"build",
194-
"${workspaceFolder}/src/demos/clients/dotNet/CodeProject.AI.Explorer",
259+
"${workspaceFolder}/src/demos/clients/Net/CodeProject.AI.Explorer",
195260
"/property:GenerateFullPaths=true",
196261
"/consoleloggerparameters:NoSummary"
197262
],
@@ -217,7 +282,7 @@
217282
{
218283
"label": "launch-server-win", // Builds all projects then launches the front end API server
219284
"group": "none",
220-
"command": "${workspaceFolder}/src/server/bin/Debug/net7.0/CodeProject.AI.Server.exe",
285+
"command": "${workspaceFolder}/src/server/bin/Debug/net8.0/CodeProject.AI.Server.exe",
221286
"dependsOrder": "sequence",
222287
"dependsOn": [
223288
"build-all-win"
@@ -228,7 +293,7 @@
228293
"label": "start-explorer", // Starts the Explorer Windows form app. No building or launching of API server done.
229294
"group": "none",
230295
// Windows form apps only work in Windows
231-
"command": "${workspaceFolder}/src/demos/clients/dotNet/CodeProject.AI.Explorer/bin/Debug/net7.0-windows/win-x64/",
296+
"command": "${workspaceFolder}/src/demos/clients/Net/CodeProject.AI.Explorer/bin/Debug/net8.0-windows/win-x64/",
232297
"args": [],
233298
"type": "process"
234299
},
@@ -238,10 +303,10 @@
238303
"group": "none",
239304
"type": "process",
240305
"command": "bash",
241-
"args": [ "${workspaceFolder}/devops/scripts/stop_all.sh" ],
306+
"args": [ "${workspaceFolder}/devops/utils/stop_all.sh" ],
242307
"problemMatcher": "$msCompile",
243308
"windows": {
244-
"command": "${workspaceFolder}/devops/scripts/stop_all.bat",
309+
"command": "${workspaceFolder}/devops/utils/stop_all.bat",
245310
"args": []
246311
}
247312
},
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
{
2+
"folders": [
3+
{
4+
"name": "Server",
5+
"path": "."
6+
},
7+
{
8+
"name": "ALPR",
9+
"path": "../CodeProject.AI-Modules/CodeProject.AI-ALPR"
10+
},
11+
{
12+
"name": "ALPR (RKNN)",
13+
"path": "../CodeProject.AI-Modules/CodeProject.AI-ALPR-RKNN"
14+
},
15+
{
16+
"name": "Background Remover",
17+
"path": "../CodeProject.AI-Modules/CodeProject.AI-BackgroundRemover"
18+
},
19+
{
20+
"name": "Cartoonizer",
21+
"path": "../CodeProject.AI-Modules/CodeProject.AI-Cartoonizer"
22+
},
23+
{
24+
"name": "Face Processing",
25+
"path": "../CodeProject.AI-Modules/CodeProject.AI-FaceProcessing"
26+
},
27+
{
28+
"name": "Llama Chat",
29+
"path": "../CodeProject.AI-Modules/CodeProject.AI-LlamaChat"
30+
},
31+
{
32+
"name": "Multi-mode LLM",
33+
"path": "../CodeProject.AI-Modules/CodeProject.AI-MultiModeLLM"
34+
},
35+
{
36+
"name": "Object Detection (Coral)",
37+
"path": "../CodeProject.AI-Modules/CodeProject.AI-ObjectDetectionCoral"
38+
},
39+
{
40+
"name": "Object Detection (YOLOv5 RKNN)",
41+
"path": "../CodeProject.AI-Modules/CodeProject.AI-ObjectDetectionYoloRKNN"
42+
},
43+
{
44+
"name": "Object Detection (YOLOv5 3.1)",
45+
"path": "../CodeProject.AI-Modules/CodeProject.AI-ObjectDetectionYOLOv5-3.1"
46+
},
47+
{
48+
"name": "Object Detection (YOLOv8)",
49+
"path": "../CodeProject.AI-Modules/CodeProject.AI-ObjectDetectionYOLOv8"
50+
},
51+
{
52+
"name": "OCR",
53+
"path": "../CodeProject.AI-Modules/CodeProject.AI-OCR"
54+
},
55+
{
56+
"name": "Portrait Filter",
57+
"path": "../CodeProject.AI-Modules/CodeProject.AI-PortraitFilter"
58+
},
59+
{
60+
"name": "Scene Classifier",
61+
"path": "../CodeProject.AI-Modules/CodeProject.AI-SceneClassifier"
62+
},
63+
{
64+
"name": "Sentiment Analysis",
65+
"path": "../CodeProject.AI-Modules/CodeProject.AI-SentimentAnalysis"
66+
},
67+
{
68+
"name": "Sound Classifier (TF)",
69+
"path": "../CodeProject.AI-Modules/CodeProject.AI-SoundClassifierTF"
70+
},
71+
{
72+
"name": "Super Resolution",
73+
"path": "../CodeProject.AI-Modules/CodeProject.AI-SuperResolution"
74+
},
75+
{
76+
"name": "Text2Image",
77+
"path": "../CodeProject.AI-Modules/CodeProject.AI-Text2Image"
78+
},
79+
{
80+
"name": "Text Summary",
81+
"path": "../CodeProject.AI-Modules/CodeProject.AI-TextSummary"
82+
},
83+
{
84+
"name": "Object Detection Train (YOLOv5)",
85+
"path": "../CodeProject.AI-Modules/CodeProject.AI-TrainingObjectDetectionYOLOv5"
86+
}
87+
],
88+
"settings": {
89+
"csharp.debug.logging.moduleLoad": false
90+
}
91+
}

0 commit comments

Comments
 (0)