算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
annotators【设计与创意】Operate supervision high-level visual annotators for images and videos.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task asks to visualize supervision detections, masks,
tracks, heatmaps, labels, icons, zone overlays, or side-by-side detection
comparisons with high-level annotator classes.
BoxAnnotator, MaskAnnotator, LabelAnnotator, RichLabelAnnotator,
TraceAnnotator, HeatMapAnnotator, ComparisonAnnotator,
PercentageBarAnnotator, IconAnnotator, CropAnnotator, and other
scene + Detections annotators.PolygonZoneAnnotator, LineZoneAnnotator, and
LineZoneAnnotatorMulticlass when the question is about drawing zone or line
overlays after zone state has been computed.custom_color_lookup, annotator color strategy,
scene.copy() versus in-place mutation, and combining multiple annotators on
an image or video frame.Detections: use
detection-and-zones.Color, ColorPalette, image/video I/O,
Pillow/OpenCV conversion, and backend diagnostics: use
media-utils.KeyPoints, keypoint-specific annotators (VertexAnnotator,
EdgeAnnotator, VertexLabelAnnotator, vertex ellipse annotators), tracker
IDs, and deprecated keypoint/tracker paths: use
tracking-keypoints. Keypoint annotators use
the same .annotate(scene, key_points) shape, so cross-reference this skill
for general composition style only.scene and the right container:
Detections for detection annotators, KeyPoints for keypoint annotators,
or zone objects for zone annotators. If not, route to the owner above.uint8, shape (H, W, 3), BGR
channel order. PIL images are supported by most detection annotators and are
converted internally, but zone annotators take NumPy arrays.scene.copy(). Annotators are
designed to draw on the supplied scene and return the annotated result.supervision version target is 0.31.0.dev0 on Python >=3.10; base install
is pip install supervision.