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
a57744ac
Commit
a57744ac
authored
Sep 08, 2011
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added the structural_svm_object_detection_problem object.
parent
c81c5e2f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
0 deletions
+50
-0
structural_svm_object_detection_problem.h
dlib/svm/structural_svm_object_detection_problem.h
+0
-0
structural_svm_object_detection_problem_abstract.h
dlib/svm/structural_svm_object_detection_problem_abstract.h
+49
-0
svm_threaded.h
dlib/svm_threaded.h
+1
-0
No files found.
dlib/svm/structural_svm_object_detection_problem.h
0 → 100644
View file @
a57744ac
This diff is collapsed.
Click to expand it.
dlib/svm/structural_svm_object_detection_problem_abstract.h
0 → 100644
View file @
a57744ac
// Copyright (C) 2011 Davis E. King (davis@dlib.net)
// License: Boost Software License See LICENSE.txt for the full license.
#ifndef DLIB_STRUCTURAL_SVM_ObJECT_DETECTION_PROBLEM_ABSTRACT_H__
#define DLIB_STRUCTURAL_SVM_ObJECT_DETECTION_PROBLEM_ABSTRACT_H__
#include "../matrix.h"
#include "structural_svm_problem_threaded_abstract.h"
#include <sstream>
namespace
dlib
{
// ----------------------------------------------------------------------------------------
template
<
typename
image_scanner_type
,
typename
overlap_tester_type
,
typename
image_array_type
>
class
structural_svm_object_detection_problem
:
public
structural_svm_problem_threaded
<
matrix
<
double
,
0
,
1
>
>
,
noncopyable
{
public
:
structural_svm_object_detection_problem
(
const
image_scanner_type
&
scanner
,
const
overlap_tester_type
&
overlap_tester
,
const
image_array_type
&
images_
,
const
std
::
vector
<
std
::
vector
<
rectangle
>
>&
rects_
,
unsigned
long
num_threads
=
2
);
void
set_overlap_eps
(
double
eps
);
double
get_overlap_eps
(
)
const
;
};
// ----------------------------------------------------------------------------------------
}
#endif // DLIB_STRUCTURAL_SVM_ObJECT_DETECTION_PROBLEM_ABSTRACT_H__
dlib/svm_threaded.h
View file @
a57744ac
...
...
@@ -7,6 +7,7 @@
#include "svm/svm_threaded.h"
#include "svm/structural_svm_problem_threaded.h"
#include "svm/structural_svm_distributed.h"
#include "svm/structural_svm_object_detection_problem.h"
#endif // DLIB_SVm_THREADED_HEADER
...
...
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