Skip to main content

Framework to create labeling data from VLM and other larger models for computer vision tasks

Project description

Vision Loom

Leverage Vision Language Models to label images and create training data for other computer vision tasks.

Vision Loom is an automated labeling framework designed to bridge the gap between high-reasoning Foundation Models and real-time edge deployment. Leverage the "zero-shot" capabilities of Vision-Language Models (VLMs) to generate high-fidelity training data without the manual overhead.

| Model | Task | | :--- | :--: | --: | Grounding Dino Tiny | Object Detection SAM-2 | Object Segmentation

Save detection results

  • Install the library. Install the latest version for the updated features and comments.
pip install vision-loom
from vision_loom.models.grounding_dino import GroundingDINO 
from vision_loom.utils.io import load_images 
  • Enter a single image or path to a folder containing images
images = "vision_loom/test_notebooks/test_images"
dataloader = load_images(images)
  • Once the data loader is created, type in the items you want to detect and create the bounding boxes for. If your set of images has multiple objects over multiple images, I recommend giving the prompt for all the objects together to save compute.
prompt = [["car", "person", "book", "bike"]]
  • Run the pipeline.
for img_path, image in tqdm(dataloader):
    results = model.detect(image, prompt, img_path, save_results=True)

Roadmap

  • Add Image Classification Support
  • Options for export to classical SOTA formats like YOLO, COCO etc.

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

vision_loom-0.2.tar.gz (19.2 kB view details)

Uploaded Source

Built Distribution

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

vision_loom-0.2-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file vision_loom-0.2.tar.gz.

File metadata

  • Download URL: vision_loom-0.2.tar.gz
  • Upload date:
  • Size: 19.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for vision_loom-0.2.tar.gz
Algorithm Hash digest
SHA256 9e019ee22e29a0f40695a8131a881a430294df5d244b6f15b83cdd789f60d603
MD5 5f217236ab56e19b0f1aa0eec02d1e3e
BLAKE2b-256 e239c48b5f0a37fa45bba986aae80308d83f01d5a2dcd13eb49e70f63fc17031

See more details on using hashes here.

File details

Details for the file vision_loom-0.2-py3-none-any.whl.

File metadata

  • Download URL: vision_loom-0.2-py3-none-any.whl
  • Upload date:
  • Size: 18.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.19

File hashes

Hashes for vision_loom-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 878e13419678a7058e70a78b5ebb1cc8a56b9ba91168fdbd2a93faf1663fc706
MD5 e57b521e745924555053a1b5aee9b9dc
BLAKE2b-256 f8cf938455206a1430375aa9316fe02a1b707e0ef1e83af4e4247c2407180ea6

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