Skip to main content

Auto annotation tool for Text, Images, and Videos.

Project description

SwiftAnnotate 🚀

SwiftAnnotate

SwiftAnnotate is a comprehensive auto-labeling tool designed for Text, Image, and Video data. It leverages state-of-the-art (SOTA) Vision Language Models (VLMs) and Large Language Models (LLMs) through a robust annotator-validator pipeline, ensuring high-quality, grounded annotations while minimizing hallucinations. SwiftAnnotate also supports annotations tasks like Object Detection and Segmentation through SOTA CV models like SAM2, YOLOWorld, and OWL-ViT.

Key Features 🎯

  1. Text Processing 📝
    Perform classification, summarization, and text generation with state-of-the-art NLP models. Solve real-world problems like spam detection, sentiment analysis, and content creation.

  2. Image Analysis 🖼️
    Generate captions for images to provide meaningful descriptions. Classify images into predefined categories with high precision. Detect objects in images using models like YOLOWorld. Achieve pixel-perfect segmentation with SAM2 and OWL-ViT.

  3. Video Processing 🎥
    Generate captions for videos with frame-level analysis and temporal understanding Understand video content by detecting scenes and actions effortlessly.

  4. Quality Assurance ✅
    Use a two-stage pipeline for annotation and validation to ensure high data quality. Validate outputs rigorously to maintain reliability before deployment.

  5. Multi-modal Support 🌐
    Seamlessly process text, images, and videos within a unified framework. Combine data types for powerful multi-modal insights and applications.

  6. Customization 🛠️ Easily extend and adapt the framework to suit specific project needs. Integrate new models and tasks seamlessly with modular architecture.

  7. Developer-Friendly 👩‍💻👨‍💻 Easy-to-use package and detailed documentation to get started quickly.

Installation Guide

Make sure you have conda installed on your system. To install SwiftAnnotate, follow these steps:

  1. Clone the repository:

    git clone https://github.com/yasho191/SwiftAnnotate
    
  2. Create virtual environment:

    conda create -n swiftannotate python=3.10
    conda activate swiftannotate
    
  3. Navigate to the project directory:

    cd SwiftAnnotate
    
  4. Install dependencies:

    pip install -r requirements.txt
    

Annotator-Validator Pipeline for LLMs and VLMs

Annotation Pipeline

The annotator-validator pipeline ensures high-quality annotations through a two-stage process:

Stage 1: Annotation

  • Primary LLM/VLM generates initial annotations
  • Configurable model selection (OpenAI, Google Gemini, Anthropic, Mistral, Qwen-VL)

Stage 2: Validation

  • Secondary model validates initial annotations
  • Cross-checks for hallucinations and factual accuracy
  • Provides confidence scores and correction suggestions
  • Option to regenerate annotations if validation fails
  • Structured output format for consistency

Benefits

  • Reduced hallucinations through 2 stage verification
  • Higher annotation quality and consistency
  • Automated quality control
  • Traceable annotation process

The pipeline can be customized with different model combinations and validation thresholds based on specific use cases.

Supported Modalities and Tasks

Text

Images

Captioning

Currently, we support OpenAI, Google-Gemini, and Qwen2-VL for image captioning.

Videos

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

swiftannotate-0.1.0.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

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

swiftannotate-0.1.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file swiftannotate-0.1.0.tar.gz.

File metadata

  • Download URL: swiftannotate-0.1.0.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.10.8 Darwin/24.0.0

File hashes

Hashes for swiftannotate-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f6ef708883dcfb52ffbbbb61e2504c4066d3deb9c7d4d4280204c4ac8afd48c4
MD5 7f712cb54a2f4f6f14baaa28b38941d4
BLAKE2b-256 50cb7f2ca44975eb126a0d5b19520f6163b75c328f387e9b2c42e1fff79eadda

See more details on using hashes here.

File details

Details for the file swiftannotate-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: swiftannotate-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.10.8 Darwin/24.0.0

File hashes

Hashes for swiftannotate-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8f898b1fc4172ed5d12906d94dd5c51820eecaa4e44349f6ea1a30cdb2e940e4
MD5 4ab5d18e8f2dbb8bc571dc6874afa3a0
BLAKE2b-256 b1c1ec887364fda0694c40ac98a8f61722d038e6c59797bd565f706caf90da79

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