Class BarcodeDetector

    Definition

    Namespace:
    Tizen.Multimedia.Vision
    Assembly:
    Tizen.Multimedia.Vision.dll

    Provides the ability to detect barcodes on image sources.

    public static class BarcodeDetector
    Inheritance
    object
    BarcodeDetector

    Methods

    View Source

    DetectAsync(MediaVisionSource, Rectangle, BarcodeDetectionConfiguration)

    Detects barcodes on the source and reads the message from it with BarcodeDetectionConfiguration.

    Declaration
    public static Task<IEnumerable<Barcode>> DetectAsync(MediaVisionSource source, Rectangle roi, BarcodeDetectionConfiguration config)
    Parameters
    Type Name Description
    MediaVisionSource source

    The MediaVisionSource instance.

    Rectangle roi

    Region of interest - rectangular area on the source which will be used for barcode detection. Note that roi should be inside area on the source.

    BarcodeDetectionConfiguration config

    The configuration of the barcode detector. This value can be null.

    Returns
    Type Description
    System.Threading.Tasks.Task<TResult><System.Collections.Generic.IEnumerable<T><Barcode>>

    A task that represents the asynchronous detect operation.

    Exceptions
    Type Condition
    System.ArgumentNullException

    source is null.

    System.NotSupportedException

    The feature is not supported.

    System.ObjectDisposedException

    source already has been disposed of.
    -or-
    config already has been disposed of.

    See Also
    Barcode
    View Source

    DetectAsync(MediaVisionSource, Rectangle)

    Detects barcodes on the source and reads the message from it.

    Declaration
    public static Task<IEnumerable<Barcode>> DetectAsync(MediaVisionSource source, Rectangle roi)
    Parameters
    Type Name Description
    MediaVisionSource source

    The MediaVisionSource instance.

    Rectangle roi

    Region of interest - rectangular area on the source which will be used for barcode detection. Note that roi should be inside area on the source.

    Returns
    Type Description
    System.Threading.Tasks.Task<TResult><System.Collections.Generic.IEnumerable<T><Barcode>>

    A task that represents the asynchronous detect operation.

    Exceptions
    Type Condition
    System.ArgumentNullException

    source is null.

    System.NotSupportedException

    The feature is not supported.

    System.ObjectDisposedException

    source already has been disposed of.

    See Also
    Barcode
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX