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
cf0d5a4c
Commit
cf0d5a4c
authored
Mar 12, 2015
by
Jack Culpepper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
simplify
parent
a12e1e71
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
simple_object_detector_py.h
tools/python/src/simple_object_detector_py.h
+2
-10
No files found.
tools/python/src/simple_object_detector_py.h
View file @
cf0d5a4c
...
...
@@ -155,20 +155,12 @@ namespace dlib
std
::
vector
<
dlib
::
rectangle
>
run_detector1
(
boost
::
python
::
object
img
,
const
unsigned
int
upsampling_amount_
)
{
std
::
vector
<
double
>
detection_confidences
;
std
::
vector
<
double
>
weight_indices
;
return
run_detector_with_upscale1
(
detector
,
img
,
upsampling_amount_
,
detection_confidences
,
weight_indices
);
return
run_detector_with_upscale2
(
detector
,
img
,
upsampling_amount_
);
}
std
::
vector
<
dlib
::
rectangle
>
run_detector2
(
boost
::
python
::
object
img
)
{
std
::
vector
<
double
>
detection_confidences
;
std
::
vector
<
double
>
weight_indices
;
return
run_detector_with_upscale1
(
detector
,
img
,
upsampling_amount
,
detection_confidences
,
weight_indices
);
return
run_detector_with_upscale2
(
detector
,
img
,
upsampling_amount
);
}
...
...
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