Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
J
jfx_kalman_filter_src
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
oscar
jfx_kalman_filter_src
Commits
1e3afd5a
Commit
1e3afd5a
authored
Dec 28, 2021
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交修改
parent
c9919570
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
BaseTracker.h
BaseTracker/BaseTracker.h
+2
-2
No files found.
BaseTracker/BaseTracker.h
View file @
1e3afd5a
...
...
@@ -285,7 +285,7 @@ void BaseTracker<T>::AssociateDetectionsToTrackers(const std::vector<std::vector
for
(
int
j
=
0
;
j
<
tracker_states
.
size
();
j
++
)
{
float
*
i_ptr
=
iou_ptr
.
get
();
if
(
det_type
[
i
]
==
tracker_type
[
j
])
if
(
1
)
//
det_type[i] == tracker_type[j])
{
iou_matrix
[
i
][
j
]
=
i_ptr
[
i
*
tracker_states
.
size
()
+
j
];
}
...
...
@@ -310,7 +310,7 @@ void BaseTracker<T>::AssociateDetectionsToTrackers(const std::vector<std::vector
if
(
0
==
association
[
i
][
j
])
{
// Filter out matched with low IOU
SDK_LOG
(
SDK_INFO
,
"match info i = %d,j = %d, iou_matrix = %f, m_iou_threshold = %f"
,
i
,
j
,
iou_matrix
[
i
][
j
],
trk
.
second
->
m_iou_threshold
);
//
SDK_LOG(SDK_INFO, "match info i = %d,j = %d, iou_matrix = %f, m_iou_threshold = %f",i,j, iou_matrix[i][j], trk.second->m_iou_threshold);
if
(
iou_matrix
[
i
][
j
]
>=
trk
.
second
->
m_iou_threshold
)
{
matched
[
trk
.
first
]
=
i
;
...
...
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