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

mikoy92
/
PP-OCRv6-medium-det-mlx

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

Instructions to use mikoy92/PP-OCRv6-medium-det-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use mikoy92/PP-OCRv6-medium-det-mlx with MLX:

    # Download the model from the Hub
    pip install huggingface_hub[hf_xet]
    
    huggingface-cli download --local-dir PP-OCRv6-medium-det-mlx mikoy92/PP-OCRv6-medium-det-mlx
  • PaddleOCR

    How to use mikoy92/PP-OCRv6-medium-det-mlx 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-mlx")
    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
  • Local Apps Settings
  • LM Studio
  • Atomic Chat
PP-OCRv6-medium-det-mlx
88.1 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
mikoy92's picture
mikoy92
Upload folder using huggingface_hub
364560d verified 2 months ago
  • .gitattributes
    1.52 kB
    initial commit 2 months ago
  • README.md
    752 Bytes
    Upload folder using huggingface_hub 2 months ago
  • config.json
    5.73 kB
    Upload folder using huggingface_hub 2 months ago
  • model.safetensors
    88 MB
    xet
    Upload folder using huggingface_hub 2 months ago
  • model.safetensors.index.json
    35.7 kB
    Upload folder using huggingface_hub 2 months ago
  • preprocessor_config.json
    902 Bytes
    Upload folder using huggingface_hub 2 months ago