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
ad93daa6
Commit
ad93daa6
authored
Aug 21, 2015
by
Vladimir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix char*->String in create method
parent
2baae4fa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
tracker.hpp
modules/tracking/include/opencv2/tracking/tracker.hpp
+1
-1
multiTracker.cpp
modules/tracking/src/multiTracker.cpp
+1
-1
No files found.
modules/tracking/include/opencv2/tracking/tracker.hpp
View file @
ad93daa6
...
...
@@ -1273,7 +1273,7 @@ public:
@return True if new target initialization went succesfully, false otherwise
*/
bool
addTarget
(
const
Mat
&
image
,
const
Rect2d
&
boundingBox
,
char
*
tracker_algorithm_name
);
bool
addTarget
(
const
Mat
&
image
,
const
Rect2d
&
boundingBox
,
String
tracker_algorithm_name
);
/** @brief Update all trackers from the tracking-list, find a new most likely bounding boxes for the targets
@param image The current frame
...
...
modules/tracking/src/multiTracker.cpp
View file @
ad93daa6
...
...
@@ -44,7 +44,7 @@
namespace
cv
{
//Multitracker
bool
MultiTracker
::
addTarget
(
const
Mat
&
image
,
const
Rect2d
&
boundingBox
,
char
*
tracker_algorithm_name
)
bool
MultiTracker
::
addTarget
(
const
Mat
&
image
,
const
Rect2d
&
boundingBox
,
String
tracker_algorithm_name
)
{
Ptr
<
Tracker
>
tracker
=
Tracker
::
create
(
tracker_algorithm_name
);
if
(
tracker
==
NULL
)
...
...
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