<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MediaIntelligence",
  "identifier" : "/documentation/MediaIntelligence",
  "metadataVersion" : "0.1.0",
  "role" : "Framework",
  "symbol" : {
    "kind" : "Framework",
    "modules" : [
      "Media Intelligence"
    ],
    "preciseIdentifier" : "MediaIntelligence"
  },
  "title" : "Media Intelligence"
}
-->

# Media Intelligence

Analyze video content and group faces in images using on-device machine learning.

## Overview

Media Intelligence provides on-device algorithms to analyze image and video content. Use it in video editors, photo organizers, and other media apps to add intelligence features without building the underlying analysis pipeline yourself.

For images, [`FaceGroupAnalyzer`](/documentation/MediaIntelligence/FaceGroupAnalyzer) detects faces in a collection of image assets and groups matching faces into *entities*, each representing a unique person. You can then query the analyzer to retrieve faces by asset, entity, or face ID, and use the results to build features like person-based photo organization or face search.

For video, [`VideoAnalyzer`](/documentation/MediaIntelligence/VideoAnalyzer) accepts one or more analysis requests for a specified asset and returns results for each. Use [`HighlightAnalysisRequest`](/documentation/MediaIntelligence/HighlightAnalysisRequest) to identify the most engaging segments of a video clip, or use [`KeyFrameAnalysisRequest`](/documentation/MediaIntelligence/KeyFrameAnalysisRequest) to select a keyframe that represents the overall theme of the video. Both requests run in-process on the device, with no data leaving the system.

## Topics

### Image analysis

[Detecting and grouping faces in images](/documentation/MediaIntelligence/detecting-and-grouping-faces-in-images)

Organize photos by person using on-device face detection.

[`FaceGroupAnalyzer`](/documentation/MediaIntelligence/FaceGroupAnalyzer)

An object that detects faces in images and groups them by person.

[`MediaIntelligenceImageAsset`](/documentation/MediaIntelligence/MediaIntelligenceImageAsset)

An image asset to analyze.

### Video analysis

[Finding the best moments in a video](/documentation/MediaIntelligence/finding-the-best-moments-in-a-video)

Identify keyframes and highlight segments using on-device analysis.

[`VideoAnalyzer`](/documentation/MediaIntelligence/VideoAnalyzer)

An object that analyzes video assets for highlights and key frames.

[`MediaIntelligenceVideoAsset`](/documentation/MediaIntelligence/MediaIntelligenceVideoAsset)

A video asset to analyze.

[`HighlightAnalysisRequest`](/documentation/MediaIntelligence/HighlightAnalysisRequest)

A request that identifies the most engaging segments of a video.

[`KeyFrameAnalysisRequest`](/documentation/MediaIntelligence/KeyFrameAnalysisRequest)

A request that identifies the best representative frame of a video.

### Errors

[`MediaIntelligenceError`](/documentation/MediaIntelligence/MediaIntelligenceError)

An error that indicates a media analysis operation failed.

### Internal types

[`MIDataStore`](/documentation/MediaIntelligence/MIDataStore)

[`MIManagedFace`](/documentation/MediaIntelligence/MIManagedFace)

[`FaceCoreDataPropertiesSet`](/documentation/MediaIntelligence/FaceCoreDataPropertiesSet)

[`FaceCoreDataClassSet`](/documentation/MediaIntelligence/FaceCoreDataClassSet)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)
