Image-to-Text
MLX
Safetensors
mlx-weights
paddlepaddle-ocr
ppocrv5
ppocrv6
ppdoclayoutv3
pp-structure
apple-silicon
Instructions to use plaincompute/ppocr-mlx with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use plaincompute/ppocr-mlx with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download plaincompute/ppocr-mlx --local-dir ppocr-mlx
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download formula/processor_config.json from plaincompute/ppocr-mlx: direct link, hf CLI and curl.
- Browser
- Download file 584 Bytes
-
https://huggingface.co/plaincompute/ppocr-mlx/resolve/main/formula/processor_config.json
- Command line
-
hf download hf://plaincompute/ppocr-mlx/formula/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/plaincompute/ppocr-mlx/resolve/main/formula/processor_config.json
584 Bytes
| { | |
| "image_processor": { | |
| "do_align_long_axis": false, | |
| "do_crop_margin": true, | |
| "do_normalize": true, | |
| "do_pad": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "do_thumbnail": true, | |
| "size": { | |
| "height": 768, | |
| "width": 768 | |
| }, | |
| "image_mean": [0.7931, 0.7931, 0.7931], | |
| "image_std": [0.1738, 0.1738, 0.1738], | |
| "image_processor_type": "PPFormulaNetImageProcessor", | |
| "resample": 2, | |
| "return_tensors": "pt" | |
| }, | |
| "processor_class": "PPFormulaNetProcessor" | |
| } |