VisionKit lets you add document scanning, text and data recognition, and visual lookup to your app using the device camera. Present a VNDocumentCameraViewController and respond through VNDocumentCameraViewControllerDelegate to capture multi-page documents as a VNDocumentCameraScan. Use ImageAnalyzer to run an ImageAnalysis over an image and surface live text and detected content, working with each RecognizedItem the analysis returns. VisionKit is available on iOS, macOS, and visionOS.
Document Scanning 3
Present the camera scanner and capture multi-page documents as page images.
- ClVNDocumentCameraViewControlleriOS 13.0+A view controller that shows what the document camera sees.
- PrVNDocumentCameraViewControllerDelegateiOS 13.0+A delegate protocol through which the document camera returns its scanned
- ClVNDocumentCameraScaniOS 13.0+A single document scanned in the document camera.
Image Analysis 2
Analyze images to surface live text and detected content from the camera or photos.
- ClImageAnalyzeriOS 16.0+An object that finds items in images that people can interact with, such
- ClImageAnalysisiOS 16.0+An object that represents the results of analyzing an image, and provides
Recognized Content 1
Inspect the individual items of text and data that an analysis recognizes.
- EnRecognizedItemAn item that the data scanner recognizes in the camera’s live video.
Classes 2
- ClDataScannerViewControllerAn object that scans the camera live video for text, data in text, and
- ClImageAnalysisInteractioniOS 16.0+An interface that enables people to interact with recognized text, barcodes, and other objects in an image.
Structures 1
- StCameraRegionViewThis view displays a stabilized region of interest within a person's view and
Protocols 2
- PrDataScannerViewControllerDelegateA delegate object that responds when people interact with items that the data
- PrImageAnalysisInteractionDelegateiOS 16.0+A delegate that handles image-analysis and user-interaction callbacks for an interaction object.