Class ArucoObjectsTracker
Inheritance
ArucoObjectsTracker
Assembly: Assembly-CSharp.dll
Syntax
public class ArucoObjectsTracker : ArucoObjectsController, IArucoObjectsTracker, IArucoCameraController, IController, IArucoObjectsController, IHasDetectorParameter
Fields
|
Improve this Doc
View Source
additionalTrackers
Declaration
protected Dictionary<Type, ArucoObjectTracker> additionalTrackers
Field Value
|
Improve this Doc
View Source
trackingThread
Declaration
protected ArucoCameraSeparateThread trackingThread
Field Value
Properties
|
Improve this Doc
View Source
ArucoCameraDisplay
Declaration
public IArucoCameraDisplay ArucoCameraDisplay { get; set; }
Property Value
|
Improve this Doc
View Source
DrawAxes
Declaration
public bool DrawAxes { get; set; }
Property Value
|
Improve this Doc
View Source
DrawDetectedCharucoMarkers
Declaration
public bool DrawDetectedCharucoMarkers { get; set; }
Property Value
|
Improve this Doc
View Source
DrawDetectedDiamonds
Declaration
public bool DrawDetectedDiamonds { get; set; }
Property Value
|
Improve this Doc
View Source
DrawDetectedMarkers
Declaration
public bool DrawDetectedMarkers { get; set; }
Property Value
|
Improve this Doc
View Source
DrawRejectedCandidates
Declaration
public bool DrawRejectedCandidates { get; set; }
Property Value
|
Improve this Doc
View Source
MarkerTracker
Declaration
public ArucoMarkerTracker MarkerTracker { get; protected set; }
Property Value
|
Improve this Doc
View Source
RefineDetectedMarkers
Declaration
public bool RefineDetectedMarkers { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
ArucoCamera_ImagesUpdated()
Declaration
protected void ArucoCamera_ImagesUpdated()
|
Improve this Doc
View Source
ArucoObjectsController_ArucoObjectAdded(ArucoObject)
Activates the tracker associated with the arucoObject
and configure its gameObject.
Declaration
protected virtual void ArucoObjectsController_ArucoObjectAdded(ArucoObject arucoObject)
Parameters
Type |
Name |
Description |
ArucoObject |
arucoObject |
The added ArUco object.
|
|
Improve this Doc
View Source
ArucoObjectsController_ArucoObjectRemoved(ArucoObject)
Deactivates the tracker associated with the arucoObject
if it was the last one of this type.
Declaration
protected virtual void ArucoObjectsController_ArucoObjectRemoved(ArucoObject arucoObject)
Parameters
Type |
Name |
Description |
ArucoObject |
arucoObject |
The removed
|
|
Improve this Doc
View Source
Awake()
Declaration
protected override void Awake()
Overrides
|
Improve this Doc
View Source
Configuring()
Declaration
protected override void Configuring()
Overrides
|
Improve this Doc
View Source
DeactivateArucoObjects()
Declaration
public void DeactivateArucoObjects()
|
Improve this Doc
View Source
Detect()
Declaration
|
Improve this Doc
View Source
Detect(Cv.Mat[])
Declaration
public void Detect(Cv.Mat[] images)
Parameters
Type |
Name |
Description |
Cv.Mat[] |
images |
|
|
Improve this Doc
View Source
Draw()
Declaration
|
Improve this Doc
View Source
Draw(Cv.Mat[])
Declaration
public void Draw(Cv.Mat[] images)
Parameters
Type |
Name |
Description |
Cv.Mat[] |
images |
|
|
Improve this Doc
View Source
Declaration
public void EstimateTransforms()
|
Improve this Doc
View Source
ExecuteOnActivatedTrackers(Action<ArucoObjectTracker, Int32, Aruco.Dictionary>)
Declaration
protected void ExecuteOnActivatedTrackers(Action<ArucoObjectTracker, int, Aruco.Dictionary> actionOnTracker)
Parameters
|
Improve this Doc
View Source
Starting()
Initializes the tracking, activates the trackers, susbcribes to the and
events and starts the tracking thread.
Declaration
protected override void Starting()
Overrides
|
Improve this Doc
View Source
Stopping()
Unsuscribes from ArucoObjectController events, deactivates the trackers and abort the tracking thread and stops the tracking thread.
Declaration
protected override void Stopping()
Overrides
|
Improve this Doc
View Source
TrackArucoObjects(Cv.Mat[])
Detects and estimates the transforms of the detected ArUco objects. Executed on a separated tracking thread.
Declaration
protected void TrackArucoObjects(Cv.Mat[] images)
Parameters
Type |
Name |
Description |
Cv.Mat[] |
images |
|
|
Improve this Doc
View Source
Declaration
public void UpdateTransforms()
Implements