mirror of
https://github.com/clearml/clearml-docs
synced 2025-06-26 18:17:44 +00:00
Add hyperdataset links and reformat code snippets (#116)
This commit is contained in:
@@ -243,8 +243,8 @@ This example shows two masks for video from a camera. The masks label cars and t
|
||||
|
||||
### Adding Mask Annotations
|
||||
|
||||
To add a mask annotation to a frame, use the `add_annotation` method of the [SingleFrame](single_frames.md) class. This
|
||||
method is generally used to add ROI annotations, but it can also be used to add frame specific mask labels. Input the
|
||||
To add a mask annotation to a frame, use the [`SingleFrame.add_annotation`](../references/hyperdataset/singleframe.md#add_annotation).
|
||||
This method is generally used to add ROI annotations, but it can also be used to add frame specific mask labels. Input the
|
||||
mask value as a list with the RGB values in the `mask_rgb` parameter, and a list of labels in the `labels` parameter.
|
||||
|
||||
```python
|
||||
|
||||
Reference in New Issue
Block a user