Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv_contrib
Commits
a9ccea8f
Commit
a9ccea8f
authored
Jul 16, 2015
by
Kurnianggoro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added UML documentation for MultiTracker class
parent
8c3cdf8e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
1 deletion
+34
-1
diagrams.markdown
modules/tracking/doc/diagrams.markdown
+33
-0
tracker.hpp
modules/tracking/include/opencv2/tracking/tracker.hpp
+1
-1
No files found.
modules/tracking/doc/diagrams.markdown
View file @
a9ccea8f
...
...
@@ -221,5 +221,38 @@ TrackerSampler diagram
}
}
@enduml
MultiTracker diagram
======================
@startuml{tracking_uml_multiple.png}
package "MultiTracker"
package "Tracker"
MultiTracker -> Tracker: create
note top of Tracker: Several classes can be generated.
@enduml
@startuml{multi_tracker_uml.png}
package "MultiTracker package" #DDDDDD {
class MultiTracker{
MultiTracker(const String& trackerType = "" );
~MultiTracker();
+bool add( const Mat& image, const Rect2d& boundingBox );
+bool add( const String& trackerType, const Mat& image, const Rect2d& boundingBox );
+bool add(const String& trackerType, const Mat& image, std::vector
<Rect2d>
boundingBox);
+bool add(const Mat& image, std::vector
<Rect2d>
boundingBox);
+bool update( const Mat& image, std::vector
<Rect2d>
& boundingBox );
+std::vector
<Rect2d>
objects;
---
#std::vector
<
Ptr
<
Tracker
>
> trackerList;
#String defaultAlgorithm;
}
}
@enduml
modules/tracking/include/opencv2/tracking/tracker.hpp
View file @
a9ccea8f
...
...
@@ -1272,7 +1272,7 @@ class CV_EXPORTS_W MultiTracker
* @param image input image
* @param boundingBox a rectangle represents ROI of the tracked object
*/
bool
add
(
const
Mat
&
image
,
const
Rect2d
&
boundingBox
);
bool
add
(
const
Mat
&
image
,
const
Rect2d
&
boundingBox
);
/**
* \brief Add a new object to be tracked.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment