Skip to main content

An open-source tool for creating image segmentation datasets from videos using SAM 2

Project description

ViVa-SAFELAND: Dataset Creation Tool

License: MIT Python versions

ViVa-SAFELAND Logo

ViVa-SAFELAND is an open-source tool for creating semantic segmentation datasets by tracking objects of interest from videos. It leverages the SAM 2 (Segment Anything Model 2) and YOLO AI models to perform segmentation and object detection, guiding users through an 8-step process to generate complete datasets ready for model training.

ViVa-SAFELAND GUI
ViVa-SAFELAND: Graphical User Interface for Dataset Creation

This tool focuses on generating semantic segmentation datasets through object tracking, utilizing SAM 2 to enhance segmentation accuracy.

Key Features

  • Video-to-Dataset Conversion: Transform videos into high-quality segmentation datasets with minimal manual effort.
  • SAM 2 Integration: Utilize the latest Segment Anything Model 2 for accurate and interactive segmentation.
  • 8-Step Guided Process: Step-by-step workflow ensuring comprehensive dataset creation from frame extraction to final composition.
  • Interactive Refinement: Manually refine segmentations for precision and quality control.
  • Object Tracking Integration: Utilize YOLO and DeepSort for tracking objects of interest across video frames.
  • Batch Processing: Efficiently handle large videos through configurable batch processing.
  • Customizable Classes: Define and assign custom object classes with unique colors.
  • Safety-Focused: Designed for safe and reliable dataset generation without hardware risks.

Documentation

For detailed usage instructions, examples, and API documentation, please refer to the ViVa-DataCreator Documentation.

Citation

If you use ViVa-SAFELAND in your research, please cite our work:

@software{soriano_garcia_viva_safeland_2025,
  author = {Miguel Soriano-García, Diego Mercado-Ravell, Israel Becerra and Julio De La Torre-Vanegas},
  title = {ViVa-DataCreator: Dataset Creation Tool},
  year = {2025},
  url = {https://github.com/viva-safeland/viva_datacreator}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

viva_datacreator-0.0.3.tar.gz (63.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

viva_datacreator-0.0.3-py3-none-any.whl (96.2 kB view details)

Uploaded Python 3

File details

Details for the file viva_datacreator-0.0.3.tar.gz.

File metadata

  • Download URL: viva_datacreator-0.0.3.tar.gz
  • Upload date:
  • Size: 63.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for viva_datacreator-0.0.3.tar.gz
Algorithm Hash digest
SHA256 40166f7e6cfc4905f828cb12bb3741855f2f2ec67992355f66d1697f7371c382
MD5 e0a2a5f58bdc3502ace92d012a122dbd
BLAKE2b-256 6b34fe74c7ab791bca01c3beb1f46144ddfa1bc23075c1707f6bc160ea115d51

See more details on using hashes here.

File details

Details for the file viva_datacreator-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for viva_datacreator-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 48a0787c3bb42a34699ee1d42d7638b745abf08aed1f0465d869e139908b668e
MD5 9c6be0e4644938152de8d88a9453af62
BLAKE2b-256 7c3d4e1dd5eaf58e2d411e76ea12bf9861878a13fbc3b2e8a5ad777c3dd24357

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page