fal-endpoint-types 1.3.50 → 1.3.51
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/package.json +1 -1
- package/types/fal/endpoints/components.d.ts +57 -2
- package/types/fal/endpoints/schema.d.ts +2308 -2290
package/package.json
CHANGED
|
@@ -2453,21 +2453,46 @@ export interface SAM3DBodyPersonMetadata {
|
|
|
2453
2453
|
* @description Bounding box [x_min, y_min, x_max, y_max]
|
|
2454
2454
|
*/
|
|
2455
2455
|
bbox: number[];
|
|
2456
|
+
/**
|
|
2457
|
+
* Body Pose Params
|
|
2458
|
+
* @description Per-joint body pose parameters (axis-angle form) from the MHR model.
|
|
2459
|
+
*/
|
|
2460
|
+
body_pose_params?: number[][];
|
|
2461
|
+
/**
|
|
2462
|
+
* Expr Params
|
|
2463
|
+
* @description MHR facial-expression parameters.
|
|
2464
|
+
*/
|
|
2465
|
+
expr_params?: number[];
|
|
2456
2466
|
/**
|
|
2457
2467
|
* Focal Length
|
|
2458
2468
|
* @description Estimated focal length
|
|
2459
2469
|
*/
|
|
2460
2470
|
focal_length: number;
|
|
2471
|
+
/**
|
|
2472
|
+
* Global Rot
|
|
2473
|
+
* @description Global root rotation produced by MHR. Shape matches the upstream tensor (axis-angle [3] or rotation matrix [3, 3]).
|
|
2474
|
+
*/
|
|
2475
|
+
global_rot?: { [x: string]: any }[];
|
|
2476
|
+
/**
|
|
2477
|
+
* Hand Pose Params
|
|
2478
|
+
* @description Per-joint hand pose parameters (axis-angle form) from the MHR model.
|
|
2479
|
+
*/
|
|
2480
|
+
hand_pose_params?: number[][];
|
|
2461
2481
|
/**
|
|
2462
2482
|
* Keypoints 2D
|
|
2463
|
-
* @description 2D keypoints [[x, y], ...] - 70 body keypoints
|
|
2483
|
+
* @description 2D keypoints [[x, y], ...] - 70 MHR body keypoints in image coordinates. See `SAM3DBodyMetadata.keypoint_names` for the ordered name of each index.
|
|
2464
2484
|
*/
|
|
2465
2485
|
keypoints_2d: number[][];
|
|
2466
2486
|
/**
|
|
2467
2487
|
* Keypoints 3D
|
|
2468
|
-
* @description 3D keypoints [[x, y, z], ...] - 70 body keypoints in camera space
|
|
2488
|
+
* @description 3D keypoints [[x, y, z], ...] - 70 MHR body keypoints in camera space. Ordering matches `keypoints_2d` / `SAM3DBodyMetadata.keypoint_names`.
|
|
2469
2489
|
*/
|
|
2470
2490
|
keypoints_3d?: number[][];
|
|
2491
|
+
/**
|
|
2492
|
+
* Mhr Model Params
|
|
2493
|
+
* @description Packed MHR parameter vector (concatenated shape/pose/expression/scale). Shape is forwarded as-is from the upstream model.
|
|
2494
|
+
*/
|
|
2495
|
+
mhr_model_params?: { [x: string]: any }[];
|
|
2471
2496
|
/**
|
|
2472
2497
|
* Person Id
|
|
2473
2498
|
* @description Index of the person in the scene
|
|
@@ -2478,9 +2503,39 @@ export interface SAM3DBodyPersonMetadata {
|
|
|
2478
2503
|
* @description Predicted camera translation [tx, ty, tz]
|
|
2479
2504
|
*/
|
|
2480
2505
|
pred_cam_t: number[];
|
|
2506
|
+
/**
|
|
2507
|
+
* Pred Global Rots
|
|
2508
|
+
* @description Per-joint global rotations (world-space), typically [N_joints, 3, 3] rotation matrices. Needed for inverse linear-blend skinning / un-posing clients.
|
|
2509
|
+
*/
|
|
2510
|
+
pred_global_rots?: { [x: string]: any }[];
|
|
2511
|
+
/**
|
|
2512
|
+
* Pred Joint Coords
|
|
2513
|
+
* @description Skeleton joint positions in world space [[x, y, z], ...]. One row per MHR joint.
|
|
2514
|
+
*/
|
|
2515
|
+
pred_joint_coords?: number[][];
|
|
2516
|
+
/**
|
|
2517
|
+
* Pred Pose Raw
|
|
2518
|
+
* @description Raw pose transforms produced by the MHR decoder (pre-FK), forwarded as-is from the upstream model.
|
|
2519
|
+
*/
|
|
2520
|
+
pred_pose_raw?: { [x: string]: any }[];
|
|
2521
|
+
/**
|
|
2522
|
+
* Scale Params
|
|
2523
|
+
* @description MHR scale parameters (isotropic or per-axis).
|
|
2524
|
+
*/
|
|
2525
|
+
scale_params?: number[];
|
|
2526
|
+
/**
|
|
2527
|
+
* Shape Params
|
|
2528
|
+
* @description MHR identity (β) shape parameters. Enables local canonical-pose mesh reconstruction when combined with the MHR model.
|
|
2529
|
+
*/
|
|
2530
|
+
shape_params?: number[];
|
|
2481
2531
|
}
|
|
2482
2532
|
|
|
2483
2533
|
export interface SAM3DBodyMetadata {
|
|
2534
|
+
/**
|
|
2535
|
+
* Keypoint Names
|
|
2536
|
+
* @description Ordered names of the 70 MHR keypoints returned by this endpoint. Index `i` in this list corresponds to index `i` in every person's `keypoints_2d` and `keypoints_3d` arrays. Sourced from facebookresearch/sam-3d-body `mhr70.py`.
|
|
2537
|
+
*/
|
|
2538
|
+
keypoint_names?: string[];
|
|
2484
2539
|
/**
|
|
2485
2540
|
* Num People
|
|
2486
2541
|
* @description Number of people detected
|