@webex/ladon-ts 5.2.0 → 5.4.2

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 (33) hide show
  1. package/CHANGELOG.md +192 -149
  2. package/LICENSE +5 -5
  3. package/README.md +34 -36
  4. package/build/module/config.json.js +1 -1
  5. package/build/module/index.d.ts +10 -10
  6. package/build/module/index.js +17 -16
  7. package/build/module/lib/config-builder.d.ts +179 -180
  8. package/build/module/lib/config-types.d.ts +101 -101
  9. package/build/module/lib/config.d.ts +28 -29
  10. package/build/module/lib/generator.d.ts +73 -74
  11. package/build/module/lib/generator.js +52 -40
  12. package/build/module/lib/generator.js.map +1 -1
  13. package/build/module/lib/pipeline.d.ts +82 -83
  14. package/build/module/lib/preload.d.ts +7 -8
  15. package/build/module/lib/renderer/blur-renderer.d.ts +17 -18
  16. package/build/module/lib/renderer/ladon-renderer.d.ts +5 -6
  17. package/build/module/lib/renderer/passthrough-renderer.d.ts +10 -11
  18. package/build/module/lib/renderer/replacement-renderer.d.ts +14 -15
  19. package/build/module/lib/renderer/webgl-renderer.d.ts +23 -24
  20. package/build/module/lib/renderer.d.ts +5 -5
  21. package/build/module/lib/shared-resource-manager.d.ts +92 -92
  22. package/build/module/lib/shared-resource-manager.js +37 -21
  23. package/build/module/lib/shared-resource-manager.js.map +1 -1
  24. package/build/module/lib/util.d.ts +64 -63
  25. package/build/module/lib/util.js +83 -64
  26. package/build/module/lib/util.js.map +1 -1
  27. package/build/module/lib/version.d.ts +1 -1
  28. package/build/module/lib/version.js +1 -1
  29. package/build/module/lib/version.js.map +1 -1
  30. package/build/worker/ort-wasm-simd-threaded.wasm +0 -0
  31. package/build/worker/segmentation.js +1475 -13968
  32. package/build/worker/segmentation.js.map +1 -0
  33. package/package.json +101 -95
