Zum Inhalt springen
ModelAufgelistetExtern
Herunterladen

PP OCRv6 Medium Det Mlx

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

ArtOtherBasismodellPaddlePaddle/PP-OCRv6_medium_det_safetensorsVersionRevision 364560dBBewertung

Modellquelle

Art
Other
Dateigröße
83,9 MB
Basismodell
PaddlePaddle/PP-OCRv6_medium_det_safetensors
Version
vRevision 364560d
Aktualisiert
23. Okt. 2026
Downloads
31
Quelle
Hugging Face

Quellenbeschreibung

PP-OCRv6 medium text detection MLX

This is an MLX-format conversion of PaddlePaddle/PP-OCRv6_medium_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-medium-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 364560d8396a9acfe691a4aa54d090bc4a3663f3
huggingface.co/mikoy92/PP-OCRv6-medium-det-mlx/tree/364560d8396a9acfe691a4aa54d090bc4a3663f3

Verifiziert 23. Okt.

Modellartefakte

1 Artefakt

model.safetensors

safetensors · 83,9 MB · SHA-256 4529347f25cf…6349 · 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 base_model: PaddlePaddle/PP-OCRv6_medium_det_safetensors --- # PP-OCRv6 medium text detection MLX This is an MLX-format conversion of `PaddlePaddle/PP-OCRv6_medium_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-medium-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: 31 downloads · 0 likes · Pipeline image-to-text · Library mlx · Repo mikoy92/PP-OCRv6-medium-det-mlx

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