@camstack/addon-pipeline 1.1.33 → 1.1.35

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.
Files changed (91) hide show
  1. package/assets/reference-audio/dog-bark.wav +0 -0
  2. package/assets/reference-audio/meow.wav +0 -0
  3. package/assets/reference-audio/silence.wav +0 -0
  4. package/assets/reference-audio/siren.wav +0 -0
  5. package/assets/reference-audio/speech.wav +0 -0
  6. package/assets/reference-audio/synthetic-alarm.wav +0 -0
  7. package/assets/reference-audio/synthetic-bark.wav +0 -0
  8. package/assets/reference-audio/synthetic-cry.wav +0 -0
  9. package/assets/reference-audio/synthetic-speech.wav +0 -0
  10. package/assets/reference-images/1-bird.jpg +0 -0
  11. package/assets/reference-images/1-car-plate.jpg +0 -0
  12. package/assets/reference-images/2-birds.jpg +0 -0
  13. package/assets/reference-images/2-cars-plates.jpg +0 -0
  14. package/assets/reference-images/3-persons.jpg +0 -0
  15. package/assets/reference-images/README.md +16 -0
  16. package/assets/reference-images/animals-group.jpg +0 -0
  17. package/assets/reference-images/ground-truth/1-bird.json +22 -0
  18. package/assets/reference-images/ground-truth/1-car-plate.json +85 -0
  19. package/assets/reference-images/ground-truth/2-birds.json +35 -0
  20. package/assets/reference-images/ground-truth/2-cars-plates.json +137 -0
  21. package/assets/reference-images/ground-truth/3-persons.json +186 -0
  22. package/assets/reference-images/ground-truth/animals-group.json +87 -0
  23. package/assets/reference-images/ground-truth/persons-cars-animal.json +136 -0
  24. package/assets/reference-images/ground-truth/sinner.json +73 -0
  25. package/assets/reference-images/persons-cars-animal.jpg +0 -0
  26. package/assets/reference-images/sinner.jpg +0 -0
  27. package/dist/audio-analyzer/index.js +1 -1
  28. package/dist/audio-analyzer/index.mjs +1 -1
  29. package/dist/audio-codec-ffmpeg/index.js +1 -1
  30. package/dist/audio-codec-ffmpeg/index.mjs +1 -1
  31. package/dist/detection-pipeline/index.js +3 -1
  32. package/dist/detection-pipeline/index.mjs +3 -1
  33. package/dist/{dist-CfSORkv2.mjs → dist-BESCfHIV.mjs} +35 -128
  34. package/dist/{dist-BrIE85BG.js → dist-BZBQc2QZ.js} +34 -145
  35. package/dist/{frame-handle-plane-C05rq9Zs.mjs → frame-handle-plane-CYtnVPIg.mjs} +1 -1
  36. package/dist/{frame-handle-plane-zMju9vmk.js → frame-handle-plane-ChjxN8oI.js} +1 -1
  37. package/dist/motion-wasm/index.js +1 -1
  38. package/dist/motion-wasm/index.mjs +1 -1
  39. package/dist/pipeline-runner/index.js +2 -2
  40. package/dist/pipeline-runner/index.mjs +2 -2
  41. package/dist/recorder/index.js +1 -1
  42. package/dist/recorder/index.mjs +1 -1
  43. package/dist/stream-broker/{_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-DPFAbcUo.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-B0wZ-iCZ.mjs} +2 -2
  44. package/dist/stream-broker/{hostInit-C8slrxw1.mjs → hostInit-DuzG6QmV.mjs} +2 -2
  45. package/dist/stream-broker/index.js +133 -18
  46. package/dist/stream-broker/index.mjs +119 -4
  47. package/dist/stream-broker/remoteEntry.js +1 -1
  48. package/embed-dist/assets/{MaskShapeCanvas-DI4BY7W2-WUVfFzT-.js → MaskShapeCanvas-DI4BY7W2-BL-S3O0Z.js} +1 -1
  49. package/embed-dist/assets/{MotionZonesSettings-NcxxQN8r-CF7FXXLs.js → MotionZonesSettings-NcxxQN8r-DcnKZAt6.js} +1 -1
  50. package/embed-dist/assets/{PrivacyMaskSettings-APgPLF7p-qQCpVob3.js → PrivacyMaskSettings-APgPLF7p-DQ0MK5T9.js} +1 -1
  51. package/embed-dist/assets/{index-BNhisVUZ.js → index-BCGUC-8v.js} +7 -7
  52. package/embed-dist/index.html +1 -1
  53. package/package.json +3 -57
  54. package/dist/decoder-ffmpeg/index.js +0 -1114
  55. package/dist/decoder-ffmpeg/index.mjs +0 -1097
  56. package/dist/decoder-nodeav/index.js +0 -1422
  57. package/dist/decoder-nodeav/index.mjs +0 -1414
  58. package/dist/ffmpeg-args-CpeRWwL4.mjs +0 -326
  59. package/dist/ffmpeg-args-Dl9mLcOC.js +0 -421
  60. package/dist/frame-dropper-AjheBGMG.mjs +0 -22
  61. package/dist/frame-dropper-DKLM6pMz.js +0 -27
  62. package/dist/frame-ring-sink-B-DxHelU.js +0 -597
  63. package/dist/frame-ring-sink-B_WjDX0x.mjs +0 -550
  64. package/python/__pycache__/inference_pool.cpython-313.pyc +0 -0
  65. package/python/__pycache__/inference_pool.cpython-314.pyc +0 -0
  66. package/python/__pycache__/test_inference_pool_backpressure.cpython-314.pyc +0 -0
  67. package/python/__pycache__/test_inference_pool_coreml_cache.cpython-314.pyc +0 -0
  68. package/python/__pycache__/test_inference_pool_device_selection.cpython-314.pyc +0 -0
  69. package/python/__pycache__/yamnet_audio.cpython-314.pyc +0 -0
  70. package/python/postprocessors/__pycache__/__init__.cpython-312.pyc +0 -0
  71. package/python/postprocessors/__pycache__/__init__.cpython-313.pyc +0 -0
  72. package/python/postprocessors/__pycache__/_safety.cpython-313.pyc +0 -0
  73. package/python/postprocessors/__pycache__/arcface.cpython-312.pyc +0 -0
  74. package/python/postprocessors/__pycache__/arcface.cpython-313.pyc +0 -0
  75. package/python/postprocessors/__pycache__/clip.cpython-313.pyc +0 -0
  76. package/python/postprocessors/__pycache__/ctc.cpython-312.pyc +0 -0
  77. package/python/postprocessors/__pycache__/ctc.cpython-313.pyc +0 -0
  78. package/python/postprocessors/__pycache__/saliency.cpython-312.pyc +0 -0
  79. package/python/postprocessors/__pycache__/saliency.cpython-313.pyc +0 -0
  80. package/python/postprocessors/__pycache__/scrfd.cpython-312.pyc +0 -0
  81. package/python/postprocessors/__pycache__/scrfd.cpython-313.pyc +0 -0
  82. package/python/postprocessors/__pycache__/softmax.cpython-312.pyc +0 -0
  83. package/python/postprocessors/__pycache__/softmax.cpython-313.pyc +0 -0
  84. package/python/postprocessors/__pycache__/test_clip.cpython-313-pytest-9.1.1.pyc +0 -0
  85. package/python/postprocessors/__pycache__/test_saliency.cpython-313-pytest-9.1.1.pyc +0 -0
  86. package/python/postprocessors/__pycache__/yamnet.cpython-312.pyc +0 -0
  87. package/python/postprocessors/__pycache__/yamnet.cpython-313.pyc +0 -0
  88. package/python/postprocessors/__pycache__/yolo.cpython-312.pyc +0 -0
  89. package/python/postprocessors/__pycache__/yolo.cpython-313.pyc +0 -0
  90. package/python/postprocessors/__pycache__/yolo_seg.cpython-312.pyc +0 -0
  91. package/python/postprocessors/__pycache__/yolo_seg.cpython-313.pyc +0 -0
