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] huggingface-cli download --local-dir ppocr-mlx plaincompute/ppocr-mlx
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
| { | |
| "_valid_processor_keys": [ | |
| "images", | |
| "do_resize", | |
| "size", | |
| "resample", | |
| "do_rescale", | |
| "rescale_factor", | |
| "do_normalize", | |
| "image_mean", | |
| "image_std", | |
| "return_tensors", | |
| "data_format", | |
| "input_data_format" | |
| ], | |
| "do_normalize": true, | |
| "do_rescale": true, | |
| "do_resize": true, | |
| "do_center_crop": true, | |
| "image_processor_type": "PPLCNetImageProcessor", | |
| "model_input_names": ["pixel_values", "original_image_size"], | |
| "image_mode": "BGR", | |
| "channel_first": false, | |
| "crop_size": 224, | |
| "resize_short": 256, | |
| "image_mean": [0.406, 0.456, 0.485], | |
| "image_std": [0.225, 0.224, 0.229], | |
| "rescale_factor": 0.00392156862745098, | |
| "resample": 2, | |
| "keep_keys": ["image", "shape", "polys", "ignore_tags"] | |
| } |