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
File size: 838 Bytes
1e1b9bd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | {
"_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_convert_rgb": true,
"do_normalize": true,
"do_rescale": true,
"do_resize": true,
"image_processor_type": "PPOCRV5ServerDetImageProcessor",
"model_input_names": ["pixel_values", "original_image_size"],
"image_mode": "BGR",
"channel_first": false,
"limit_side_len": 736,
"limit_type": "min",
"max_side_limit": 4000,
"image_mean": [0.406, 0.456, 0.485],
"image_std": [0.225, 0.224, 0.229],
"rescale_factor": 0.00392156862745098,
"resample": 2,
"normalize_order": "hwc",
"do_to_chw": true,
"keep_keys": ["image", "shape", "polys", "ignore_tags"]
} |