package/CHANGELOG.md CHANGED
@@ -2,6 +2,49 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### 5.4.2 (2025-03-26)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * use artifact version ([#50](https://github.com/beyonddunbar/ladon-ts/issues/50)) ([ca65566](https://github.com/beyonddunbar/ladon-ts/commit/ca65566d8c156cf7089e6160263bbe425c926cb9))
11
+
12
+ ### [5.4.1](https://github.com/beyonddunbar/ladon-ts/compare/v5.4.0...v5.4.1) (2025-03-11)
13
+
14
+ ## [5.4.0](https://github.com/beyonddunbar/ladon-ts/compare/v5.0.1...v5.4.0) (2025-03-11)
15
+
16
+
17
+ ### Features
18
+
19
+ * upgrade onnx version ([0a5a0ad](https://github.com/beyonddunbar/ladon-ts/commit/0a5a0adbfeb70ddae824c74c8a7f03090d813243))
20
+ * fetch and cache assets locally; load them as array buffers ([f1cc74e](https://github.com/beyonddunbar/ladon-ts/commit/f1cc74ed60122f3873cb25014568e2a3ab20eee5))
21
+ * passthrough with generator to support step away ([#20](https://github.com/beyonddunbar/ladon-ts/issues/20)) ([f7e6b58](https://github.com/beyonddunbar/ladon-ts/commit/f7e6b5814d75f42daee67c6174fc1eb80a684b54))
22
+
23
+
24
+ ### Bug Fixes
25
+
26
+ * lint ([f2a8f94](https://github.com/beyonddunbar/ladon-ts/commit/f2a8f94012a3e17ccdbdc47cc1a60ebf5f163448))
27
+ * publish missing worker files in build folder ([#18](https://github.com/beyonddunbar/ladon-ts/issues/18)) ([de1b8d9](https://github.com/beyonddunbar/ladon-ts/commit/de1b8d9122ff1b2f9eaf3883a3c52a96e56225a2))
28
+ * webgl syntax error ([#22](https://github.com/beyonddunbar/ladon-ts/issues/22)) ([5a7e513](https://github.com/beyonddunbar/ladon-ts/commit/5a7e513bfd2b39f2b5c1a5b8b9c892f99a017285))
29
+ * yarn build error ([#16](https://github.com/beyonddunbar/ladon-ts/issues/16)) ([38eb5af](https://github.com/beyonddunbar/ladon-ts/commit/38eb5afa8c37947187af3d0b4fe061971b8a2436))
30
+
31
+ ## [5.3.0](https://github.com/beyonddunbar/ladon-ts/compare/v5.0.1...v5.3.0) (2025-03-11)
32
+
33
+
34
+ ### Features
35
+
36
+ * upgrade onnx version ([0a5a0ad](https://github.com/beyonddunbar/ladon-ts/commit/0a5a0adbfeb70ddae824c74c8a7f03090d813243))
37
+ * fetch and cache assets locally; load them as array buffers ([f1cc74e](https://github.com/beyonddunbar/ladon-ts/commit/f1cc74ed60122f3873cb25014568e2a3ab20eee5))
38
+ * passthrough with generator to support step away ([#20](https://github.com/beyonddunbar/ladon-ts/issues/20)) ([f7e6b58](https://github.com/beyonddunbar/ladon-ts/commit/f7e6b5814d75f42daee67c6174fc1eb80a684b54))
39
+
40
+
41
+ ### Bug Fixes
42
+
43
+ * lint ([f2a8f94](https://github.com/beyonddunbar/ladon-ts/commit/f2a8f94012a3e17ccdbdc47cc1a60ebf5f163448))
44
+ * publish missing worker files in build folder ([#18](https://github.com/beyonddunbar/ladon-ts/issues/18)) ([de1b8d9](https://github.com/beyonddunbar/ladon-ts/commit/de1b8d9122ff1b2f9eaf3883a3c52a96e56225a2))
45
+ * webgl syntax error ([#22](https://github.com/beyonddunbar/ladon-ts/issues/22)) ([5a7e513](https://github.com/beyonddunbar/ladon-ts/commit/5a7e513bfd2b39f2b5c1a5b8b9c892f99a017285))
46
+ * yarn build error ([#16](https://github.com/beyonddunbar/ladon-ts/issues/16)) ([38eb5af](https://github.com/beyonddunbar/ladon-ts/commit/38eb5afa8c37947187af3d0b4fe061971b8a2436))
47
+
5
48
  ## [5.2.0](https://github.com/beyonddunbar/ladon-ts/compare/v5.0.1...v5.2.0) (2025-01-17)
6
49
 
7
50
 
@@ -16,152 +59,152 @@ All notable changes to this project will be documented in this file. See [standa
16
59
  * webgl syntax error ([#22](https://github.com/beyonddunbar/ladon-ts/issues/22)) ([5a7e513](https://github.com/beyonddunbar/ladon-ts/commit/5a7e513bfd2b39f2b5c1a5b8b9c892f99a017285))
17
60
  * yarn build error ([#16](https://github.com/beyonddunbar/ladon-ts/issues/16)) ([38eb5af](https://github.com/beyonddunbar/ladon-ts/commit/38eb5afa8c37947187af3d0b4fe061971b8a2436))
18
61
 
19
- ## [5.1.0](https://github.com/beyonddunbar/ladon-ts/compare/v5.0.1...v5.1.0) (2025-01-15)
20
-
21
-
22
- ### Features
23
-
24
- * passthrough with generator to support step away ([#20](https://github.com/beyonddunbar/ladon-ts/issues/20)) ([f7e6b58](https://github.com/beyonddunbar/ladon-ts/commit/f7e6b5814d75f42daee67c6174fc1eb80a684b54))
25
-
26
-
27
- ### Bug Fixes
28
-
29
- * lint ([b904fd7](https://github.com/beyonddunbar/ladon-ts/commit/b904fd74dca183d8cfbd1bebb44d433868d8b606))
30
- * publish missing worker files in build folder ([#18](https://github.com/beyonddunbar/ladon-ts/issues/18)) ([de1b8d9](https://github.com/beyonddunbar/ladon-ts/commit/de1b8d9122ff1b2f9eaf3883a3c52a96e56225a2))
31
- * yarn build error ([#16](https://github.com/beyonddunbar/ladon-ts/issues/16)) ([38eb5af](https://github.com/beyonddunbar/ladon-ts/commit/38eb5afa8c37947187af3d0b4fe061971b8a2436))
32
-
33
- ### [5.0.3](https://github.com/beyonddunbar/ladon-ts/compare/v5.0.1...v5.0.3) (2024-12-17)
34
-
35
-
36
- ### Bug Fixes
37
-
38
- * publish missing worker files in build folder ([#18](https://github.com/beyonddunbar/ladon-ts/issues/18)) ([de1b8d9](https://github.com/beyonddunbar/ladon-ts/commit/de1b8d9122ff1b2f9eaf3883a3c52a96e56225a2))
39
- * yarn build error ([#16](https://github.com/beyonddunbar/ladon-ts/issues/16)) ([38eb5af](https://github.com/beyonddunbar/ladon-ts/commit/38eb5afa8c37947187af3d0b4fe061971b8a2436))
40
-
41
- ### [5.0.2](https://github.com/beyonddunbar/ladon-ts/compare/v5.0.1...v5.0.2) (2024-12-16)
42
-
43
-
44
- ### Bug Fixes
45
-
46
- * yarn build error ([#16](https://github.com/beyonddunbar/ladon-ts/issues/16)) ([38eb5af](https://github.com/beyonddunbar/ladon-ts/commit/38eb5afa8c37947187af3d0b4fe061971b8a2436))
47
-
48
- ### [5.0.1](https://github.com/beyonddunbar/ladon-ts/compare/v5.0.0...v5.0.1) (2024-12-16)
49
-
50
-
51
- ### Bug Fixes
52
-
53
- * vite build arg ([a9593bd](https://github.com/beyonddunbar/ladon-ts/commit/a9593bd8aa235b2946bc7e150faa1d63f5c96abd))
54
-
55
- ## [5.0.0](https://github.com/beyonddunbar/ladon-ts/compare/v4.5.1...v5.0.0) (2024-12-16)
56
-
57
-
58
- ### ⚠ BREAKING CHANGES
59
-
60
- * config builder (#15)
61
-
62
- ### Features
63
-
64
- * config builder ([#15](https://github.com/beyonddunbar/ladon-ts/issues/15)) ([eaaa9cf](https://github.com/beyonddunbar/ladon-ts/commit/eaaa9cf9fb2a3a34aa85b49c0b3e8e3b8e44b452))
65
-
66
-
67
- ### Bug Fixes
68
-
69
- * lint ([25062c9](https://github.com/beyonddunbar/ladon-ts/commit/25062c9d4c3d24f808c718a3fb7b4c837c6b974f))
70
-
71
- ### [4.5.1](https://github.com/beyonddunbar/ladon-ts/compare/v4.5.0...v4.5.1) (2024-10-24)
72
-
73
-
74
- ### Bug Fixes
75
-
76
- * lint ([b88890e](https://github.com/beyonddunbar/ladon-ts/commit/b88890e9ab8f18f4c7df752c5216f2329deaaf7f))
77
- * mask syncing ([#14](https://github.com/beyonddunbar/ladon-ts/issues/14)) ([d3d9482](https://github.com/beyonddunbar/ladon-ts/commit/d3d9482fa4c0d667fec73d5fbe444751afb48f47))
78
-
79
- ## [4.5.0](https://github.com/beyonddunbar/ladon-ts/compare/v4.4.0...v4.5.0) (2024-10-22)
80
-
81
-
82
- ### Features
83
-
84
- * mask and frame syncing ([#13](https://github.com/beyonddunbar/ladon-ts/issues/13)) ([8a08404](https://github.com/beyonddunbar/ladon-ts/commit/8a08404afaf1479b82cd403ac45a3ecac64e94a1))
85
-
86
-
87
- ### Bug Fixes
88
-
89
- * lint ([6a05d3d](https://github.com/beyonddunbar/ladon-ts/commit/6a05d3d3f36e4d631f5e87530d654645c536bc57))
90
-
91
- ## [4.4.0](https://github.com/beyonddunbar/ladon-ts/compare/v4.3.0...v4.4.0) (2024-09-03)
92
-
93
-
94
- ### Features
95
-
96
- * 0.7.7.1 model updates and mask edge fix ([#12](https://github.com/beyonddunbar/ladon-ts/issues/12)) ([00c5584](https://github.com/beyonddunbar/ladon-ts/commit/00c5584b6f2f86803ddb70027c010d2ef00f79db))
97
-
98
-
99
- ### Bug Fixes
100
-
101
- * lint ([e19d2de](https://github.com/beyonddunbar/ladon-ts/commit/e19d2de5146da979dcba82b659ab2802b9c8ea49))
102
-
103
- ## [4.3.0](https://github.com/beyonddunbar/ladon-ts/compare/v4.2.4...v4.3.0) (2024-03-25)
104
-
105
-
106
- ### Features
107
-
108
- * preload model and dependencies ([#9](https://github.com/beyonddunbar/ladon-ts/issues/9)) ([14fa92c](https://github.com/beyonddunbar/ladon-ts/commit/14fa92cb44d47100ff95da3abd2c763fcc87376d))
109
-
110
- ### [4.2.4](https://github.com/beyonddunbar/ladon-ts/compare/v4.2.3...v4.2.4) (2023-09-08)
111
-
112
- ### [4.2.3](https://github.com/beyonddunbar/ladon-ts/compare/v4.2.2...v4.2.3) (2023-08-10)
113
-
114
-
115
- ### Bug Fixes
116
-
117
- * initialize mask with proper resolution ([#7](https://github.com/beyonddunbar/ladon-ts/issues/7)) ([2a14633](https://github.com/beyonddunbar/ladon-ts/commit/2a1463391b510078fd8f43ad0ca3d43d681f0f34))
118
-
119
- ### [4.2.2](https://github.com/beyonddunbar/ladon-ts/compare/v4.2.1...v4.2.2) (2023-08-10)
120
-
121
-
122
- ### Bug Fixes
123
-
124
- * incorrect config for replacement renderer ([#6](https://github.com/beyonddunbar/ladon-ts/issues/6)) ([e42313d](https://github.com/beyonddunbar/ladon-ts/commit/e42313d73f19c0c256968e4f0f6d5a8a474c410b))
125
-
126
- ### [4.2.1](https://github.com/beyonddunbar/ladon-ts/compare/v4.2.0...v4.2.1) (2023-07-31)
127
-
128
- ## [4.2.0](https://github.com/beyonddunbar/ladon-ts/compare/v4.1.2...v4.2.0) (2023-07-27)
129
-
130
-
131
- ### Features
132
-
133
- * use local worker ([#5](https://github.com/beyonddunbar/ladon-ts/issues/5)) ([50c6f52](https://github.com/beyonddunbar/ladon-ts/commit/50c6f522dbd6ddbe016582a5cf247442a0e26377))
134
-
135
- ### [4.1.2](https://github.com/beyonddunbar/ladon-ts/compare/v4.1.1...v4.1.2) (2023-07-20)
136
-
137
- ### [4.1.1](https://github.com/beyonddunbar/ladon-ts/compare/v4.1.0...v4.1.1) (2023-07-19)
138
-
139
-
140
- ### Bug Fixes
141
-
142
- * lint ([4a42f88](https://github.com/beyonddunbar/ladon-ts/commit/4a42f882e74029569facf31e72ea2a78869ede95))
143
- * version injection script (windows support) ([2316d1a](https://github.com/beyonddunbar/ladon-ts/commit/2316d1aaff3519e769389d31d86b7725b34dda35))
144
-
145
- ## [4.1.0](https://github.com/beyonddunbar/ladon-ts/compare/v4.0.0...v4.1.0) (2023-07-19)
146
-
147
-
148
- ### Features
149
-
150
- * initial implementation of the tiny model ([#4](https://github.com/beyonddunbar/ladon-ts/issues/4)) ([553d793](https://github.com/beyonddunbar/ladon-ts/commit/553d79361f9ba133b92fa7dcc62da61ec2d783a7))
151
-
152
-
153
- ### Bug Fixes
154
-
155
- * lint, generate_relase for windows ([5ad039b](https://github.com/beyonddunbar/ladon-ts/commit/5ad039b060ce7a8e5b8bf169f50e4710156587a9))
156
- * rename main file in package json ([#3](https://github.com/beyonddunbar/ladon-ts/issues/3)) ([d97d15f](https://github.com/beyonddunbar/ladon-ts/commit/d97d15f8a8be99901bcbb764fe1b6ca97bce5123))
157
-
158
- ## [4.0.0](https://github.com/beyonddunbar/ladon-ts/compare/v2.8.0...v4.0.0) (2023-02-11)
159
-
160
-
161
- ### ⚠ BREAKING CHANGES
162
-
163
- * getConfig accepts model_url_resolver (#1)
164
-
165
- ### Features
166
-
167
- * getConfig accepts model_url_resolver ([#1](https://github.com/beyonddunbar/ladon-ts/issues/1)) ([a2699d6](https://github.com/beyonddunbar/ladon-ts/commit/a2699d67bd4d3efd8b1261ec5379d83554b90b6f))
62
+ ## [5.1.0](https://github.com/beyonddunbar/ladon-ts/compare/v5.0.1...v5.1.0) (2025-01-15)
63
+
64
+
65
+ ### Features
66
+
67
+ * passthrough with generator to support step away ([#20](https://github.com/beyonddunbar/ladon-ts/issues/20)) ([f7e6b58](https://github.com/beyonddunbar/ladon-ts/commit/f7e6b5814d75f42daee67c6174fc1eb80a684b54))
68
+
69
+
70
+ ### Bug Fixes
71
+
72
+ * lint ([b904fd7](https://github.com/beyonddunbar/ladon-ts/commit/b904fd74dca183d8cfbd1bebb44d433868d8b606))
73
+ * publish missing worker files in build folder ([#18](https://github.com/beyonddunbar/ladon-ts/issues/18)) ([de1b8d9](https://github.com/beyonddunbar/ladon-ts/commit/de1b8d9122ff1b2f9eaf3883a3c52a96e56225a2))
74
+ * yarn build error ([#16](https://github.com/beyonddunbar/ladon-ts/issues/16)) ([38eb5af](https://github.com/beyonddunbar/ladon-ts/commit/38eb5afa8c37947187af3d0b4fe061971b8a2436))
75
+
76
+ ### [5.0.3](https://github.com/beyonddunbar/ladon-ts/compare/v5.0.1...v5.0.3) (2024-12-17)
77
+
78
+
79
+ ### Bug Fixes
80
+
81
+ * publish missing worker files in build folder ([#18](https://github.com/beyonddunbar/ladon-ts/issues/18)) ([de1b8d9](https://github.com/beyonddunbar/ladon-ts/commit/de1b8d9122ff1b2f9eaf3883a3c52a96e56225a2))
82
+ * yarn build error ([#16](https://github.com/beyonddunbar/ladon-ts/issues/16)) ([38eb5af](https://github.com/beyonddunbar/ladon-ts/commit/38eb5afa8c37947187af3d0b4fe061971b8a2436))
83
+
84
+ ### [5.0.2](https://github.com/beyonddunbar/ladon-ts/compare/v5.0.1...v5.0.2) (2024-12-16)
85
+
86
+
87
+ ### Bug Fixes
88
+
89
+ * yarn build error ([#16](https://github.com/beyonddunbar/ladon-ts/issues/16)) ([38eb5af](https://github.com/beyonddunbar/ladon-ts/commit/38eb5afa8c37947187af3d0b4fe061971b8a2436))
90
+
91
+ ### [5.0.1](https://github.com/beyonddunbar/ladon-ts/compare/v5.0.0...v5.0.1) (2024-12-16)
92
+
93
+
94
+ ### Bug Fixes
95
+
96
+ * vite build arg ([a9593bd](https://github.com/beyonddunbar/ladon-ts/commit/a9593bd8aa235b2946bc7e150faa1d63f5c96abd))
97
+
98
+ ## [5.0.0](https://github.com/beyonddunbar/ladon-ts/compare/v4.5.1...v5.0.0) (2024-12-16)
99
+
100
+
101
+ ### ⚠ BREAKING CHANGES
102
+
103
+ * config builder (#15)
104
+
105
+ ### Features
106
+
107
+ * config builder ([#15](https://github.com/beyonddunbar/ladon-ts/issues/15)) ([eaaa9cf](https://github.com/beyonddunbar/ladon-ts/commit/eaaa9cf9fb2a3a34aa85b49c0b3e8e3b8e44b452))
108
+
109
+
110
+ ### Bug Fixes
111
+
112
+ * lint ([25062c9](https://github.com/beyonddunbar/ladon-ts/commit/25062c9d4c3d24f808c718a3fb7b4c837c6b974f))
113
+
114
+ ### [4.5.1](https://github.com/beyonddunbar/ladon-ts/compare/v4.5.0...v4.5.1) (2024-10-24)
115
+
116
+
117
+ ### Bug Fixes
118
+
119
+ * lint ([b88890e](https://github.com/beyonddunbar/ladon-ts/commit/b88890e9ab8f18f4c7df752c5216f2329deaaf7f))
120
+ * mask syncing ([#14](https://github.com/beyonddunbar/ladon-ts/issues/14)) ([d3d9482](https://github.com/beyonddunbar/ladon-ts/commit/d3d9482fa4c0d667fec73d5fbe444751afb48f47))
121
+
122
+ ## [4.5.0](https://github.com/beyonddunbar/ladon-ts/compare/v4.4.0...v4.5.0) (2024-10-22)
123
+
124
+
125
+ ### Features
126
+
127
+ * mask and frame syncing ([#13](https://github.com/beyonddunbar/ladon-ts/issues/13)) ([8a08404](https://github.com/beyonddunbar/ladon-ts/commit/8a08404afaf1479b82cd403ac45a3ecac64e94a1))
128
+
129
+
130
+ ### Bug Fixes
131
+
132
+ * lint ([6a05d3d](https://github.com/beyonddunbar/ladon-ts/commit/6a05d3d3f36e4d631f5e87530d654645c536bc57))
133
+
134
+ ## [4.4.0](https://github.com/beyonddunbar/ladon-ts/compare/v4.3.0...v4.4.0) (2024-09-03)
135
+
136
+
137
+ ### Features
138
+
139
+ * 0.7.7.1 model updates and mask edge fix ([#12](https://github.com/beyonddunbar/ladon-ts/issues/12)) ([00c5584](https://github.com/beyonddunbar/ladon-ts/commit/00c5584b6f2f86803ddb70027c010d2ef00f79db))
140
+
141
+
142
+ ### Bug Fixes
143
+
144
+ * lint ([e19d2de](https://github.com/beyonddunbar/ladon-ts/commit/e19d2de5146da979dcba82b659ab2802b9c8ea49))
145
+
146
+ ## [4.3.0](https://github.com/beyonddunbar/ladon-ts/compare/v4.2.4...v4.3.0) (2024-03-25)
147
+
148
+
149
+ ### Features
150
+
151
+ * preload model and dependencies ([#9](https://github.com/beyonddunbar/ladon-ts/issues/9)) ([14fa92c](https://github.com/beyonddunbar/ladon-ts/commit/14fa92cb44d47100ff95da3abd2c763fcc87376d))
152
+
153
+ ### [4.2.4](https://github.com/beyonddunbar/ladon-ts/compare/v4.2.3...v4.2.4) (2023-09-08)
154
+
155
+ ### [4.2.3](https://github.com/beyonddunbar/ladon-ts/compare/v4.2.2...v4.2.3) (2023-08-10)
156
+
157
+
158
+ ### Bug Fixes
159
+
160
+ * initialize mask with proper resolution ([#7](https://github.com/beyonddunbar/ladon-ts/issues/7)) ([2a14633](https://github.com/beyonddunbar/ladon-ts/commit/2a1463391b510078fd8f43ad0ca3d43d681f0f34))
161
+
162
+ ### [4.2.2](https://github.com/beyonddunbar/ladon-ts/compare/v4.2.1...v4.2.2) (2023-08-10)
163
+
164
+
165
+ ### Bug Fixes
166
+
167
+ * incorrect config for replacement renderer ([#6](https://github.com/beyonddunbar/ladon-ts/issues/6)) ([e42313d](https://github.com/beyonddunbar/ladon-ts/commit/e42313d73f19c0c256968e4f0f6d5a8a474c410b))
168
+
169
+ ### [4.2.1](https://github.com/beyonddunbar/ladon-ts/compare/v4.2.0...v4.2.1) (2023-07-31)
170
+
171
+ ## [4.2.0](https://github.com/beyonddunbar/ladon-ts/compare/v4.1.2...v4.2.0) (2023-07-27)
172
+
173
+
174
+ ### Features
175
+
176
+ * use local worker ([#5](https://github.com/beyonddunbar/ladon-ts/issues/5)) ([50c6f52](https://github.com/beyonddunbar/ladon-ts/commit/50c6f522dbd6ddbe016582a5cf247442a0e26377))
177
+
178
+ ### [4.1.2](https://github.com/beyonddunbar/ladon-ts/compare/v4.1.1...v4.1.2) (2023-07-20)
179
+
180
+ ### [4.1.1](https://github.com/beyonddunbar/ladon-ts/compare/v4.1.0...v4.1.1) (2023-07-19)
181
+
182
+
183
+ ### Bug Fixes
184
+
185
+ * lint ([4a42f88](https://github.com/beyonddunbar/ladon-ts/commit/4a42f882e74029569facf31e72ea2a78869ede95))
186
+ * version injection script (windows support) ([2316d1a](https://github.com/beyonddunbar/ladon-ts/commit/2316d1aaff3519e769389d31d86b7725b34dda35))
187
+
188
+ ## [4.1.0](https://github.com/beyonddunbar/ladon-ts/compare/v4.0.0...v4.1.0) (2023-07-19)
189
+
190
+
191
+ ### Features
192
+
193
+ * initial implementation of the tiny model ([#4](https://github.com/beyonddunbar/ladon-ts/issues/4)) ([553d793](https://github.com/beyonddunbar/ladon-ts/commit/553d79361f9ba133b92fa7dcc62da61ec2d783a7))
194
+
195
+
196
+ ### Bug Fixes
197
+
198
+ * lint, generate_relase for windows ([5ad039b](https://github.com/beyonddunbar/ladon-ts/commit/5ad039b060ce7a8e5b8bf169f50e4710156587a9))
199
+ * rename main file in package json ([#3](https://github.com/beyonddunbar/ladon-ts/issues/3)) ([d97d15f](https://github.com/beyonddunbar/ladon-ts/commit/d97d15f8a8be99901bcbb764fe1b6ca97bce5123))
200
+
201
+ ## [4.0.0](https://github.com/beyonddunbar/ladon-ts/compare/v2.8.0...v4.0.0) (2023-02-11)
202
+
203
+
204
+ ### ⚠ BREAKING CHANGES
205
+
206
+ * getConfig accepts model_url_resolver (#1)
207
+
208
+ ### Features
209
+
210
+ * getConfig accepts model_url_resolver ([#1](https://github.com/beyonddunbar/ladon-ts/issues/1)) ([a2699d6](https://github.com/beyonddunbar/ladon-ts/commit/a2699d67bd4d3efd8b1261ec5379d83554b90b6f))
package/LICENSE CHANGED
@@ -1,5 +1,5 @@
1
- * Coded instructions, statements, and computer programs are the
2
- * copyrighted works and confidential proprietary information of Cisco, Inc.
3
- * They may not be modified, copied, reproduced, distributed, or disclosed to
4
- * third parties in any manner, medium, or form, in whole or in part, without
5
- * the prior written consent of Cisco, Inc.
1
+ * Coded instructions, statements, and computer programs are the
2
+ * copyrighted works and confidential proprietary information of Cisco, Inc.
3
+ * They may not be modified, copied, reproduced, distributed, or disclosed to
4
+ * third parties in any manner, medium, or form, in whole or in part, without
5
+ * the prior written consent of Cisco, Inc.
package/README.md CHANGED
@@ -1,36 +1,34 @@
1
- # Collaboration Video AI Client Library for Web
2
-
3
- ## Description
4
-
5
- The Video AI Client Library for Web is designed for TypeScript client-application developers. It offers simple, flexible, and powerful APIs for video AI.
6
-
7
- ## Features
8
-
9
- ### ML Annotations
10
-
11
- - Person segmentation
12
-
13
- ### Rendering Effects
14
-
15
- - Horizontal flip
16
- - Variable strength, high quality background blur
17
- - Static image background replacement
18
- - Dynamic video background replacement
19
-
20
- ### Input/Output
21
-
22
- The library supports a HTML canvas input and output interface.
23
-
24
-
25
- # Documentation
26
-
27
- - [Getting Started](docs/START.md)
28
- - [Self-Hosting](docs/HOSTING.md)
29
- - [Content Security Policy](docs/CSP.md)
30
- - [Development](docs/DEVELOPMENT.md)
31
-
32
- ## Links
33
-
34
- - [Live Example](https://models.intelligence.webex.com/ladon/3.0.2/example/index.html)
35
- - [Performance and Visual Tests](https://models.intelligence.webex.com/ladon/3.0.2/test/index.html)
36
- - [Typedocs](https://sqbu-github.cisco.com/pages/WebexIntelligence/ladon-ts/)
1
+ # Collaboration Video AI Client Library for Web
2
+
3
+ ## Description
4
+
5
+ The Video AI Client Library for Web is designed for TypeScript client-application developers. It offers simple, flexible, and powerful APIs for video AI.
6
+
7
+ ## Features
8
+
9
+ ### ML Annotations
10
+
11
+ - Person segmentation
12
+
13
+ ### Rendering Effects
14
+
15
+ - Horizontal flip
16
+ - Variable strength, high quality background blur
17
+ - Static image background replacement
18
+ - Dynamic video background replacement
19
+
20
+ ### Input/Output
21
+
22
+ The library supports a HTML canvas input and output interface.
23
+
24
+
25
+ # Documentation
26
+
27
+ - [Getting Started](docs/START.md)
28
+ - [Self-Hosting](docs/HOSTING.md)
29
+ - [Content Security Policy](docs/CSP.md)
30
+ - [Development](docs/DEVELOPMENT.md)
31
+
32
+ ## Links
33
+
34
+ - [Typedocs](https://sqbu-github.cisco.com/pages/WebexIntelligence/ladon-ts/)
@@ -1,4 +1,4 @@
1
- const e = "1.15.1b", t = "0.7.7.2", i = "segmentation.js", n = { int: "https://models.int.infra.intelligence.webex.com", prod: "https://models.intelligence.webex.com" }, o = { models: "ladon/models", wasm: "ladon/wasm", workers: "ladon/workers" }, l = { weak: { kernelSize: 9, sigma: 2 }, moderate: { kernelSize: 15, sigma: 6 }, strong: { kernelSize: 25, sigma: 11 }, stronger: { kernelSize: 37, sigma: 17 }, strongest: { kernelSize: 49, sigma: 23 } }, h = { tiny: { modelFile: "tiny-640x360.onnx", inputSize: { width: 640, height: 360 }, outputSize: { width: 640, height: 360 }, upscaleSize: { width: 640, height: 360 }, generationIntervalMs: 48, modelRank: 4 }, low: { modelFile: "low-640x360.onnx", inputSize: { width: 640, height: 360 }, outputSize: { width: 640, height: 360 }, upscaleSize: { width: 640, height: 360 }, generationIntervalMs: 48, modelRank: 4 }, medium: { modelFile: "medium-640x360.onnx", inputSize: { width: 640, height: 360 }, outputSize: { width: 640, height: 360 }, upscaleSize: { width: 640, height: 360 }, generationIntervalMs: 36, modelRank: 4 }, high: { modelFile: "medium-640x360.onnx", inputSize: { width: 640, height: 360 }, outputSize: { width: 640, height: 360 }, upscaleSize: { width: 640, height: 360 }, generationIntervalMs: 24, modelRank: 4 }, ultra: { modelFile: "medium-640x360.onnx", inputSize: { width: 640, height: 360 }, outputSize: { width: 640, height: 360 }, upscaleSize: { width: 640, height: 360 }, generationIntervalMs: 0, modelRank: 4 } }, s = "${BASE_PATH_MODELS}/${MODEL_VERSION}/${MODEL_FILE}", a = "${BASE_PATH_WASM}/${ONNX_VERSION}/", d = "${BASE_PATH_WORKERS}/${LIB_VERSION}/${WORKER_FILE}", m = {
1
+ const e = "1.20.1", t = "0.7.7.2", i = "segmentation.js", n = { int: "https://models.int.infra.intelligence.webex.com", prod: "https://models.intelligence.webex.com" }, o = { models: "ladon/models", wasm: "ladon/wasm", workers: "ladon/workers" }, l = { weak: { kernelSize: 9, sigma: 2 }, moderate: { kernelSize: 15, sigma: 6 }, strong: { kernelSize: 25, sigma: 11 }, stronger: { kernelSize: 37, sigma: 17 }, strongest: { kernelSize: 49, sigma: 23 } }, h = { tiny: { modelFile: "tiny-640x360.onnx", inputSize: { width: 640, height: 360 }, outputSize: { width: 640, height: 360 }, upscaleSize: { width: 640, height: 360 }, generationIntervalMs: 48, modelRank: 4 }, low: { modelFile: "low-640x360.onnx", inputSize: { width: 640, height: 360 }, outputSize: { width: 640, height: 360 }, upscaleSize: { width: 640, height: 360 }, generationIntervalMs: 48, modelRank: 4 }, medium: { modelFile: "medium-640x360.onnx", inputSize: { width: 640, height: 360 }, outputSize: { width: 640, height: 360 }, upscaleSize: { width: 640, height: 360 }, generationIntervalMs: 36, modelRank: 4 }, high: { modelFile: "medium-640x360.onnx", inputSize: { width: 640, height: 360 }, outputSize: { width: 640, height: 360 }, upscaleSize: { width: 640, height: 360 }, generationIntervalMs: 24, modelRank: 4 }, ultra: { modelFile: "medium-640x360.onnx", inputSize: { width: 640, height: 360 }, outputSize: { width: 640, height: 360 }, upscaleSize: { width: 640, height: 360 }, generationIntervalMs: 0, modelRank: 4 } }, s = "${BASE_PATH_MODELS}/${MODEL_VERSION}/${MODEL_FILE}", a = "${BASE_PATH_WASM}/${ONNX_VERSION}/", d = "${BASE_PATH_WORKERS}/${LIB_VERSION}/${WORKER_FILE}", m = {
2
2
  onnxVersion: e,
3
3
  modelVersion: t,
4
4
  workerFile: i,
@@ -1,10 +1,10 @@
1
- export * from './lib/config';
2
- export * from './lib/config-builder';
3
- export * from './lib/config-types';
4
- export * from './lib/generator';
5
- export * from './lib/pipeline';
6
- export * from './lib/renderer';
7
- export * from './lib/util';
8
- export * from './lib/version';
9
- export * from './lib/shared-resource-manager';
10
- export * from './lib/preload';
1
+ export * from './lib/config';
2
+ export * from './lib/config-builder';
3
+ export * from './lib/config-types';
4
+ export * from './lib/generator';
5
+ export * from './lib/pipeline';
6
+ export * from './lib/renderer';
7
+ export * from './lib/util';
8
+ export * from './lib/version';
9
+ export * from './lib/shared-resource-manager';
10
+ export * from './lib/preload';
@@ -1,41 +1,42 @@
1
- import { getBlurConfig as o, getConfig as t, getPreloadConfig as p } from "./lib/config.js";
2
- import { ConfigurationBuilder as l } from "./lib/config-builder.js";
3
- import { BlurStrength as m, Quality as f } from "./lib/config-types.js";
4
- import { LocalGenerator as x, NullGenerator as g, WorkerGenerator as d } from "./lib/generator.js";
1
+ import { getBlurConfig as o, getConfig as t, getPreloadConfig as a } from "./lib/config.js";
2
+ import { ConfigurationBuilder as n } from "./lib/config-builder.js";
3
+ import { BlurStrength as m, Quality as i } from "./lib/config-types.js";
4
+ import { LocalGenerator as d, NullGenerator as x, WorkerGenerator as g } from "./lib/generator.js";
5
5
  import { Pipeline as u } from "./lib/pipeline.js";
6
6
  import { BlurRenderer as h } from "./lib/renderer/blur-renderer.js";
7
7
  import { PassthroughRenderer as B } from "./lib/renderer/passthrough-renderer.js";
8
- import { ReplacementRenderer as C } from "./lib/renderer/replacement-renderer.js";
8
+ import { ReplacementRenderer as I } from "./lib/renderer/replacement-renderer.js";
9
9
  import { WebGLRenderer as P } from "./lib/renderer/webgl-renderer.js";
10
- import { InterpolationMethod as b, bilinearUpsample as L, compileShader as S, isResolvedUri as k, lanczos3Upsample as z, linkProgram as M, resizeImage as N, toAbsoluteURI as W } from "./lib/util.js";
10
+ import { InterpolationMethod as b, bilinearUpsample as L, compileShader as S, isResolvedUri as k, lanczos3Upsample as z, linkProgram as A, loadAndCacheFile as M, resizeImage as N, toAbsoluteURI as W } from "./lib/util.js";
11
11
  import { LIB_VERSION as y } from "./lib/version.js";
12
- import { sharedResourceManager as E } from "./lib/shared-resource-manager.js";
12
+ import { sharedResourceManager as F } from "./lib/shared-resource-manager.js";
13
13
  import { preload as Q } from "./lib/preload.js";
14
14
  export {
15
15
  h as BlurRenderer,
16
16
  m as BlurStrength,
17
- l as ConfigurationBuilder,
17
+ n as ConfigurationBuilder,
18
18
  b as InterpolationMethod,
19
19
  y as LIB_VERSION,
20
- x as LocalGenerator,
21
- g as NullGenerator,
20
+ d as LocalGenerator,
21
+ x as NullGenerator,
22
22
  B as PassthroughRenderer,
23
23
  u as Pipeline,
24
- f as Quality,
25
- C as ReplacementRenderer,
24
+ i as Quality,
25
+ I as ReplacementRenderer,
26
26
  P as WebGLRenderer,
27
- d as WorkerGenerator,
27
+ g as WorkerGenerator,
28
28
  L as bilinearUpsample,
29
29
  S as compileShader,
30
30
  o as getBlurConfig,
31
31
  t as getConfig,
32
- p as getPreloadConfig,
32
+ a as getPreloadConfig,
33
33
  k as isResolvedUri,
34
34
  z as lanczos3Upsample,
35
- M as linkProgram,
35
+ A as linkProgram,
36
+ M as loadAndCacheFile,
36
37
  Q as preload,
37
38
  N as resizeImage,
38
- E as sharedResourceManager,
39
+ F as sharedResourceManager,
39
40
  W as toAbsoluteURI
40
41
  };
41
42
  //# sourceMappingURL=index.js.map