@camstack/addon-detection-pipeline 0.1.1
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/dist/index.d.mts +638 -0
- package/dist/index.d.ts +638 -0
- package/dist/index.js +5826 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +5801 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +84 -0
- package/python/inference_pool.py +1088 -0
- package/python/postprocessors/__init__.py +24 -0
- package/python/postprocessors/arcface.py +31 -0
- package/python/postprocessors/ctc.py +68 -0
- package/python/postprocessors/saliency.py +44 -0
- package/python/postprocessors/scrfd.py +212 -0
- package/python/postprocessors/softmax.py +43 -0
- package/python/postprocessors/yamnet.py +41 -0
- package/python/postprocessors/yolo.py +278 -0
- package/python/postprocessors/yolo_seg.py +247 -0
- package/python/requirements-coreml.txt +4 -0
- package/python/requirements-onnxruntime.txt +3 -0
- package/python/requirements-openvino.txt +3 -0
- package/python/requirements.txt +9 -0
package/package.json
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@camstack/addon-detection-pipeline",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"description": "Unified detection pipeline addon — replaces 13 separate vision addons with a single declarative pipeline",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"camstack",
|
|
7
|
+
"addon",
|
|
8
|
+
"camstack-addon",
|
|
9
|
+
"detection",
|
|
10
|
+
"pipeline",
|
|
11
|
+
"inference"
|
|
12
|
+
],
|
|
13
|
+
"license": "MIT",
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "https://github.com/camstack/server"
|
|
17
|
+
},
|
|
18
|
+
"main": "./dist/index.js",
|
|
19
|
+
"module": "./dist/index.mjs",
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"exports": {
|
|
22
|
+
".": {
|
|
23
|
+
"types": "./dist/index.d.ts",
|
|
24
|
+
"import": "./dist/index.mjs",
|
|
25
|
+
"require": "./dist/index.js"
|
|
26
|
+
},
|
|
27
|
+
"./package.json": "./package.json"
|
|
28
|
+
},
|
|
29
|
+
"camstack": {
|
|
30
|
+
"displayName": "Detection Pipeline",
|
|
31
|
+
"addons": [
|
|
32
|
+
{
|
|
33
|
+
"id": "detection-pipeline",
|
|
34
|
+
"name": "Detection Pipeline",
|
|
35
|
+
"version": "0.1.0",
|
|
36
|
+
"description": "Unified detection pipeline — object detection, face/plate recognition, classification, segmentation",
|
|
37
|
+
"entry": "./dist/index.js",
|
|
38
|
+
"python": {
|
|
39
|
+
"requirements": "./python/requirements.txt"
|
|
40
|
+
},
|
|
41
|
+
"capabilities": [
|
|
42
|
+
{
|
|
43
|
+
"name": "pipeline-executor"
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
"name": "detection-pipeline",
|
|
47
|
+
"kind": "wrapper",
|
|
48
|
+
"defaultActive": true
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"execution": {
|
|
52
|
+
"placement": "any-node",
|
|
53
|
+
"group": "pipeline"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"files": [
|
|
59
|
+
"dist",
|
|
60
|
+
"python",
|
|
61
|
+
"labels"
|
|
62
|
+
],
|
|
63
|
+
"scripts": {
|
|
64
|
+
"build": "tsup",
|
|
65
|
+
"dev": "tsup --watch",
|
|
66
|
+
"typecheck": "tsc --noEmit",
|
|
67
|
+
"test": "vitest run",
|
|
68
|
+
"test:watch": "vitest"
|
|
69
|
+
},
|
|
70
|
+
"peerDependencies": {
|
|
71
|
+
"@camstack/types": "^0.1.0"
|
|
72
|
+
},
|
|
73
|
+
"dependencies": {
|
|
74
|
+
"@camstack/core": "*",
|
|
75
|
+
"onnxruntime-node": "^1.24.3",
|
|
76
|
+
"sharp": "^0.34.0"
|
|
77
|
+
},
|
|
78
|
+
"devDependencies": {
|
|
79
|
+
"@camstack/types": "*",
|
|
80
|
+
"tsup": "^8.0.0",
|
|
81
|
+
"typescript": "~5.9.0",
|
|
82
|
+
"vitest": "^3.0.0"
|
|
83
|
+
}
|
|
84
|
+
}
|