TechnologiesMachine Learning & AI

SensitiveContentAnalysis

iOSmacOStvOSwatchOSvisionOS

SensitiveContentAnalysis analyzes images and video streams on-device to detect sensitive or explicit content and report the results. You use an SCSensitivityAnalyzer to evaluate still images and an SCVideoStreamAnalyzer to process video streams, receiving an SCSensitivityAnalysis that describes whether sensitive content was found. An SCSensitivityAnalysisPolicy lets you account for the user's configured content settings when deciding how to handle a result. The framework runs its analysis locally on iOS, macOS, and visionOS.

Analyzers 2

The objects that inspect images and video streams for sensitive or explicit content on-device.

  • Cl
    SCSensitivityAnalyzeriOS 17.0+
    Main class for content sensitivity analysis
  • Cl
    SCVideoStreamAnalyzeriOS 26.0+
    Monitors a stream of video by analyzing frames for sensitive content.

Analysis Results 1

The result type that reports whether sensitive content was detected.

  • Cl
    SCSensitivityAnalysisiOS 17.0+
    Sensitive Analysis Results object is returned after sensitivity analysis is performed on media

Policy and Configuration 1

Values that account for the user's configured content settings when handling results.

  • En
    SCSensitivityAnalysisPolicyiOS 17.0+
    SensitivityAnalysis Policy on device, represents type of interventions when enabled
← Machine Learning & AI