Show / Hide Table of Contents

    Class ArucoObjectTracker

    Base for detecting and estimating the transform of an ArUco object.

    Inheritance
    Object
    ArucoObjectTracker
    ArucoCharucoBoardTracker
    ArucoDiamondTracker
    ArucoGridBoardTracker
    ArucoMarkerTracker
    Namespace: ArucoUnity.Objects.Trackers
    Assembly: Assembly-CSharp.dll
    Syntax
    public abstract class ArucoObjectTracker

    Fields

    | Improve this Doc View Source

    arucoCamera

    Declaration
    protected IArucoCamera arucoCamera
    Field Value
    Type Description
    IArucoCamera
    | Improve this Doc View Source

    arucoCameraDisplay

    Declaration
    protected IArucoCameraDisplay arucoCameraDisplay
    Field Value
    Type Description
    IArucoCameraDisplay
    | Improve this Doc View Source

    arucoCameraUndistortion

    Declaration
    protected IArucoCameraUndistortion arucoCameraUndistortion
    Field Value
    Type Description
    IArucoCameraUndistortion
    | Improve this Doc View Source

    arucoTracker

    Declaration
    protected IArucoObjectsTracker arucoTracker
    Field Value
    Type Description
    IArucoObjectsTracker

    Properties

    | Improve this Doc View Source

    IsActivated

    Is the tracker configured and activated?

    Declaration
    public bool IsActivated { get; protected set; }
    Property Value
    Type Description
    Boolean

    Methods

    | Improve this Doc View Source

    Activate(IArucoObjectsTracker)

    Configure and activate the tracker.

    Declaration
    public virtual void Activate(IArucoObjectsTracker arucoTracker)
    Parameters
    Type Name Description
    IArucoObjectsTracker arucoTracker
    | Improve this Doc View Source

    ArucoObjectsController_DictionaryAdded(Aruco.Dictionary)

    Update the properties when a new dictionary is added.

    Declaration
    protected virtual void ArucoObjectsController_DictionaryAdded(Aruco.Dictionary dictionary)
    Parameters
    Type Name Description
    Aruco.Dictionary dictionary

    The new dictionary.

    | Improve this Doc View Source

    ArucoObjectsController_DictionaryRemoved(Aruco.Dictionary)

    Update the properties when a dictionary is removed.

    Declaration
    protected virtual void ArucoObjectsController_DictionaryRemoved(Aruco.Dictionary dictionary)
    Parameters
    Type Name Description
    Aruco.Dictionary dictionary

    The removed dictionary.

    | Improve this Doc View Source

    Deactivate()

    Deactivate the tracker.

    Declaration
    public virtual void Deactivate()
    | Improve this Doc View Source

    Detect(Int32, Aruco.Dictionary)

    Detect the ArUco objects on the current image of a camera.

    Declaration
    public virtual void Detect(int cameraId, Aruco.Dictionary dictionary)
    Parameters
    Type Name Description
    Int32 cameraId

    The id of the camera to use.

    Aruco.Dictionary dictionary

    The dictionary to use for the detection.

    | Improve this Doc View Source

    Detect(Int32, Aruco.Dictionary, Cv.Mat)

    Detect the ArUco objects for a camera on an custom image.

    Declaration
    public virtual void Detect(int cameraId, Aruco.Dictionary dictionary, Cv.Mat image)
    Parameters
    Type Name Description
    Int32 cameraId

    The id of the camera.

    Aruco.Dictionary dictionary

    The dictionary to use for the detection.

    Cv.Mat image

    The image to use for the detection.

    | Improve this Doc View Source

    Draw(Int32, Aruco.Dictionary)

    Draw the detected ArUco objects on the current image of a camera.

    Declaration
    public virtual void Draw(int cameraId, Aruco.Dictionary dictionary)
    Parameters
    Type Name Description
    Int32 cameraId

    The id of the camera to use.

    Aruco.Dictionary dictionary

    The dictionary to use.

    | Improve this Doc View Source

    Draw(Int32, Aruco.Dictionary, Cv.Mat)

    Draw the detected ArUco objects for a camera on a custom image.

    Declaration
    public virtual void Draw(int cameraId, Aruco.Dictionary dictionary, Cv.Mat image)
    Parameters
    Type Name Description
    Int32 cameraId

    The id of the camera to use.

    Aruco.Dictionary dictionary

    The dictionary to use.

    Cv.Mat image

    Draw on this image.

    | Improve this Doc View Source

    EstimateTransforms(Int32, Aruco.Dictionary)

    Estimate the gameObject's transform of each detected ArUco object.

    Declaration
    public virtual void EstimateTransforms(int cameraId, Aruco.Dictionary dictionary)
    Parameters
    Type Name Description
    Int32 cameraId

    The id of the camera to use.

    Aruco.Dictionary dictionary

    The dictionary to use.

    | Improve this Doc View Source

    UpdateTransforms(Int32, Aruco.Dictionary)

    Place and orient the detected ArUco objects relative to a camera.

    Declaration
    public virtual void UpdateTransforms(int cameraId, Aruco.Dictionary dictionary)
    Parameters
    Type Name Description
    Int32 cameraId

    The id of the camera to use.

    Aruco.Dictionary dictionary

    The dictionary to use.

    • Improve this Doc
    • View Source
    Back to top Aruco Unity - Erwan Normand