# Example Barcode Task Configuration

To detect and read barcodes, you could use the following task configuration:

    [Barcodes]
    Type=barcode
    BarcodeTypes=all
    Orientation=any

Setting the `BarcodeTypes` parameter to `all` detects all types of barcodes, including QR codes.

By default Media Server only detects barcodes that are upright, but setting the `Orientation` parameter to `any` means that Media Server can also detect barcodes that have been rotated by 90 or 180 degrees.

_FT_HTML5_bannerTitle.htm