Class RoiTrackingConfiguration

    Definition

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

    Represents a configuration of RoiTracker instances.

    public class RoiTrackingConfiguration : EngineConfiguration, IDisposable
    Inheritance
    object
    EngineConfiguration
    RoiTrackingConfiguration
    Implements
    System.IDisposable

    Constructors

    View Source

    RoiTrackingConfiguration()

    Initializes a new instance of the RoiTrackingConfiguration class.

    Declaration
    public RoiTrackingConfiguration()
    Exceptions
    Type Condition
    System.NotSupportedException

    The feature is not supported.

    Properties

    View Source

    Roi

    Gets or sets the ROI(Region Of Interest) of RoiTracker.

    Declaration
    public Rectangle Roi { get; set; }
    Property Value
    Type Description
    Rectangle
    Remarks

    The default value is Rectangle(0, 0, 0, 0) but it's meaningless.
    The user should set this to correct value for TrackAsync(MediaVisionSource, RoiTrackingConfiguration).

    Exceptions
    Type Condition
    System.ArgumentOutOfRangeException

    The width of value is less than or equal to zero.
    -or-
    The height of value is less than or equal to zero.
    -or-
    The x position of value is less than zero.
    -or-
    The y position of value is less than zero.

    View Source

    TrackerType

    Gets or sets the type of ROI tracker.
    Default value is Balance.

    Declaration
    public RoiTrackerType TrackerType { get; set; }
    Property Value
    Type Description
    RoiTrackerType
    Exceptions
    Type Condition
    System.ArgumentException

    value is not valid.

    Methods

    View Source

    Dispose(bool)

    Releases the resources used by the RoiTrackingConfiguration object.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing

    true to release both managed and unmanaged resources, otherwise false to release only unmanaged resources.

    Overrides
    EngineConfiguration.Dispose(bool)
    Exceptions
    Type Condition
    System.NotSupportedException

    The required features are not supported.

    Implements

    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX