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

Uploaded Python 3

File details

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

File metadata

  • Download URL: viva_datacreator-0.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 6725899cc9b056eafb7c679fadf9fdce94661b94c0cb9d39f94d1aa5bf215aee
MD5 bd67b6570918e7d94eb9d6e36b4dd9c0
BLAKE2b-256 1d1f1b5176554d78fbd1f85d818b8f66a4669916449da54781a64283c8541a9b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for viva_datacreator-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 490953116ab678e9c4caaa3c7a6445829e2be6483a1a13bde52e9c2d34d511db
MD5 b3e301dfbe15d806888db569c9c2ba58
BLAKE2b-256 83443ef154ed7781ce6ea0ceef60d1dc649bb6012e6a1c736b0beddac2bcd7a6

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