ultralytics/yolo-ios-app

Ultralytics YOLO iOS app and Swift package for real-time Core ML inference across major computer vision tasks.

What it solves

This project enables real-time, on-device AI vision tasks on iOS and iPadOS. It removes the need for cloud-based processing by providing a native framework to run YOLO models directly on Apple hardware, ensuring lower latency and better privacy.

How it works

The project consists of a main iOS application for immediate testing and a Swift Package (SDK) for developers to integrate into their own apps. It leverages Apple's first-party frameworks, specifically Core ML and the newer Core AI (.aimodel), to run inference on the Apple Neural Engine (ANE) and GPU. It supports a wide range of tasks including object detection, instance and semantic segmentation, depth estimation, classification, and pose estimation using YOLO11 and YOLO26 models.

Who it’s for

  • iOS Developers who want to add real-time computer vision capabilities to their apps using a lightweight Swift package.
  • AI Researchers and Hobbyists who want to test YOLO models on physical iPhones or iPads without writing a full app from scratch.

Highlights

  • High Performance: Achieves camera-rate inference (~30 FPS) on recent iPhones.
  • Broad Task Support: Handles everything from standard object detection to oriented bounding boxes (OBB) and depth estimation.
  • Zero Third-Party Dependencies: Built entirely with pure Swift and Apple's native frameworks.
  • Flexible Model Loading: Supports bundled nano models, on-demand downloads of larger variants, and custom user-provided Core ML/Core AI models.

Related

  • Project
  • Project
  • Project
  • Project
  • Project