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
2506230a
Commit
2506230a
authored
Oct 13, 2022
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交iou计算范围调整
parent
a0f7c794
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Track3DEx.cpp
ros2/Track3DEx.cpp
+2
-2
No files found.
ros2/Track3DEx.cpp
View file @
2506230a
...
...
@@ -278,8 +278,8 @@ double Track3DEx::CalculateIou(const std::vector<float>& data)
float
v
=
sqrt
(
states
[
7
]
*
states
[
7
]
+
states
[
8
]
*
states
[
8
]);
cv
::
RotatedRect
rect1
=
cv
::
RotatedRect
(
cv
::
Point2f
(
states
[
0
],
states
[
1
]),
cv
::
Size2f
(
states
[
4
]
+
v
,
states
[
5
]
*
1.5
f
),
states
[
3
]
*
180
/
3.1415926
);
cv
::
RotatedRect
rect2
=
cv
::
RotatedRect
(
cv
::
Point2f
(
data
[
1
],
data
[
2
]),
cv
::
Size2f
(
data
[
5
]
,
data
[
6
]
),
data
[
4
]
*
180
/
3.1415926
);
cv
::
RotatedRect
rect1
=
cv
::
RotatedRect
(
cv
::
Point2f
(
states
[
0
],
states
[
1
]),
cv
::
Size2f
(
states
[
4
]
*
1.5
f
+
v
,
states
[
5
]
*
2.0
f
),
states
[
3
]
*
180
/
3.1415926
);
cv
::
RotatedRect
rect2
=
cv
::
RotatedRect
(
cv
::
Point2f
(
data
[
1
],
data
[
2
]),
cv
::
Size2f
(
data
[
5
]
*
1.5
f
,
data
[
6
]
*
2.0
f
),
data
[
4
]
*
180
/
3.1415926
);
uint64_t
begin
=
GetCurTime
();
double
iou_3d
=
0.0
f
;
...
...
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