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

tomsanbear
/
pp-ocrv5-mobile-det

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

Instructions to use tomsanbear/pp-ocrv5-mobile-det with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PaddleOCR

    How to use tomsanbear/pp-ocrv5-mobile-det 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-ocrv5-mobile-det")
    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
pp-ocrv5-mobile-det
14.7 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
tomsanbear's picture
tomsanbear
Add validated PP-OCRv5 detection bundle
47e212d verified 8 days ago
  • .gitattributes
    1.52 kB
    initial commit 8 days ago
  • README.md
    2.04 kB
    Add validated PP-OCRv5 detection bundle 8 days ago
  • bundle.json
    4.33 kB
    Add validated PP-OCRv5 detection bundle 8 days ago
  • config.json
    423 Bytes
    Add validated PP-OCRv5 detection bundle 8 days ago
  • inference.yml
    903 Bytes
    Add validated PP-OCRv5 detection bundle 8 days ago
  • model.safetensors
    14.3 MB
    xet
    Add validated PP-OCRv5 detection bundle 8 days ago
  • ocr_pipeline.py
    5.48 kB
    Add validated PP-OCRv5 detection bundle 8 days ago
  • preprocessor_config.json
    719 Bytes
    Add validated PP-OCRv5 detection bundle 8 days ago
  • tensor_map.json
    327 kB
    Add validated PP-OCRv5 detection bundle 8 days ago
  • validation.json
    4.26 kB
    Add validated PP-OCRv5 detection bundle 8 days ago