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
86946029
Commit
86946029
authored
Dec 15, 2021
by
oscar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交gpu参数
parent
4b5f6f63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
BaseTracker.h
BaseTracker/BaseTracker.h
+7
-5
No files found.
BaseTracker/BaseTracker.h
View file @
86946029
...
...
@@ -17,6 +17,11 @@ class BaseTracker
public
:
BaseTracker
()
{}
void
SetGPU
(
int
gpu
)
{
m_isGPU
=
gpu
;
}
int
Run
(
const
std
::
vector
<
std
::
vector
<
float
>
>&
detections
,
std
::
vector
<
uint64_t
>&
detectionsId
,
std
::
map
<
uint64_t
,
int
>&
updateId
,
std
::
vector
<
uint64_t
>&
lostId
);
std
::
map
<
uint64_t
,
std
::
shared_ptr
<
T
>
>&
GetStates
();
...
...
@@ -28,13 +33,10 @@ public:
std
::
map
<
uint64_t
,
std
::
shared_ptr
<
T
>
>
m_tracker
;
//CalculateIouCallback m_cbIou = nullptr;
//float m_iou_threshold = 0.3f;//匈牙利算法大于这个iou值为配置成功
//int m_kMaxCoastCycles = 2;//卡尔曼算法大于这个值就删除
uint64_t
m_countId
=
0
;
//生成物体id的累加值
//std::map<uint64_t, StateInfo> m_states;
int
m_isGPU
=
0
;
//默认不使用
};
...
...
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