---
title: machineReadableCode
framework: visionkit
role: symbol
role_heading: Type Property
path: visionkit/imageanalyzer/analysistypes/machinereadablecode
---

# machineReadableCode

An option that analyzes an image for machine-readable codes, such as QR codes.

## Declaration

```swift
static let machineReadableCode: ImageAnalyzer.AnalysisTypes
```

## Mentioned in

Enabling Live Text interactions with images

## Discussion

Discussion The framework recognizes the following code types: Aztec, Codebar, Code 39 Checksum, Code 39, Code 39 Full ASCII, Code 39 Full ASCII Checksum, Code 93, Code 93, Code 128, Matrix EAN-8, Data, EAN-13, GS1 DataBar Expanded, GS1 DataBar Limited, ITF, ITF-14, MicroPDF417, MicroQR, PDF417 QR, UPC-E important: The framework ignores this option on macOS.

## See Also

### Specifying types to find

- [text](visionkit/imageanalyzer/analysistypes/text.md)
- [visualLookUp](visionkit/imageanalyzer/analysistypes/visuallookup.md)
