leader_line — ANNOTATE pointer op

• Data kinds: image2d × text → image2d

• Call: import fullseye as fs; fs.ledger.leader_line(img, anchor_xy, target_xy, text=None, color='emphasis', width=2, cap='dot', cap_size=4, elbow=True, scheme='okabe_ito', style=None, **text_kw) (implementation को सीधे call करना हो तो import annotate; annotate.leader_line(img, anchor_xy, target_xy, text=None, color='emphasis', width=2, cap='dot', cap_size=4, elbow=True, scheme='okabe_ito', style=None, **text_kw), registry से लेना हो तो opsannotate.get("leader_line"))

उपयोग

leader line — note की position (anchor_xy) से लक्ष्य (target_xy) तक।

elbow=True हो तो horizontal → तिरछा, 2 मोड़ों में line बनाता है (annotation मुख्य वस्तु को कम ढकता है)। end point पर cap का निशान ('dot'/'arrow'/'cross'/'none') रखता है। text देने पर anchor_xy की ओर text_box रखता है। अतिरिक्त **text_kw सीधे text_box को दिए जाते हैं।

Raises

ValueError

अज्ञात cap, non-finite coordinates, line image के बाहर।

उपयोग की विस्तृत guide

• figure_annotation family guide

पृष्ठभूमि guides (इस op के पीछे की physics और conventions)

• dataset_conventions — Training dataset के conventions — COCO / YOLO / VOC और visual inspection में सावधानियाँ

संदर्भ (sample data, साहित्य)

• Sample data catalog (DL URL / license) — 2-D के लिए skimage.data (BSD/public) + synthetic, 3-D के लिए real data sources (Stanford/PDS आदि) के DL URL।

• Operators का स्रोत और संदर्भ — इस op family के मूल research/methods के स्रोत।

• Algorithm का मानक स्रोत (लेखक, वर्ष) और उपयोग ऊपर की family usage guide में दिए गए हैं।

चलाए जा सकने वाले उदाहरण (verified samples जो सच में यह op call करते हैं)

• annotate_gallery — py -3.11 examples/annotate_gallery.py

• poc_kendama — py -3.11 examples/poc_kendama.py

वे अगले ops जिनसे type जुड़ता है (image2d को input के रूप में लेते हैं)

text_box · arrow · label_points · crosshair · legend_box · color_bar · scale_bar · axes_frame

इसी category के (pointer)

arrow · label_points · crosshair


*Provenance: annotate.py — ANNOTATE operator registry. यह per-op note tools/opdocs.py md से अपने-आप generate होता है (हाथ से edit न करें)।*

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