Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions client/platform/desktop/frontend/components/Export.vue
Original file line number Diff line number Diff line change
Expand Up @@ -351,17 +351,17 @@ export default defineComponent({
depressed
block
class="my-1"
@click="doExport({ type: 'trackJSON' })"
@click="doExport({ type: 'coco' })"
>
<span>TRACK JSON</span>
<span>COCO JSON</span>
</v-btn>
<v-btn
depressed
block
class="my-1"
@click="doExport({ type: 'coco' })"
@click="doExport({ type: 'trackJSON' })"
>
<span>COCO JSON</span>
<span>DIVE JSON</span>
</v-btn>
</v-col>
</v-row>
Expand Down
10 changes: 5 additions & 5 deletions client/platform/web-girder/views/Export.vue
Original file line number Diff line number Diff line change
Expand Up @@ -463,12 +463,12 @@ export default defineComponent({
:disabled="!exportUrls.exportDetectionsUrl"
@click="doExport({
url: exportUrls
&& exportUrls.exportDetectionsUrlTrackJSON,
&& exportUrls.exportDetectionsUrlCocoJSON,
})"
>
<span
v-if="exportUrls.exportDetectionsUrl"
>DIVE TrackJSON</span>
>COCO JSON</span>
<span
v-else
>detections unavailable</span>
Expand All @@ -480,12 +480,12 @@ export default defineComponent({
:disabled="!exportUrls.exportDetectionsUrl"
@click="doExport({
url: exportUrls
&& exportUrls.exportDetectionsUrlCocoJSON,
&& exportUrls.exportDetectionsUrlTrackJSON,
})"
>
<span
v-if="exportUrls.exportDetectionsUrl"
>COCO JSON</span>
>DIVE JSON</span>
<span
v-else
>detections unavailable</span>
Expand Down Expand Up @@ -591,7 +591,7 @@ export default defineComponent({
</v-btn>
</v-card-actions>
<v-card-text class="pb-0">
Export All selected Dataset Detections in VIAME CSV and TrackJSON
Export All selected Dataset Detections in VIAME CSV and DIVE JSON
</v-card-text>
<v-checkbox
v-model="excludeBelowThreshold"
Expand Down
2 changes: 1 addition & 1 deletion docs/Multicamera-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ On web, a full dataset export zip (from **Download → Everything**) can be re-i

On web, use the data browser **Download** menu on a multicam parent dataset:

- **VIAME CSV**, **DIVE TrackJSON**, and **COCO JSON** each download a zip with that format for every camera (plus `multiCam.json` at the dataset root).
- **VIAME CSV**, **DIVE JSON**, and **COCO JSON** each download a zip with that format for every camera (plus `multiCam.json` at the dataset root).
- **Everything** downloads all camera media, all camera annotations, calibration (stereo), and metadata in one zip.

Per-camera export from the viewer still exports only the active camera.
Expand Down
2 changes: 1 addition & 1 deletion samples/scripts/assetStoreImport/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ The script generateSampleData.py creates a folder structure containing:

- Videos: MP4 format, H.264 codec, random duration (5–30 seconds), 1280x720 resolution.
- Image Sequences: Extracted frames from temporary videos, stored as sequential JPGs.
- Annotations: Each video or image sequence is accompanied by a DIVE track JSON (`.json`), VIAME CSV (`.csv`), or COCO JSON file describing moving or scaling geometric shapes (rectangle, star, circle, diamond) per frame. The format is chosen at random per dataset.
- Annotations: Each video or image sequence is accompanied by a DIVE JSON (`.json`), VIAME CSV (`.csv`), or COCO JSON file describing moving or scaling geometric shapes (rectangle, star, circle, diamond) per frame. The format is chosen at random per dataset.
- Videos: the annotation file has the same basename as the video, with extension `.json` or `.csv`
- Image Sequences: any `.json` or `.csv` file in the same folder as the frames is imported as annotations
- **VIAME CSV videos**: annotation FPS is a random even subsample of the video FPS (30 → e.g. 1, 5, 10, 15, 30). The CSV `# metadata` `fps` field and frame count match that rate. Filenames include `_annfps{N}` (e.g. `reef_annfps10.mp4` / `reef_annfps10.csv`) so you can verify import respects CSV FPS.
Expand Down
2 changes: 1 addition & 1 deletion samples/scripts/assetStoreImport/generateSampleData.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def generate_annotation_viame_csv(


def generate_annotation_json(tracks: dict, output_file: Path):
"""Write tracks as a DIVE track JSON annotation file."""
"""Write tracks as a DIVE JSON annotation file."""
annotation = {
"tracks": tracks,
"groups": {},
Expand Down
Loading