Class ImageTrackingModel
Definition
- Namespace:
- Tizen.Multimedia.Vision
- Assembly:
- Tizen.Multimedia.Vision.dll
Represents the image tracking model interface.
public class ImageTrackingModel : IDisposable
- Inheritance
-
objectImageTrackingModel
Constructors
View SourceImageTrackingModel()
Initializes a new instance of the ImageTrackingModel class.
Declaration
public ImageTrackingModel()
ImageTrackingModel(string)
Initializes a new instance of the ImageTrackingModel class with the specified path.
Declaration
public ImageTrackingModel(string modelPath)
Parameters
Type | Name | Description |
---|---|---|
string | modelPath | Path to the model to load. |
Remarks
Model saved by Save(string) can be loaded.
See Also
Methods
View SourceDispose()
Releases all resources used by the ImageTrackingModel object.
Declaration
public void Dispose()
Dispose(bool)
Releases the resources used by the ImageTrackingModel 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. |
~ImageTrackingModel()
Finalizes an instance of the ImageTrackingModel class.
Declaration
protected ~ImageTrackingModel()
Refresh()
Refreshes the state of image tracking model.
Clears the moving history and change state to undetected. It is usually called each time before tracking is started
for the new sequence of sources, which is not the direct continuation of the sequence for which tracking has been performed before.
Tracking algorithm will try to find image by itself.
Declaration
public void Refresh()
Save(string)
Saves the tracking model to the file.
Declaration
public void Save(string path)
Parameters
Type | Name | Description |
---|---|---|
string | path | Path to the file to save the model. |
SetTarget(ImageObject)
Sets the target of the image tracking model.
Sets the image object which will be tracked by using tracking functionality with this tracking model.
Declaration
public void SetTarget(ImageObject imageObject)
Parameters
Type | Name | Description |
---|---|---|
ImageObject | imageObject | Image object which will be set as the target for tracking. |