Covers both the modern Swift-native Vision API (iOS 18+) with async/await and the legacy VNRequest pattern for backward compatibility. You get text recognition with language correction and custom vocabulary, face detection with landmarks, barcode scanning across a dozen symbologies, document scanning with structured layout understanding (paragraphs, tables, lists), plus object tracking for video. The modern API is cleaner,`try await request.perform(on: image)` instead of handler boilerplate,but you'll need the legacy patterns if you're supporting pre-iOS 18. Includes VisionKit's DataScannerViewController for live camera scanning and VNCoreMLRequest patterns for running custom Core ML models through Vision's pipeline.

skills.sh installs
4K
GitHub stars
1.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add dpearson2699/swift-ios-skills --skill vision-framework --agent claude-code

Installs into .claude/skills of the current project.

Files

Vision Framework

Detect text, faces, barcodes, objects, and body poses in images and video using on-device computer vision. Prefer the modern iOS 18+ request APIs and load the legacy reference only when the deployment target requires it.

See references/vision-requests.md for complete code patterns and references/visionkit-scanner.md for DataScannerViewController integration.

Contents

Two API Generations

Sponsors

Details

Repository
github.com/dpearson2699/swift-ios-skills
Categories
Backend & APIs, Data Science & ML, Mobile Development, Office & Documents
First seen
Apr 16, 2026

More from dpearson2699/swift-ios-skills

All 98
1giuseppe-trisciuoglio avatarzod-validation-utilitiesgiuseppe-trisciuoglio/developer-kitCreates reusable Zod v4 schemas, validates API payloads, forms, and configuration input, transforms and coerces data safely, and handles validation errors with 4Kskills.sh installs
2zc277584121 avatarmermaid-to-imagezc277584121/marketing-skillsConvert Mermaid code blocks in Markdown files to PNG images using the mermaid.ink API.4Kskills.sh installs
3zc277584121 avatarimage-generationzc277584121/marketing-skillsGenerate illustration images for articles and documentation with a Codex-first workflow, OpenAI API fallback, and Gemini fallback.4Kskills.sh installs
4tradermonty avatarvalue-dividend-screenertradermonty/claude-trading-skillsScreen US stocks for high-quality dividend opportunities combining value characteristics (P/E ratio under 20, P/B ratio under 2), attractive yields (3% or highe4Kskills.sh installs
5dotnet avatarandroid-tombstone-symbolicationdotnet/skillsSymbolicate the .NET runtime frames in an Android tombstone file. Extracts BuildIds and PC offsets from the native backtrace, downloads debug symbols from the M4Kskills.sh installs
6pexoai avatarvideoagent-audio-studiopexoai/pexo-skillsTired of juggling multiple audio APIs? This skill gives you one-command access to TTS, music generation, sound effects, and voice cloning. Use when you want to 4Kskills.sh installs