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.1.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.1-py3-none-any.whl (96.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: viva_datacreator-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 837b4381301269876f3017b7e75f06c2728772e660e88ae41d55806abed090ed
MD5 927af1f5da3e882ff7154b6429f5128a
BLAKE2b-256 35248ef66e37dbf84d9f7e3100804d9454bb5ac6dbd8befc50d8ec24329c0666

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for viva_datacreator-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2b8c6d4e7bdab3a217de3378ab4d89d1d3ce26f6e77ae1cb92d4b0695d348389
MD5 6dd472a29cd891948761fddcb583b14f
BLAKE2b-256 9cb17c7477d1f574c0b00cf9ea30a07d8ee5d3ddcafcd664caac742e2adf5bfc

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