<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreImage",
  "identifier" : "/documentation/CoreImage/CIQRCodeFeature",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Core Image"
    ],
    "preciseIdentifier" : "c:objc(cs)CIQRCodeFeature"
  },
  "title" : "CIQRCodeFeature"
}
-->

# CIQRCodeFeature

Information about a Quick Response code detected in a still or video image.

```
class CIQRCodeFeature
```

## Overview> Note: In macOS 10.13, iOS 11, and tvOS 11 or later, the Vision framework replaces these classes
> for identifying and analyzing image features.
> See <doc://com.apple.documentation/documentation/Vision/VNDetectBarcodesRequest>)

A QR code is a two-dimensional barcode using the ISO/IEC 18004:2006 standard. The properties of
a CIQRCodeFeature object identify the corners of the barcode in the image perspective and provide
the decoded message.

To detect QR codes in an image or video, choose [`CIDetectorTypeQRCode`](/documentation/CoreImage/CIDetectorTypeQRCode) type when initializing a
[`CIDetector`](/documentation/CoreImage/CIDetector) object.

## Topics

### Locating a Detected Feature

[`bounds`](/documentation/CoreImage/CIQRCodeFeature/bounds-swift.property)

A rectangle that indicates the position and extent of the QR code feature in image coordinates.

### Decoding a Detected Barcode

[`messageString`](/documentation/CoreImage/CIQRCodeFeature/messageString)

The string decoded from the detected barcode.

[`symbolDescriptor`](/documentation/CoreImage/CIQRCodeFeature/symbolDescriptor-swift.property)

An abstract representation of a QR Code symbol.

### Identifying the Corners of a Detected Barcode

[`bottomLeft`](/documentation/CoreImage/CIQRCodeFeature/bottomLeft-swift.property)

The image coordinate of the lower-left corner of the detected QR code.

[`bottomRight`](/documentation/CoreImage/CIQRCodeFeature/bottomRight-swift.property)

The image coordinate of the lower-right corner of the detected QR code.

[`topLeft`](/documentation/CoreImage/CIQRCodeFeature/topLeft-swift.property)

The image coordinate of the upper-left corner of the detected QR code.

[`topRight`](/documentation/CoreImage/CIQRCodeFeature/topRight-swift.property)

The image coordinate of the upper-right corner of the detected QR code.



---

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)