class ZXingBarcodeParser (Niantic.ARDK.Utilities.QR.ZXingBarcodeParser)

Overview

class ZXingBarcodeParser: Niantic.ARDK.Utilities.Marker.IMarkerParser {
public:
    // methods

    bool Decode(
        Color32[] pixels,
        int width,
        int height,
        out IParserResult parserResult
    );

    ZXingBarcodeParser();
    ZXingBarcodeParser(MarkerScannerSettings settings);
};

Inherited Members

public:
    // methods

    bool Decode(
        Color32[] pixels,
        int width,
        int height,
        out IParserResult parserResult
    );

Detailed Documentation

Note

This is part of an experimental feature that is not advised to be used in release builds.

Methods

bool Decode(
    Color32[] pixels,
    int width,
    int height,
    out IParserResult parserResult
)

Process and try to obtain marker from the given image.

Parameters:

pixels

Array of pixels of the image to process.

width

Width of the image to process.

height

Height of the image to process.

parserResult

Information about the marker, if one was parsed from the image.

Returns:

True if a barcode was found.