<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Vision",
  "identifier" : "/documentation/Vision/VNDetectBarcodesRequest",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Vision"
    ],
    "preciseIdentifier" : "c:objc(cs)VNDetectBarcodesRequest"
  },
  "title" : "VNDetectBarcodesRequest"
}
-->

# VNDetectBarcodesRequest

A request that detects barcodes in an image.

```
class VNDetectBarcodesRequest
```

## Overview

This request returns an array of [`VNBarcodeObservation`](/documentation/Vision/VNBarcodeObservation) objects, one for each barcode it detects.

## Topics

### Specifying Symbologies

[`supportedSymbologies()`](/documentation/Vision/VNDetectBarcodesRequest/supportedSymbologies())

Returns the barcode symbologies that the request supports.

[`symbologies`](/documentation/Vision/VNDetectBarcodesRequest/symbologies)

The barcode symbologies that the request detects in an image.

[`coalesceCompositeSymbologies`](/documentation/Vision/VNDetectBarcodesRequest/coalesceCompositeSymbologies)

A Boolean value that indicates whether to coalesce multiple codes based on the symbology.

[`VNBarcodeSymbology`](/documentation/Vision/VNBarcodeSymbology)

The barcode symbologies that the framework detects.

[`supportedSymbologies`](/documentation/Vision/VNDetectBarcodesRequest/supportedSymbologies)

The array of barcode symbologies that the request supports.

### Accessing the Results

[`results`](/documentation/Vision/VNDetectBarcodesRequest/results)

The results of a barcode detection request.

[`VNBarcodeObservation`](/documentation/Vision/VNBarcodeObservation)

An object that represents barcode information that an image analysis request detects.

### Identifying Request Revisions

[`VNDetectBarcodesRequestRevision3`](/documentation/Vision/VNDetectBarcodesRequestRevision3)

A constant for specifying revision 3 of the barcode detection request.

[`VNDetectBarcodesRequestRevision2`](/documentation/Vision/VNDetectBarcodesRequestRevision2)

A constant for specifying revision 2 of the barcode detection request.

[`VNDetectBarcodesRequestRevision1`](/documentation/Vision/VNDetectBarcodesRequestRevision1)

A constant for specifying revision 1 of the barcode detection request.



---

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)