Binary file
Binary file
@@ -0,0 +1,16 @@
1
+ # Benchmark Reference Images
2
+
3
+ Images sourced from [Unsplash](https://unsplash.com/) under the [Unsplash License](https://unsplash.com/license) — free to use for any purpose.
4
+
5
+ | Filename | Content | Tests |
6
+ |----------|---------|-------|
7
+ | `3-persons.jpg` | 3 people in office, frontal faces | Person detection, face detection |
8
+ | `1-car-plate.jpg` | Single car, plate "EA 0202 AA" | Vehicle detection, plate detection + OCR |
9
+ | `2-cars-plates.jpg` | 2 cars, plate "CNE 844Y", people in background | Multi-vehicle, plate, person detection |
10
+ | `persons-cars-animal.jpg` | 3 people, dog, BMW | Person + face + animal + vehicle detection |
11
+
12
+ ## Ground Truth
13
+
14
+ Each image has a corresponding `ground-truth/<name>.json` with pixel-coordinate bounding boxes and annotations for expected detections.
15
+
16
+ The ground truth is approximate — bounding boxes are hand-estimated. Accuracy metrics (mAP50) use IoU threshold of 0.5 which tolerates minor bbox imprecision.
@@ -0,0 +1,22 @@
1
+ {
2
+ "image": "1-bird.jpg",
3
+ "width": 1280,
4
+ "height": 1024,
5
+ "generatedAt": "2026-04-11T07:13:39.385Z",
6
+ "engine": "python+coreml",
7
+ "annotations": [
8
+ {
9
+ "id": "d1",
10
+ "kind": "first-level",
11
+ "macroClass": "animal",
12
+ "score": 0.881,
13
+ "bbox": {
14
+ "x": 338,
15
+ "y": 365.8,
16
+ "width": 444,
17
+ "height": 463.7
18
+ },
19
+ "labels": []
20
+ }
21
+ ]
22
+ }
@@ -0,0 +1,85 @@
1
+ {
2
+ "image": "1-car-plate.jpg",
3
+ "width": 1280,
4
+ "height": 853,
5
+ "generatedAt": "2026-04-11T07:13:39.511Z",
6
+ "engine": "python+coreml",
7
+ "annotations": [
8
+ {
9
+ "id": "d1",
10
+ "kind": "first-level",
11
+ "macroClass": "vehicle",
12
+ "score": 0.766,
13
+ "bbox": {
14
+ "x": 171.2,
15
+ "y": 191.6,
16
+ "width": 942.5999999999999,
17
+ "height": 607.5
18
+ },
19
+ "labels": [
20
+ {
21
+ "label": "DFB0202BB",
22
+ "score": 0.889,
23
+ "detectionId": "d2"
24
+ }
25
+ ]
26
+ },
27
+ {
28
+ "id": "d3",
29
+ "kind": "first-level",
30
+ "macroClass": "vehicle",
31
+ "score": 0.511,
32
+ "bbox": {
33
+ "x": 176.2,
34
+ "y": 193,
35
+ "width": 937.5999999999999,
36
+ "height": 608.5
37
+ },
38
+ "labels": [
39
+ {
40
+ "label": "DFBP202BB",
41
+ "score": 0.882,
42
+ "detectionId": "d4"
43
+ }
44
+ ]
45
+ },
46
+ {
47
+ "id": "d2",
48
+ "kind": "detail",
49
+ "macroClass": "plate",
50
+ "score": 0.968,
51
+ "bbox": {
52
+ "x": 302.6,
53
+ "y": 572.5,
54
+ "width": 186.59999999999997,
55
+ "height": 61.10000000000002
56
+ },
57
+ "labels": [
58
+ {
59
+ "label": "DFB0202BB",
60
+ "score": 0.889
61
+ }
62
+ ],
63
+ "parentId": "d1"
64
+ },
65
+ {
66
+ "id": "d4",
67
+ "kind": "detail",
68
+ "macroClass": "plate",
69
+ "score": 0.959,
70
+ "bbox": {
71
+ "x": 302.29999999999995,
72
+ "y": 572.8,
73
+ "width": 187.50000000000006,
74
+ "height": 62.60000000000002
75
+ },
76
+ "labels": [
77
+ {
78
+ "label": "DFBP202BB",
79
+ "score": 0.882
80
+ }
81
+ ],
82
+ "parentId": "d3"
83
+ }
84
+ ]
85
+ }
@@ -0,0 +1,35 @@
1
+ {
2
+ "image": "2-birds.jpg",
3
+ "width": 1280,
4
+ "height": 856,
5
+ "generatedAt": "2026-04-11T07:13:39.535Z",
6
+ "engine": "python+coreml",
7
+ "annotations": [
8
+ {
9
+ "id": "d1",
10
+ "kind": "first-level",
11
+ "macroClass": "animal",
12
+ "score": 0.892,
13
+ "bbox": {
14
+ "x": 0.9,
15
+ "y": 269.9,
16
+ "width": 751.3000000000001,
17
+ "height": 572.5
18
+ },
19
+ "labels": []
20
+ },
21
+ {
22
+ "id": "d2",
23
+ "kind": "first-level",
24
+ "macroClass": "animal",
25
+ "score": 0.649,
26
+ "bbox": {
27
+ "x": 568.8,
28
+ "y": 318,
29
+ "width": 456.20000000000005,
30
+ "height": 530
31
+ },
32
+ "labels": []
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1,137 @@
1
+ {
2
+ "image": "2-cars-plates.jpg",
3
+ "width": 1036,
4
+ "height": 1380,
5
+ "generatedAt": "2026-04-11T07:13:39.862Z",
6
+ "engine": "python+coreml",
7
+ "annotations": [
8
+ {
9
+ "id": "d1",
10
+ "kind": "first-level",
11
+ "macroClass": "vehicle",
12
+ "score": 0.919,
13
+ "bbox": {
14
+ "x": 191,
15
+ "y": 466.1,
16
+ "width": 843,
17
+ "height": 569.1
18
+ },
19
+ "labels": [
20
+ {
21
+ "label": "SDOF 8447",
22
+ "score": 0.863,
23
+ "detectionId": "d2"
24
+ }
25
+ ]
26
+ },
27
+ {
28
+ "id": "d3",
29
+ "kind": "first-level",
30
+ "macroClass": "vehicle",
31
+ "score": 0.911,
32
+ "bbox": {
33
+ "x": 0,
34
+ "y": 324.7,
35
+ "width": 225.8,
36
+ "height": 237.40000000000003
37
+ },
38
+ "labels": []
39
+ },
40
+ {
41
+ "id": "d4",
42
+ "kind": "first-level",
43
+ "macroClass": "person",
44
+ "score": 0.811,
45
+ "bbox": {
46
+ "x": 759.7,
47
+ "y": 252.7,
48
+ "width": 155.69999999999993,
49
+ "height": 231.8
50
+ },
51
+ "labels": [
52
+ {
53
+ "label": "embedding:512d",
54
+ "score": 1,
55
+ "detectionId": "d5"
56
+ }
57
+ ]
58
+ },
59
+ {
60
+ "id": "d6",
61
+ "kind": "first-level",
62
+ "macroClass": "person",
63
+ "score": 0.648,
64
+ "bbox": {
65
+ "x": 177.8,
66
+ "y": 246.1,
67
+ "width": 73,
68
+ "height": 167.50000000000003
69
+ },
70
+ "labels": []
71
+ },
72
+ {
73
+ "id": "d7",
74
+ "kind": "first-level",
75
+ "macroClass": "person",
76
+ "score": 0.562,
77
+ "bbox": {
78
+ "x": 249.9,
79
+ "y": 254,
80
+ "width": 58.79999999999998,
81
+ "height": 165.8
82
+ },
83
+ "labels": []
84
+ },
85
+ {
86
+ "id": "d8",
87
+ "kind": "first-level",
88
+ "macroClass": "person",
89
+ "score": 0.538,
90
+ "bbox": {
91
+ "x": 147.8,
92
+ "y": 222.2,
93
+ "width": 45.29999999999998,
94
+ "height": 160.7
95
+ },
96
+ "labels": []
97
+ },
98
+ {
99
+ "id": "d2",
100
+ "kind": "detail",
101
+ "macroClass": "plate",
102
+ "score": 0.859,
103
+ "bbox": {
104
+ "x": 593.4,
105
+ "y": 702.4000000000001,
106
+ "width": 247.60000000000002,
107
+ "height": 65.5
108
+ },
109
+ "labels": [
110
+ {
111
+ "label": "SDOF 8447",
112
+ "score": 0.863
113
+ }
114
+ ],
115
+ "parentId": "d1"
116
+ },
117
+ {
118
+ "id": "d5",
119
+ "kind": "detail",
120
+ "macroClass": "face",
121
+ "score": 0.65,
122
+ "bbox": {
123
+ "x": 762.7,
124
+ "y": 302.5,
125
+ "width": 28.5,
126
+ "height": 39.5
127
+ },
128
+ "labels": [
129
+ {
130
+ "label": "embedding:512d",
131
+ "score": 1
132
+ }
133
+ ],
134
+ "parentId": "d4"
135
+ }
136
+ ]
137
+ }
@@ -0,0 +1,186 @@
1
+ {
2
+ "image": "3-persons.jpg",
3
+ "width": 1280,
4
+ "height": 720,
5
+ "generatedAt": "2026-04-11T07:13:39.977Z",
6
+ "engine": "python+coreml",
7
+ "annotations": [
8
+ {
9
+ "id": "d1",
10
+ "kind": "first-level",
11
+ "macroClass": "person",
12
+ "score": 0.949,
13
+ "bbox": {
14
+ "x": 0.3,
15
+ "y": 37.5,
16
+ "width": 658.1,
17
+ "height": 677.5
18
+ },
19
+ "labels": [
20
+ {
21
+ "label": "embedding:512d",
22
+ "score": 1,
23
+ "detectionId": "d2"
24
+ },
25
+ {
26
+ "label": "embedding:512d",
27
+ "score": 1,
28
+ "detectionId": "d3"
29
+ }
30
+ ]
31
+ },
32
+ {
33
+ "id": "d4",
34
+ "kind": "first-level",
35
+ "macroClass": "person",
36
+ "score": 0.908,
37
+ "bbox": {
38
+ "x": 745.6,
39
+ "y": 15.2,
40
+ "width": 489.9999999999999,
41
+ "height": 538.4
42
+ },
43
+ "labels": [
44
+ {
45
+ "label": "embedding:512d",
46
+ "score": 1,
47
+ "detectionId": "d5"
48
+ }
49
+ ]
50
+ },
51
+ {
52
+ "id": "d6",
53
+ "kind": "first-level",
54
+ "macroClass": "person",
55
+ "score": 0.895,
56
+ "bbox": {
57
+ "x": 493.3,
58
+ "y": 112.8,
59
+ "width": 304.7,
60
+ "height": 311.9
61
+ },
62
+ "labels": [
63
+ {
64
+ "label": "embedding:512d",
65
+ "score": 1,
66
+ "detectionId": "d7"
67
+ }
68
+ ]
69
+ },
70
+ {
71
+ "id": "d8",
72
+ "kind": "first-level",
73
+ "macroClass": "laptop",
74
+ "score": 0.84,
75
+ "bbox": {
76
+ "x": 576.2,
77
+ "y": 408.8,
78
+ "width": 360,
79
+ "height": 207.40000000000003
80
+ },
81
+ "labels": []
82
+ },
83
+ {
84
+ "id": "d9",
85
+ "kind": "first-level",
86
+ "macroClass": "chair",
87
+ "score": 0.665,
88
+ "bbox": {
89
+ "x": 779.3,
90
+ "y": 285.9,
91
+ "width": 111.40000000000009,
92
+ "height": 100
93
+ },
94
+ "labels": []
95
+ },
96
+ {
97
+ "id": "d10",
98
+ "kind": "first-level",
99
+ "macroClass": "tie",
100
+ "score": 0.637,
101
+ "bbox": {
102
+ "x": 972.1,
103
+ "y": 270.8,
104
+ "width": 42,
105
+ "height": 135.89999999999998
106
+ },
107
+ "labels": []
108
+ },
109
+ {
110
+ "id": "d2",
111
+ "kind": "detail",
112
+ "macroClass": "face",
113
+ "score": 0.683,
114
+ "bbox": {
115
+ "x": 139.8,
116
+ "y": 115.4,
117
+ "width": 113.6,
118
+ "height": 226.9
119
+ },
120
+ "labels": [
121
+ {
122
+ "label": "embedding:512d",
123
+ "score": 1
124
+ }
125
+ ],
126
+ "parentId": "d1"
127
+ },
128
+ {
129
+ "id": "d3",
130
+ "kind": "detail",
131
+ "macroClass": "face",
132
+ "score": 0.603,
133
+ "bbox": {
134
+ "x": 623.5999999999999,
135
+ "y": 160.4,
136
+ "width": 34.700000000000045,
137
+ "height": 119.70000000000002
138
+ },
139
+ "labels": [
140
+ {
141
+ "label": "embedding:512d",
142
+ "score": 1
143
+ }
144
+ ],
145
+ "parentId": "d1"
146
+ },
147
+ {
148
+ "id": "d5",
149
+ "kind": "detail",
150
+ "macroClass": "face",
151
+ "score": 0.741,
152
+ "bbox": {
153
+ "x": 943.4000000000001,
154
+ "y": 97.4,
155
+ "width": 124.29999999999995,
156
+ "height": 173.20000000000002
157
+ },
158
+ "labels": [
159
+ {
160
+ "label": "embedding:512d",
161
+ "score": 1
162
+ }
163
+ ],
164
+ "parentId": "d4"
165
+ },
166
+ {
167
+ "id": "d7",
168
+ "kind": "detail",
169
+ "macroClass": "face",
170
+ "score": 0.839,
171
+ "bbox": {
172
+ "x": 622.4,
173
+ "y": 162.6,
174
+ "width": 86.20000000000005,
175
+ "height": 113.29999999999998
176
+ },
177
+ "labels": [
178
+ {
179
+ "label": "embedding:512d",
180
+ "score": 1
181
+ }
182
+ ],
183
+ "parentId": "d6"
184
+ }
185
+ ]
186
+ }
@@ -0,0 +1,87 @@
1
+ {
2
+ "image": "animals-group.jpg",
3
+ "width": 612,
4
+ "height": 227,
5
+ "generatedAt": "2026-04-11T07:13:39.996Z",
6
+ "engine": "python+coreml",
7
+ "annotations": [
8
+ {
9
+ "id": "d1",
10
+ "kind": "first-level",
11
+ "macroClass": "animal",
12
+ "score": 0.86,
13
+ "bbox": {
14
+ "x": 493,
15
+ "y": 76.1,
16
+ "width": 52.10000000000002,
17
+ "height": 98.9
18
+ },
19
+ "labels": []
20
+ },
21
+ {
22
+ "id": "d2",
23
+ "kind": "first-level",
24
+ "macroClass": "animal",
25
+ "score": 0.852,
26
+ "bbox": {
27
+ "x": 328.4,
28
+ "y": 46.6,
29
+ "width": 64.60000000000002,
30
+ "height": 128.6
31
+ },
32
+ "labels": []
33
+ },
34
+ {
35
+ "id": "d3",
36
+ "kind": "first-level",
37
+ "macroClass": "animal",
38
+ "score": 0.787,
39
+ "bbox": {
40
+ "x": 76.6,
41
+ "y": 21.9,
42
+ "width": 58.400000000000006,
43
+ "height": 67.5
44
+ },
45
+ "labels": []
46
+ },
47
+ {
48
+ "id": "d4",
49
+ "kind": "first-level",
50
+ "macroClass": "animal",
51
+ "score": 0.727,
52
+ "bbox": {
53
+ "x": 195.4,
54
+ "y": 63.8,
55
+ "width": 70.6,
56
+ "height": 110.39999999999999
57
+ },
58
+ "labels": []
59
+ },
60
+ {
61
+ "id": "d5",
62
+ "kind": "first-level",
63
+ "macroClass": "animal",
64
+ "score": 0.721,
65
+ "bbox": {
66
+ "x": 79.4,
67
+ "y": 116.8,
68
+ "width": 43.69999999999999,
69
+ "height": 55.7
70
+ },
71
+ "labels": []
72
+ },
73
+ {
74
+ "id": "d6",
75
+ "kind": "first-level",
76
+ "macroClass": "animal",
77
+ "score": 0.662,
78
+ "bbox": {
79
+ "x": 247.5,
80
+ "y": 23.6,
81
+ "width": 86.30000000000001,
82
+ "height": 151.1
83
+ },
84
+ "labels": []
85
+ }
86
+ ]
87
+ }