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-DataCreator in your research, please cite our work:

@software{soriano_garcia_viva_datacreator_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.4.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.4-py3-none-any.whl (96.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: viva_datacreator-0.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 1803942bba55c4a7dc524891bc3f5e0c4af07bcea7730f94c3c06fbbddaadeb8
MD5 d441295b1710dca452ad2cb5758daf38
BLAKE2b-256 0afb60946804457380eb85945b910efd0423c2cbf8f90e12825f9a1987bc62d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for viva_datacreator-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a42930e18897d5b92f76341fe2f7bb062a6277a999f81fc2d6f0f238deb2d286
MD5 4631c23164568c578af3486405366de7
BLAKE2b-256 e16a015dd94d018d0f74b78efa1404640e830b7f9f806a30584bbe39a05185eb

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