Add dataset schema display

This commit is contained in:
revital 2025-05-18 10:29:03 +03:00
parent 7781ae517f
commit 739ac4e7cf
5 changed files with 18 additions and 1 deletions

View File

@ -84,6 +84,8 @@ of a dataset card to open its context menu and access dataset actions:
</div>
* **Copy Dataset ID**
* **View Dataset Schema** - View the dataset's frame document schema. This shows the frames fields and their types.
* **Rename** - Change the dataset's name
* **Add Tag** - Add label to the dataset to help easily classify groups of datasets.
* **Edit Metadata** - Modify dataset-level metadata. This will open the metadata edit window, where you can edit the section

View File

@ -22,6 +22,18 @@ and frame metadata, as well as view frame masks of your dataset version frames.
![Frame viewer](../../img/hyperdatasets/dataset_example_frame_editor.png#light-mode-only)
![Frame viewer](../../img/hyperdatasets/dataset_example_frame_editor_dark.png#dark-mode-only)
### Viewing FrameGroup Data
FrameGroup information is organized across several panels in the Frame Viewer:
* **FrameGroup Details** Displays all FrameGroup details except metadata. The details include: general fields (e.g.
`context_id`, dataset ID and version, timestamp, etc.) as well as annotation (e.g. `rois`, their `labels`, `confidence`, etc.)
* Click <img src="/docs/latest/icons/ico-metadata.svg" alt="edit metadata" className="icon size-md space-sm" /> to view the details in a larger window.
* Click <img src="/docs/latest/icons/ico-code-file.svg" alt="view schema" className="icon size-md space-sm" /> to view the dataset's frame document schema. This covers all possible fields in the dataset
* **FrameGroup Metadata** Displays FrameGroup-level metadata. Displays only the contents of the `frame.meta` field—typically used for structured metadata or custom key-value data.
* Click <img src="/docs/latest/icons/ico-metadata.svg" alt="edit metadata" className="icon size-md space-sm" /> to modify the metadata field.
* **Annotations** - Review and modify frame annotations. For more information, see [Masks](#masks) and [Annotations](#annotations).
### Frame Viewer Controls
Use frame viewer controls to navigate between frames in a Hyper-Dataset Version, and control frame changes and viewing.
@ -113,7 +125,7 @@ If an annotation applies to all frames in a FrameGroup, it is displayed with a `
</div>
## Masks
## Masks
Use the **MASKS** panel to select which masks to apply over the frame.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 66 KiB

View File

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path d="M21,8h-6V2l6,6Zm-7,1h7v11c0,1.10455-.89539,2-2,2H5c-1.10455,0-2-.89545-2-2V4c0-1.10461,.89545-2,2-2H14v7Zm1.35889,9.86047l3.64111-3.63538-3.64111-3.64105v1.90112l1.73993,1.73993-1.73993,1.73511v1.90027Zm-6.71783-7.27643l-3.64105,3.64105,3.64105,3.63538v-1.90033l-1.73987-1.73505,1.73987-1.73993v-1.90112Zm5.04529-.91028l-1.31671-.26874-2.09302,9.61047,1.31671,.26874,2.09302-9.61047Z" fill="#8492c2"/>
</svg>

After

Width:  |  Height:  |  Size: 482 B