Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

arkhabbazan
/
ocr-captcha-router

Image-to-Text
Transformers
Safetensors
mobilenet_v2
image-classification
captcha
trocr
Model card Files Files and versions
xet
Community

Instructions to use arkhabbazan/ocr-captcha-router with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use arkhabbazan/ocr-captcha-router with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # 'pip install "transformers<5.0.0'
    from transformers import pipeline
    
    pipe = pipeline("image-to-text", model="arkhabbazan/ocr-captcha-router")
    # Load model directly
    from transformers import AutoImageProcessor, AutoModelForImageClassification
    
    processor = AutoImageProcessor.from_pretrained("arkhabbazan/ocr-captcha-router")
    model = AutoModelForImageClassification.from_pretrained("arkhabbazan/ocr-captcha-router", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
ocr-captcha-router
9.15 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 16 commits
arkhabbazan's picture
arkhabbazan
Publish lazy OCR resolver and updated model card
5a9fbe5 verified 4 days ago
  • .gitattributes
    1.52 kB
    initial commit 8 days ago
  • README.md
    1.34 kB
    Publish lazy OCR resolver and updated model card 4 days ago
  • config.json
    687 Bytes
    Add router, OCR experts, and safer resolver to existing repository 8 days ago
  • model.safetensors
    9.08 MB
    xet
    Add router, OCR experts, and safer resolver to existing repository 8 days ago
  • pipeline_config.json
    644 Bytes
    Publish lazy OCR resolver and updated model card 4 days ago
  • preprocessor_config.json
    435 Bytes
    Add router, OCR experts, and safer resolver to existing repository 8 days ago
  • resolver-flow.png
    55.5 kB
    Publish lazy OCR resolver and updated model card 4 days ago
  • resolver.py
    12.8 kB
    Publish lazy OCR resolver and updated model card 8 days ago