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
63dee96d
Commit
63dee96d
authored
Jan 13, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交计算2d的iou
parent
9b6822ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Track3D.cpp
BaseTracker/Track3D.cpp
+3
-2
No files found.
BaseTracker/Track3D.cpp
View file @
63dee96d
...
...
@@ -240,8 +240,9 @@ double Track3D::CalculateIou(const std::vector<float>& data)
}
if
(
interHeight
>
0
)
{
double
inter3D
=
area
*
interHeight
;
iou_3d
=
inter3D
/
(
states
[
4
]
*
states
[
5
]
*
states
[
6
]
+
data
[
5
]
*
data
[
6
]
*
data
[
7
]
-
inter3D
);
//double inter3D = area * interHeight;
//iou_3d = inter3D / (states[4] * states[5] * states[6] + data[5] * data[6] * data[7] - inter3D);
iou_3d
=
area
/
(
states
[
4
]
*
states
[
5
]
+
data
[
5
]
*
data
[
6
]);
}
}
//SDK_LOG(SDK_INFO, "CuboidIoU time = %llu", GetCurTime() - begin);
...
...
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