Class ImageObject

    Definition

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

    Represents an image object.

    public class ImageObject : IDisposable
    Inheritance
    object
    ImageObject

    Constructors

    View Source

    ImageObject()

    Initializes a new instance of the ImageObject class.

    Declaration
    public ImageObject()
    View Source

    ImageObject(string)

    Initializes a new instance of the ImageObject class from the specified file.

    Declaration
    public ImageObject(string path)
    Parameters
    Type Name Description
    string path

    Path to the image object to load.

    Remarks

    ImageObject has been saved by Save(string) can be loaded.

    See Also
    Save(string)

    Properties

    View Source

    RecognitionRate

    Gets a value that determines how well an image object can be recognized.

    Declaration
    public double RecognitionRate { get; }
    Property Value
    Type Description
    double

    Recognition rate determines how well an image object can be recognized. This value can be from 0 to 1. If the recognition rate is 0 object can not be recognized and the bigger it is the more likely to recognize the object.

    Remarks

    If recognition rate is too low, try to use another image or change some configuration parameters and fill the image object again.

    See Also
    ImageFillConfiguration
    Fill(MediaVisionSource)
    Fill(MediaVisionSource, ImageFillConfiguration)
    Fill(MediaVisionSource, Rectangle)
    Fill(MediaVisionSource, ImageFillConfiguration, Rectangle)

    Methods

    View Source

    Dispose()

    Releases all the resources used by the ImageObject object.

    Declaration
    public void Dispose()
    View Source

    Dispose(bool)

    Releases the resources used by the ImageObject object.

    Declaration
    protected virtual 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.

    View Source

    Fill(MediaVisionSource, Rectangle)

    Fills the image object.
    Extracts data from source image which will be needed for recognition of depicted object in location.

    Declaration
    public void Fill(MediaVisionSource source, Rectangle rect)
    Parameters
    Type Name Description
    MediaVisionSource source

    The source image where image object is depicted.

    Rectangle rect

    Rectangular bound of the image object on the source image.

    View Source

    Fill(MediaVisionSource, ImageFillConfiguration, Rectangle)

    Fills the image object.
    Extracts data from source image which will be needed for recognition of depicted object in location.

    Declaration
    public void Fill(MediaVisionSource source, ImageFillConfiguration config, Rectangle rect)
    Parameters
    Type Name Description
    MediaVisionSource source

    The source image where image object is depicted.

    ImageFillConfiguration config

    The configuration used for extract recognition data from source. This value can be null.

    Rectangle rect

    Rectangular bound of the image object on the source image.

    View Source

    Fill(MediaVisionSource, ImageFillConfiguration)

    Fills the image object.
    Extracts data from source image which will be needed for recognition of depicted object.

    Declaration
    public void Fill(MediaVisionSource source, ImageFillConfiguration config)
    Parameters
    Type Name Description
    MediaVisionSource source

    The source image where image object is depicted.

    ImageFillConfiguration config

    The configuration used for extract recognition data from source. This value can be null.

    View Source

    Fill(MediaVisionSource)

    Fills the image object.
    Extracts data from source image which will be needed for recognition of depicted object.

    Declaration
    public void Fill(MediaVisionSource source)
    Parameters
    Type Name Description
    MediaVisionSource source

    The source image where image object is depicted.

    View Source

    ~ImageObject()

    Finalizes an instance of the ImageObject class.

    Declaration
    protected ~ImageObject()
    View Source

    GetLabel()

    Gets the label for the image object.

    Declaration
    public int? GetLabel()
    Returns
    Type Description
    int?

    The label value if the ImageObject has label, otherwise null.

    See Also
    SetLabel(int)
    View Source

    Save(string)

    Saves the image object.

    Declaration
    public void Save(string path)
    Parameters
    Type Name Description
    string path

    Path to the file to save the model.

    View Source

    SetLabel(int)

    Sets the label for the ImageObject.

    Declaration
    public void SetLabel(int label)
    Parameters
    Type Name Description
    int label

    The label which will be assigned to the image object.

    See Also
    GetLabel()

    Extension Methods

    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX