# SOTA OCR with Core ML and dots.ocr

DevFeed: [SOTA OCR with Core ML and dots.ocr](<https://devfeed.tech/articles/sota-ocr-with-core-ml-and-dots-ocr-7174.md>)

Original publisher: [Read original article](<https://huggingface.co/blog/dots-ocr-ne>)

Author: Christopher Fleetwood; Pedro Cuenca

Published: 2025-10-02T00:00:00Z

Content type: tutorial

Language: en

Sources: [Hugging Face - Blog](<https://devfeed.tech/sources/hugging-face-blog.md>)

Topics: [MLX](<https://devfeed.tech/topics/mlx.md>), [PyTorch](<https://devfeed.tech/topics/pytorch.md>)

Tags: [apple](<https://devfeed.tech/tags/apple.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [battery](<https://devfeed.tech/tags/battery.md>), [coreml](<https://devfeed.tech/tags/coreml.md>), [cpu](<https://devfeed.tech/tags/cpu.md>), [developers](<https://devfeed.tech/tags/developers.md>), [framework](<https://devfeed.tech/tags/framework.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [high-performance](<https://devfeed.tech/tags/high-performance.md>), [images](<https://devfeed.tech/tags/images.md>), [mlx](<https://devfeed.tech/tags/mlx.md>), [model](<https://devfeed.tech/tags/model.md>), [ocr](<https://devfeed.tech/tags/ocr.md>), [on-device](<https://devfeed.tech/tags/on-device.md>), [parameter](<https://devfeed.tech/tags/parameter.md>), [precision](<https://devfeed.tech/tags/precision.md>), [pytorch](<https://devfeed.tech/tags/pytorch.md>), [repo](<https://devfeed.tech/tags/repo.md>), [tools](<https://devfeed.tech/tags/tools.md>), [vision](<https://devfeed.tech/tags/vision.md>)

## AI overview

This tutorial explains how to convert dots.ocr from PyTorch to Core ML for on-device execution on Apple hardware. It discusses the roles of the Neural Engine, GPU, MLX, and Core ML, then outlines a staged conversion process beginning with GPU execution, FLOAT32 precision, and static shapes.

## Source excerpt

We're on a journey to advance and democratize artificial intelligence through open source and open science.