Zum Inhalt springen
ModelAufgelistetExtern
Herunterladen

PP OCRv6 Tiny Det Mlx

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

ArtOtherBasismodellPaddlePaddle/PP-OCRv6_tiny_det_safetensorsVersionRevision a48e11bBBewertung

Modellquelle

Art
Other
Dateigröße
1,70 MB
Basismodell
PaddlePaddle/PP-OCRv6_tiny_det_safetensors
Version
vRevision a48e11b
Aktualisiert
23. Okt. 2026
Downloads
16
Quelle
Hugging Face

Quellenbeschreibung

PP-OCRv6 tiny text detection MLX

This is an MLX-format conversion of PaddlePaddle/PP-OCRv6_tiny_det_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-det-mlx")
image = Image.open("document.png")

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

result = processor.post_process_object_detection(
    outputs,
    target_sizes=inputs["target_sizes"],
)[0]
print(result["boxes"])

Quellen

1 Quelle
Hugging FacePrimärVersion a48e11bc4fe6e04deae54bd25808f6fbfc694636
huggingface.co/mikoy92/PP-OCRv6-tiny-det-mlx/tree/a48e11bc4fe6e04deae54bd25808f6fbfc694636

Verifiziert 23. Okt.

Modellartefakte

1 Artefakt

model.safetensors

safetensors · 1,70 MB · SHA-256 cf9887426260…4141 · Hugging Face

Download file

Quellenauszüge

3 Auszüge

--- license: apache-2.0 library_name: mlx language: - en - zh pipeline_tag: image-to-text tags: - OCR - PaddlePaddle - PaddleOCR - textline_detection - mlx - pp_ocrv6_tiny_det base_model: PaddlePaddle/PP-OCRv6_tiny_det_safetensors --- # PP-OCRv6 tiny text detection MLX This is an MLX-format conversion of `PaddlePaddle/PP-OCRv6_tiny_det_safetensors` for use with `mlx-vlm`. ```python import mlx.core as mx from PIL import Image from mlx_vlm import load model, processor = load("mikoy92/PP-OCRv6-tiny-det-mlx") image = Image.open("document.png") inputs = processor(image) outputs = model(**inputs) mx.eval(outputs.logits) result = processor.post_process_object_detection( outputs, target_sizes=inputs["target_sizes"], )[0] print(result["boxes"]) ```

Source context: 16 downloads · 0 likes · Pipeline image-to-text · Library mlx · Repo mikoy92/PP-OCRv6-tiny-det-mlx

Source context: 61 downloads · 0 likes · Pipeline image-to-text · Library mlx · Repo mikoy92/PP-OCRv6-tiny-det-mlx