PP-OCRv6 tiny text recognition MLX

This is an MLX-format conversion of PaddlePaddle/PP-OCRv6_tiny_rec_safetensors for use with mlx-vlm.

import mlx.core as mx
from PIL import Image
from mlx_vlm import load

model, processor = load("mikoy92/PP-OCRv6-tiny-rec-mlx")
image = Image.open("word.png")

inputs = processor(image)
outputs = model(**inputs)
mx.eval(outputs.logits)

print(processor.post_process_text_recognition(outputs)[0])
Downloads last month
34
Safetensors
Model size
1.11M params
Tensor type
F32
·
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for mikoy92/PP-OCRv6-tiny-rec-mlx

Finetuned
(1)
this model