Sequence Metadata#
The tool //tools:ncore_sequence_meta extracts comprehensive metadata from an
NCore sequences and outputs these as JSON file that references the component
stores. The output includes the sequence ID, timestamp range, component store
paths with MD5 checksums, component versions, and generic metadata fields.
This is useful when a data converter did not produce a metadata file, or when additional components have been added to an existing sequence and the metadata file needs to be regenerated to reflect all component stores.
Usage#
Basic invocation:
bazel run //tools:ncore_sequence_meta \
-- \
--output-dir=<OUTPUT_FOLDER> \
v4 \
--component-group=<SEQUENCE_META.json>
With multiple component groups (e.g., after extending a sequence with new components):
bazel run //tools:ncore_sequence_meta \
-- \
--output-dir=<OUTPUT_FOLDER> \
v4 \
--component-group=<COMPONENT_GROUP0> \
--component-group=<COMPONENT_GROUP1>
Options#
Global options:
Option |
Default |
Description |
|---|---|---|
|
(required) |
Directory for the output JSON file |
|
|
Custom output filename |
|
enabled |
Pre-load consolidated zarr metadata for faster access |
|
off |
Enable debug-level logging |
V4 sub-command options:
Option |
Default |
Description |
|---|---|---|
|
(required) |
Component group or sequence meta path (repeatable) |
|
|
Component group name for poses |
|
|
Component group name for intrinsics |
|
|
Component group name for masks ( |
|
|
Component group name for cuboids ( |