balltrack op• 資料種類:image2d → table
• 呼叫: import fullseye as fs; fs.ledger.ball_detect(image, *, mode: 'str' = 'bright', thresh=None, color=None, color_tol: 'float' = 0.25, radius_range=(1.5, 80.0), max_candidates: 'int' = 8) -> 'list'(要直接呼叫實作,import balltrack; balltrack.ball_detect(image, *, mode: 'str' = 'bright', thresh=None, color=None, color_tol: 'float' = 0.25, radius_range=(1.5, 80.0), max_candidates: 'int' = 8) -> 'list';從台帳取用則 opsdrive.get("ball_detect"))
從影像中擷取球的候選:閾值 → 連通元件 → 亮度加權的次像素重心、等效半徑、填充率。
> 以下的詳細說明為原文 —— 摘要與標題已翻譯。
mode = "bright"(明るい塊、thresh 既定 = 平均 + 2σ)/ "dark"(暗い塊)/ "color"(color (3,) との RGB 距離 < color_tol)/ "chroma"(明るさで正規化した色の距離 < color_tol: 陰影に強い)。返り値 = [{"col", "row", "radius", "area", "fill", "score"}, …](score 降順、fill = 面積 / 外接円の面積で球らしさ)。半径が radius_range の外の塊は捨てる。
• 範例資料目錄(下載 URL / 授權) —— 2-D 用 skimage.data(BSD/公有領域)加合成圖,3-D 給出真實資料源(Stanford/PDS 等)的下載 URL。
• 運算子來歷與參考文獻 —— 該運算子族所依據的研究/方法出處。
• 演算法的正典(作者、年份)與用途見上面的族使用指南。
• poc_ball_bounce — py -3.11 examples/poc_ball_bounce.py
• poc_driving_longitudinal — py -3.11 examples/poc_driving_longitudinal.py
• poc_driving_school — py -3.11 examples/poc_driving_school.py
• poc_driving_weather — py -3.11 examples/poc_driving_weather.py
• poc_kendama — py -3.11 examples/poc_kendama.py
• poc_table_tennis_bounce — py -3.11 examples/poc_table_tennis_bounce.py
• poc_table_tennis_spin — py -3.11 examples/poc_table_tennis_spin.py
table 作為輸入)course_layout · course_occupancy · course_contains · world_build · world_camera · world_move · lidar_scan · rss_longitudinal_same
balltrack)ball_track · kalman_ca · triangulate_dlt · track_triangulate · bounce_detect · marker_direction · spin_from_markers · spin_from_marker_sequence
*Provenance: balltrack.py — DRIVE 運算子登記表。本條目由 tools/opdocs.py md 自動產生(請勿手動編輯)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.