You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.0 KiB
43 lines
1.0 KiB
@startuml |
|
package "Tracker package" #DDDDDD { |
|
|
|
|
|
|
|
|
|
class Algorithm { |
|
} |
|
class Tracker{ |
|
Ptr<TrackerFeatureSet> featureSet; |
|
Ptr<TrackerSampler> sampler; |
|
Ptr<TrackerModel> model; |
|
--- |
|
+static Ptr<Tracker> create(const string& trackerType); |
|
+bool init(const Mat& image, const Rect& boundingBox); |
|
+bool update(const Mat& image, Rect& boundingBox); |
|
} |
|
class Tracker |
|
note right: Tracker is the general interface for each specialized trackers |
|
class TrackerMIL{ |
|
+Params |
|
--- |
|
TrackerMIL(TrackerMIL::Params parameters); |
|
+bool init(const Mat& image, const Rect& boundingBox); |
|
+bool update(const Mat& image, Rect& boundingBox); |
|
} |
|
class TrackerBoosting{ |
|
+Params |
|
--- |
|
TrackerBoosting(TrackerBoosting::Params parameters); |
|
+bool init(const Mat& image, const Rect& boundingBox); |
|
+bool update(const Mat& image, Rect& boundingBox); |
|
} |
|
Algorithm <|-- Tracker : virtual inheritance |
|
Tracker <|-- TrackerMIL |
|
Tracker <|-- TrackerBoosting |
|
|
|
note "Single instance of the Tracker" as N1 |
|
TrackerBoosting .. N1 |
|
TrackerMIL .. N1 |
|
} |
|
|
|
@enduml
|
|
|