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

PaddlePaddle
/
PP-OCRv6_medium_det_safetensors

Image-to-Text
PaddleOCR
Safetensors
English
Chinese
pp_ocrv6_medium_det
OCR
PaddlePaddle
textline_detection
Model card Files Files and versions
xet
Community
2

Instructions to use PaddlePaddle/PP-OCRv6_medium_det_safetensors with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PaddleOCR

    How to use PaddlePaddle/PP-OCRv6_medium_det_safetensors with PaddleOCR:

    # 1. See https://www.paddlepaddle.org.cn/en/install to install paddlepaddle
    # 2. pip install paddleocr
    
    from paddleocr import TextDetection
    model = TextDetection(model_name="PP-OCRv6_medium_det_safetensors")
    output = model.predict(input="path/to/image.png", batch_size=1)
    for res in output:
        res.print()
        res.save_to_img(save_path="./output/")
        res.save_to_json(save_path="./output/res.json")
  • Notebooks
  • Google Colab
  • Kaggle
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

Memory Leakage

#2 opened about 1 month ago by
imagerc

Better polygon accuracy on handwritten/angled text with engine='transformers' — can postprocessing be decoupled from the transformers library?

👍 1
1
#1 opened 3 months ago by
hashefa
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs