Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
a7d236c0
Commit
a7d236c0
authored
Feb 21, 2014
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added a guarantee that tracks won't be asked for their feature vector until
they are updated at least once with a detection.
parent
3c6cdf50
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
structural_track_association_trainer.h
dlib/svm/structural_track_association_trainer.h
+1
-0
track_association_function_abstract.h
dlib/svm/track_association_function_abstract.h
+2
-0
No files found.
dlib/svm/structural_track_association_trainer.h
View file @
a7d236c0
...
...
@@ -222,6 +222,7 @@ namespace dlib
if
(
samples
[
i
][
j
].
size
()
>
0
)
{
track_type
new_track
;
new_track
.
update_track
(
samples
[
i
][
j
][
0
].
first
);
typename
track_type
::
feature_vector_type
feats
;
new_track
.
get_similarity_features
(
samples
[
i
][
j
][
0
].
first
,
feats
);
return
feats
.
size
();
...
...
dlib/svm/track_association_function_abstract.h
View file @
a7d236c0
...
...
@@ -58,6 +58,8 @@ namespace dlib
feature_vector_type
&
feats
)
const
;
/*!
requires
- update_track() has been called on this track at least once.
ensures
- #feats == A feature vector that contains information describing how
likely it is that det is a detection from the object corresponding to
...
...
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