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
5433c4cc
Commit
5433c4cc
authored
Dec 09, 2021
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交更新
parent
f046d152
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
BaseTrack.h
BaseTracker/BaseTrack.h
+1
-1
Track3D.cpp
BaseTracker/Track3D.cpp
+7
-2
Track3D.h
BaseTracker/Track3D.h
+1
-1
No files found.
BaseTracker/BaseTrack.h
View file @
5433c4cc
...
...
@@ -22,7 +22,7 @@ public:
virtual
float
GetNIS
()
const
;
virtual
bool
IsLost
();
virtual
float
CalculateIou
(
const
std
::
vector
<
float
>&
data
)
=
0
;
virtual
double
CalculateIou
(
const
std
::
vector
<
float
>&
data
)
=
0
;
int
coast_cycles_
=
0
,
hit_streak_
=
0
;
...
...
BaseTracker/Track3D.cpp
View file @
5433c4cc
...
...
@@ -59,8 +59,13 @@ Track3D::Track3D():BaseTrack(10, 7)
kf_
=
kf
;
}
float
Track3D
::
CalculateIou
(
const
std
::
vector
<
float
>&
data
)
double
Track3D
::
CalculateIou
(
const
std
::
vector
<
float
>&
data
)
{
std
::
vector
<
float
>
states
;
GetStateData
(
states
);
return
0.0
f
;
std
::
vector
<
float
>
truth_poses
{
states
[
0
],
states
[
1
],
states
[
2
]
.0
,
0
,
0
,
states
[
6
],
states
[
3
],
states
[
4
],
states
[
5
]
};
std
::
vector
<
float
>
landmark_poses
{
data
[
0
],
data
[
1
],
data
[
2
]
.0
,
0
,
0
,
data
[
6
],
data
[
3
],
data
[
4
],
data
[
5
]
};
double
iou_3d
=
CuboidIoU
(
truth_poses
,
landmark_poses
);
return
iou_3d
;
}
BaseTracker/Track3D.h
View file @
5433c4cc
...
...
@@ -14,7 +14,7 @@ public:
Track3D
();
~
Track3D
()
{}
virtual
float
CalculateIou
(
const
std
::
vector
<
float
>&
data
);
virtual
double
CalculateIou
(
const
std
::
vector
<
float
>&
data
);
trackOjbPtr
m_obj
=
nullptr
;
...
...
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