pointer op• 数据种类:image2d × pairs → image2d
• 调用: import fullseye as fs; fs.ledger.label_points(img, points, labels=None, color='reference', font_size=12, pad=3, marker_size=0, scheme='okabe_ito', allow_overlap=False, **text_kw)(要直接调用实现,import annotate; annotate.label_points(img, points, labels=None, color='reference', font_size=12, pad=3, marker_size=0, scheme='okabe_ito', allow_overlap=False, **text_kw);从台账取用则 opsannotate.get("label_points"))
给点群编号或标注。避开重叠放置(避不开则抛异常)。
points : (N,2)
(x,y) 的点列。
labels : sequence or None
各点的文字。None 时为从 1 开始的编号。
marker_size : int
大于 0 时还会在各点打十字标记。
allow_overlap : bool
True 时允许重叠并放在第一个候选位置(默认为 False = 异常)。
ndarray
ValueError
点为空 / 非有限 / labels 数量不符 / 在任何候选位置都
与已有标签重叠(allow_overlap=False 时)。
• dataset_conventions — 训练数据集规范知识 —— COCO / YOLO / VOC 及外观检测中的陷阱
• 示例数据目录(下载 URL / 许可证) —— 2-D 用 skimage.data(BSD/公有领域)加合成图,3-D 给出真实数据源(Stanford/PDS 等)的下载 URL。
• 算子来历与参考文献 —— 该算子族所依据的研究/方法出处。
• 算法的正典(作者、年份)与用途见上面的族使用指南。
• annotate_gallery — py -3.11 examples/annotate_gallery.py
image2d 作为输入)text_box · arrow · leader_line · crosshair · legend_box · color_bar · scale_bar · axes_frame
pointer)arrow · leader_line · crosshair
*Provenance: annotate.py — ANNOTATE 算子登记表。本条目由 tools/opdocs.py md 自动生成(请勿手工编辑)。*
© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.