@kubohiroya/turbowarp-realtime-motion-capture 0.2.0 → 0.2.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/README.md +1 -1
- package/dist/turbowarp-realtime-motion-capture.js +6 -6
- package/docs/index.html +1 -1
- package/docs/turbowarp-extension-api.ja.md +1 -1
- package/docs/turbowarp-extension-api.md +1 -1
- package/package.json +1 -1
- package/schemas/camera-calibration-v1.json +1 -1
- package/schemas/performance-dsl-v1.json +1 -1
- package/schemas/pose-frame-2d-v1.json +1 -1
- package/schemas/pose-frame-2d-v2.json +1 -1
- package/schemas/pose-frame-3d-v1.json +1 -1
- package/schemas/session-policy-v1.json +1 -1
- package/src/protocol/schemas.ts +6 -6
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ extension. The usual order is Camera Source, WebRTC, A-Frame, then Realtime Moti
|
|
|
35
35
|
not used may be omitted. A version-pinned package URL is:
|
|
36
36
|
|
|
37
37
|
```text
|
|
38
|
-
https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-realtime-motion-capture@0.2.
|
|
38
|
+
https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-realtime-motion-capture@0.2.1/dist/turbowarp-realtime-motion-capture.js
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
The npm package distributes a standalone browser bundle, schemas, and documentation. It does not
|
|
@@ -69801,7 +69801,7 @@
|
|
|
69801
69801
|
minimum: 1024,
|
|
69802
69802
|
maximum: 16777216
|
|
69803
69803
|
})
|
|
69804
|
-
}, { $id: "https://kubohiroya.github.io/
|
|
69804
|
+
}, { $id: "https://kubohiroya.github.io/turbowarp-realtime-motion-capture/schema/session-policy-v1.json" });
|
|
69805
69805
|
var CameraCalibrationSchema = object({
|
|
69806
69806
|
schema: Type.Literal("twrmc/camera-calibration"),
|
|
69807
69807
|
version: Type.Literal(1),
|
|
@@ -69823,7 +69823,7 @@
|
|
|
69823
69823
|
worldFromCameraMatrix: Type.Tuple(Array.from({ length: 16 }, () => boundedNumber)),
|
|
69824
69824
|
worldUnit: Type.Literal("meter"),
|
|
69825
69825
|
calibratedAt: utcDateTime
|
|
69826
|
-
}, { $id: "https://kubohiroya.github.io/
|
|
69826
|
+
}, { $id: "https://kubohiroya.github.io/turbowarp-realtime-motion-capture/schema/camera-calibration-v1.json" });
|
|
69827
69827
|
var PoseFrame2DSchema = object({
|
|
69828
69828
|
schema: Type.Literal("twrmc/pose-frame-2d"),
|
|
69829
69829
|
version: Type.Literal(1),
|
|
@@ -69845,7 +69845,7 @@
|
|
|
69845
69845
|
score,
|
|
69846
69846
|
keypoints: keypoints2d
|
|
69847
69847
|
}), { maxItems: 6 })
|
|
69848
|
-
}, { $id: "https://kubohiroya.github.io/
|
|
69848
|
+
}, { $id: "https://kubohiroya.github.io/turbowarp-realtime-motion-capture/schema/pose-frame-2d-v1.json" });
|
|
69849
69849
|
var coco17KeypointId = Type.Union(coco17KeypointIds.map((id) => Type.Literal(id)));
|
|
69850
69850
|
/**
|
|
69851
69851
|
* Glow stick observed on the same video frame as the keypoints: a performer
|
|
@@ -69879,7 +69879,7 @@
|
|
|
69879
69879
|
keypoints: keypoints2d,
|
|
69880
69880
|
markers: glowStickMarkers
|
|
69881
69881
|
}), { maxItems: 6 })
|
|
69882
|
-
}, { $id: "https://kubohiroya.github.io/
|
|
69882
|
+
}, { $id: "https://kubohiroya.github.io/turbowarp-realtime-motion-capture/schema/pose-frame-2d-v2.json" });
|
|
69883
69883
|
var PoseFrame3DSchema = object({
|
|
69884
69884
|
schema: Type.Literal("twrmc/pose-frame-3d"),
|
|
69885
69885
|
version: Type.Literal(1),
|
|
@@ -69899,7 +69899,7 @@
|
|
|
69899
69899
|
}),
|
|
69900
69900
|
keypoints: keypoints3d
|
|
69901
69901
|
}), { maxItems: 6 })
|
|
69902
|
-
}, { $id: "https://kubohiroya.github.io/
|
|
69902
|
+
}, { $id: "https://kubohiroya.github.io/turbowarp-realtime-motion-capture/schema/pose-frame-3d-v1.json" });
|
|
69903
69903
|
var PerformanceDslSchema = object({
|
|
69904
69904
|
schema: Type.Literal("twrmc/performance-dsl"),
|
|
69905
69905
|
version: Type.Literal(1),
|
|
@@ -69917,7 +69917,7 @@
|
|
|
69917
69917
|
minItems: 1,
|
|
69918
69918
|
maxItems: 6
|
|
69919
69919
|
})
|
|
69920
|
-
}, { $id: "https://kubohiroya.github.io/
|
|
69920
|
+
}, { $id: "https://kubohiroya.github.io/turbowarp-realtime-motion-capture/schema/performance-dsl-v1.json" });
|
|
69921
69921
|
/**
|
|
69922
69922
|
* Every application contract this package owns, dispatched by schema identifier
|
|
69923
69923
|
* and then by explicit version. Applications consume these definitions; they are
|
package/docs/index.html
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
<h2>Install and configure</h2>
|
|
27
27
|
<p>Load the provider extensions you use first, then load the version-pinned bundle as an unsandboxed custom extension:</p>
|
|
28
|
-
<pre>https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-realtime-motion-capture@0.2.
|
|
28
|
+
<pre>https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-realtime-motion-capture@0.2.1/dist/turbowarp-realtime-motion-capture.js</pre>
|
|
29
29
|
<p>All feature groups are OFF by default. Set the complete startup configuration before loading the bundle:</p>
|
|
30
30
|
<pre><code>globalThis.__TWMP_FEATURE_FLAGS__ = {
|
|
31
31
|
qrCourierPairing: true,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[利用ガイド](../README.ja.md) | [English](turbowarp-extension-api.md) | [アーキテクチャ](architecture.ja.md)
|
|
4
4
|
|
|
5
|
-
これは`@kubohiroya/turbowarp-realtime-motion-capture` 0.2.
|
|
5
|
+
これは`@kubohiroya/turbowarp-realtime-motion-capture` 0.2.1の公開APIリファレンスです。正式な公開面は、
|
|
6
6
|
サンドボックスなしで動作するTurboWarp機能拡張のID、opcode、引数、reporter、JSON契約、runtime
|
|
7
7
|
capabilityです。`src/`以下のTypeScript classは実装詳細であり、npm packageのexportではありません。
|
|
8
8
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
[User guide](../README.md) | [日本語](turbowarp-extension-api.ja.md) | [Architecture](architecture.md)
|
|
4
4
|
|
|
5
|
-
This is the public API reference for `@kubohiroya/turbowarp-realtime-motion-capture` 0.2.
|
|
5
|
+
This is the public API reference for `@kubohiroya/turbowarp-realtime-motion-capture` 0.2.1.
|
|
6
6
|
The supported integration surface is the unsandboxed TurboWarp extension: its extension ID,
|
|
7
7
|
opcodes, arguments, reporters, JSON contracts, and runtime capabilities. The TypeScript classes
|
|
8
8
|
under `src/` are implementation details and are not package exports.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubohiroya/turbowarp-realtime-motion-capture",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "A TurboWarp camera and fusion pipeline for WebGPU multi-person pose estimation over WebRTC.",
|
|
5
5
|
"author": "Hiroya Kubo <hiroya@cuc.ac.jp>",
|
|
6
6
|
"license": "MPL-2.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"additionalProperties": false,
|
|
3
|
-
"$id": "https://kubohiroya.github.io/
|
|
3
|
+
"$id": "https://kubohiroya.github.io/turbowarp-realtime-motion-capture/schema/camera-calibration-v1.json",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"required": [
|
|
6
6
|
"schema",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"additionalProperties": false,
|
|
3
|
-
"$id": "https://kubohiroya.github.io/
|
|
3
|
+
"$id": "https://kubohiroya.github.io/turbowarp-realtime-motion-capture/schema/performance-dsl-v1.json",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"required": [
|
|
6
6
|
"schema",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"additionalProperties": false,
|
|
3
|
-
"$id": "https://kubohiroya.github.io/
|
|
3
|
+
"$id": "https://kubohiroya.github.io/turbowarp-realtime-motion-capture/schema/pose-frame-2d-v1.json",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"required": [
|
|
6
6
|
"schema",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"additionalProperties": false,
|
|
3
|
-
"$id": "https://kubohiroya.github.io/
|
|
3
|
+
"$id": "https://kubohiroya.github.io/turbowarp-realtime-motion-capture/schema/pose-frame-2d-v2.json",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"required": [
|
|
6
6
|
"schema",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"additionalProperties": false,
|
|
3
|
-
"$id": "https://kubohiroya.github.io/
|
|
3
|
+
"$id": "https://kubohiroya.github.io/turbowarp-realtime-motion-capture/schema/pose-frame-3d-v1.json",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"required": [
|
|
6
6
|
"schema",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"additionalProperties": false,
|
|
3
|
-
"$id": "https://kubohiroya.github.io/
|
|
3
|
+
"$id": "https://kubohiroya.github.io/turbowarp-realtime-motion-capture/schema/session-policy-v1.json",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"required": [
|
|
6
6
|
"schema",
|
package/src/protocol/schemas.ts
CHANGED
|
@@ -95,7 +95,7 @@ export const SessionPolicySchema = object(
|
|
|
95
95
|
}),
|
|
96
96
|
},
|
|
97
97
|
{
|
|
98
|
-
$id: "https://kubohiroya.github.io/
|
|
98
|
+
$id: "https://kubohiroya.github.io/turbowarp-realtime-motion-capture/schema/session-policy-v1.json",
|
|
99
99
|
},
|
|
100
100
|
);
|
|
101
101
|
|
|
@@ -119,7 +119,7 @@ export const CameraCalibrationSchema = object(
|
|
|
119
119
|
calibratedAt: utcDateTime,
|
|
120
120
|
},
|
|
121
121
|
{
|
|
122
|
-
$id: "https://kubohiroya.github.io/
|
|
122
|
+
$id: "https://kubohiroya.github.io/turbowarp-realtime-motion-capture/schema/camera-calibration-v1.json",
|
|
123
123
|
},
|
|
124
124
|
);
|
|
125
125
|
|
|
@@ -140,7 +140,7 @@ export const PoseFrame2DSchema = object(
|
|
|
140
140
|
),
|
|
141
141
|
},
|
|
142
142
|
{
|
|
143
|
-
$id: "https://kubohiroya.github.io/
|
|
143
|
+
$id: "https://kubohiroya.github.io/turbowarp-realtime-motion-capture/schema/pose-frame-2d-v1.json",
|
|
144
144
|
},
|
|
145
145
|
);
|
|
146
146
|
|
|
@@ -184,7 +184,7 @@ export const PoseFrame2DV2Schema = object(
|
|
|
184
184
|
),
|
|
185
185
|
},
|
|
186
186
|
{
|
|
187
|
-
$id: "https://kubohiroya.github.io/
|
|
187
|
+
$id: "https://kubohiroya.github.io/turbowarp-realtime-motion-capture/schema/pose-frame-2d-v2.json",
|
|
188
188
|
},
|
|
189
189
|
);
|
|
190
190
|
|
|
@@ -213,7 +213,7 @@ export const PoseFrame3DSchema = object(
|
|
|
213
213
|
),
|
|
214
214
|
},
|
|
215
215
|
{
|
|
216
|
-
$id: "https://kubohiroya.github.io/
|
|
216
|
+
$id: "https://kubohiroya.github.io/turbowarp-realtime-motion-capture/schema/pose-frame-3d-v1.json",
|
|
217
217
|
},
|
|
218
218
|
);
|
|
219
219
|
|
|
@@ -234,7 +234,7 @@ export const PerformanceDslSchema = object(
|
|
|
234
234
|
),
|
|
235
235
|
},
|
|
236
236
|
{
|
|
237
|
-
$id: "https://kubohiroya.github.io/
|
|
237
|
+
$id: "https://kubohiroya.github.io/turbowarp-realtime-motion-capture/schema/performance-dsl-v1.json",
|
|
238
238
|
},
|
|
239
239
|
);
|
|
240
240
|
|