mirror of
https://github.com/clearml/clearml-docs
synced 2025-02-07 05:20:07 +00:00
Add global annotation information (#961)
This commit is contained in:
parent
d190fd68de
commit
81dd7f99e9
@ -55,3 +55,15 @@ Use [`SingleFrame.add_annotation()`](../references/hyperdataset/singleframe.md#a
|
||||
# labels for the whole frame
|
||||
frame.add_annotation(labels=['frame level label one','frame level label two'])
|
||||
```
|
||||
|
||||
### Adding a Global Annotation
|
||||
|
||||
Add a global annotation that will apply to all frames in a FrameGroup.
|
||||
|
||||
Use [`FrameGroup.add_global_annotation()`](../references/hyperdataset/framegroup.md#add_global_annotation) and specify
|
||||
the [Annotation](../references/hyperdataset/annotation.md) object to add to each frame:
|
||||
|
||||
```python
|
||||
annotation = ImageAnnotation(labels=["cityscape"], confidence=1.0000,)
|
||||
frame_group.add_global_annotation(annotation=annotation)
|
||||
```
|
||||
|
@ -95,6 +95,14 @@ a dropdown list in the **Current Source** section.
|
||||
|
||||
![Frame dropdown menu in FrameGroup](../../img/hyperdatasets/framegroup_01.png)
|
||||
|
||||
If an annotation applies to all frames in a FrameGroup, it is displayed with a `Multi Source` indicator:
|
||||
|
||||
<div class="max-w-50">
|
||||
|
||||
![Multi-source ROI](../../img/hyperdatasets/multi_source_annotation.png)
|
||||
|
||||
</div>
|
||||
|
||||
## Masks
|
||||
|
||||
Use the **MASKS** panel to select which masks to apply over the frame.
|
||||
|
BIN
docs/img/hyperdatasets/multi_source_annotation.png
Normal file
BIN
docs/img/hyperdatasets/multi_source_annotation.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
Loading…
Reference in New Issue
Block a user