com_from_silhouette — DRIVE locomotion op

• 資料種類:mask → keypoints

• 呼叫: import fullseye as fs; fs.ledger.com_from_silhouette(mask)(要直接呼叫實作,import locomotion; locomotion.com_from_silhouette(mask);從台帳取用則 opsdrive.get("com_from_silhouette"))

• 經台帳呼叫的回傳值: fullseye.ledger.com_from_silhouette(...) 只回傳宣告的 out 型別 keypoints 的值(底層函式還會回傳輔助資訊)。需要被捨棄的部分時,請用 fullseye.ledger.com_from_silhouette.raw(...),或直接呼叫 locomotion.com_from_silhouette。

• GPU:無(僅 CPU 參考實作)

用法

二值輪廓的質心(形心),以影像座標 (row, col) 表示。在沒有完整質量模型時作為身體 COM 投影的廉價代理(evis/hillco 姿態)。空遮罩回傳 (nan, nan)。

> 以下的詳細說明為原文 —— 摘要與標題已翻譯。

空の入力(mask が 0 要素)は (nan, nan) を返す(理由: 画素の無いシルエットには重心が無く、0 で埋めると原点に人がいることになる)。

參考(範例資料、文獻)

• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。

• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。

• 演算法的正典(作者、年份)與用途見上面的族使用指南。

可執行的範例(實際呼叫該運算子並已驗證的樣例)

• consumer_hillco — py -3.11 examples/consumer_hillco.py

• walking_ops_tour — py -3.11 examples/walking_ops_tour.py

型別可銜接的下一個運算子(可接受 keypoints 作為輸入)

spin_from_marker_sequence · carla_transform_matrix · carla_pose_to_world · carla_camera_pose · carla_xy_yaw · carla_scene_load · town_chain · osm_parse

同類別(locomotion)

contact_points · support_polygon · com_support_margin · gait_phase · support_line_margin · lipm_capture_point · capture_margin · gait_step_events


*Provenance: locomotion.py — DRIVE 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.