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
c839966b
Commit
c839966b
authored
Apr 22, 2013
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor changes to avoid compiler warnings.
parent
f1292139
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
scan_fhog_pyramid.h
dlib/image_processing/scan_fhog_pyramid.h
+1
-1
scan_fhog_pyramid_abstract.h
dlib/image_processing/scan_fhog_pyramid_abstract.h
+1
-1
cross_validate_track_association_trainer.h
dlib/svm/cross_validate_track_association_trainer.h
+1
-1
learning_to_track.cpp
dlib/test/learning_to_track.cpp
+2
-2
No files found.
dlib/image_processing/scan_fhog_pyramid.h
View file @
c839966b
...
...
@@ -52,7 +52,7 @@ namespace dlib
extract_fhog_features
(
img
,
hog
,
cell_size
,
filter_rows_padding
,
filter_cols_padding
);
}
inline
long
get_num_planes
(
inline
unsigned
long
get_num_planes
(
)
const
{
return
31
;
...
...
dlib/image_processing/scan_fhog_pyramid_abstract.h
View file @
c839966b
...
...
@@ -173,7 +173,7 @@ namespace dlib
feats_to_image(point(c,r),cell_size,filter_rows_padding,filter_cols_padding)
!*/
inline
long
get_num_planes
(
inline
unsigned
long
get_num_planes
(
)
const
{
return
31
;
}
/*!
ensures
...
...
dlib/svm/cross_validate_track_association_trainer.h
View file @
c839966b
...
...
@@ -31,7 +31,7 @@ namespace dlib
dlib
::
rand
rnd
;
std
::
vector
<
track_type
>
tracks
;
std
::
map
<
label_type
,
unsigned
long
>
track_idx
;
// tracks[track_idx[id]] == track with ID id.
std
::
map
<
label_type
,
long
>
track_idx
;
// tracks[track_idx[id]] == track with ID id.
for
(
unsigned
long
j
=
0
;
j
<
samples
.
size
();
++
j
)
{
...
...
dlib/test/learning_to_track.cpp
View file @
c839966b
...
...
@@ -113,7 +113,7 @@ namespace
}
template
<
typename
detection
>
detection
sample_detection_from_sensor
(
unsigned
long
object_id
)
detection
sample_detection_from_sensor
(
long
object_id
)
{
DLIB_CASSERT
(
object_id
<
num_objects
,
"You can't ask to sample a detection from an object that doesn't exist."
);
...
...
@@ -179,7 +179,7 @@ namespace
// ----------------------------------------------------------------------------------------
template
<
typename
detection
>
std
::
vector
<
detection
>
make_random_detections
(
unsigned
long
num_dets
)
std
::
vector
<
detection
>
make_random_detections
(
long
num_dets
)
{
DLIB_CASSERT
(
num_dets
<=
num_objects
,
"You can't ask for more detections than there are objects in our little simulation."
);
...
...
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