arrow — ANNOTATE pointer op

• Data kinds: image2d → image2d

• Call: import fullseye as fs; fs.ledger.arrow(img, p0, p1, color='emphasis', width=2, head_len=12.0, head_width=9.0, scheme='okabe_ito', style=None) (implementation को सीधे call करना हो तो import annotate; annotate.arrow(img, p0, p1, color='emphasis', width=2, head_len=12.0, head_width=9.0, scheme='okabe_ito', style=None), registry से लेना हो तो opsannotate.get("arrow"))

उपयोग

p0 से p1 तक तीर (shaft imagedraw.draw_line से, सिरा भरा हुआ)।

Parameters

p0, p1 : (x, y)

शुरुआती point और नोक। x=col, y=row।

head_len, head_width : float

arrowhead की लंबाई और चौड़ाई [px]। 0 पर केवल line segment। जिन छोटे arrows में arrowhead shaft से लंबा हो,

उनमें arrowhead को shaft की लंबाई के 8/10 तक समरूप रूप से छोटा करता है (अन्यथा

arrowhead का आधार शुरुआती point से पीछे चला जाता और shaft उल्टी दिशा में बनता)।

style : dict or None

shaft बनाने वाले imagedraw.draw_line को सीधे भेजे जाने वाले arguments (dashed line आदि)।

Returns

ndarray

Raises

ValueError

end points non-finite या एक जैसे, negative मोटाई या arrowhead size, दोनों सिरे 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_agv_fleet — py -3.11 examples/poc_agv_fleet.py

• poc_car_parking — py -3.11 examples/poc_car_parking.py

• poc_diabolo_model_and_vision — py -3.11 examples/poc_diabolo_model_and_vision.py

• poc_leak_localization — py -3.11 examples/poc_leak_localization.py

• poc_machine_condition_fusion — py -3.11 examples/poc_machine_condition_fusion.py

• poc_peg_insertion_tactile — py -3.11 examples/poc_peg_insertion_tactile.py

• poc_river_surface_velocity — py -3.11 examples/poc_river_surface_velocity.py

• poc_ttc_rss — py -3.11 examples/poc_ttc_rss.py

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

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

इसी category के (pointer)

leader_line · 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.