Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
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
submodule
opencv_contrib
Commits
14341291
Commit
14341291
authored
Mar 21, 2018
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dpm: apply CV_OVERRIDE/CV_FINAL
parent
55767bfc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
12 deletions
+12
-12
dpm_cascade.hpp
modules/dpm/src/dpm_cascade.hpp
+1
-1
dpm_cascade_detector.cpp
modules/dpm/src/dpm_cascade_detector.cpp
+6
-6
dpm_feature.hpp
modules/dpm/src/dpm_feature.hpp
+1
-1
dpm_model.hpp
modules/dpm/src/dpm_model.hpp
+4
-4
No files found.
modules/dpm/src/dpm_cascade.hpp
View file @
14341291
...
...
@@ -141,7 +141,7 @@ class ParalComputeRootPCAScores : public ParallelLoopBody
int
dim
,
std
::
vector
<
Mat
>
&
scores
);
// parallel loop body
void
operator
()
(
const
Range
&
range
)
const
;
void
operator
()
(
const
Range
&
range
)
const
CV_OVERRIDE
;
ParalComputeRootPCAScores
(
const
ParalComputeRootPCAScores
&
pComp
);
...
...
modules/dpm/src/dpm_cascade_detector.cpp
View file @
14341291
...
...
@@ -49,19 +49,19 @@ namespace cv
namespace
dpm
{
class
DPMDetectorImpl
:
public
DPMDetector
class
DPMDetectorImpl
CV_FINAL
:
public
DPMDetector
{
public
:
DPMDetectorImpl
(
const
vector
<
string
>&
filenames
,
const
vector
<
string
>&
classNames
=
vector
<
string
>
()
);
~
DPMDetectorImpl
();
~
DPMDetectorImpl
()
CV_OVERRIDE
;
bool
isEmpty
()
const
;
bool
isEmpty
()
const
CV_OVERRIDE
;
void
detect
(
Mat
&
image
,
CV_OUT
vector
<
ObjectDetection
>&
objects
);
void
detect
(
Mat
&
image
,
CV_OUT
vector
<
ObjectDetection
>&
objects
)
CV_OVERRIDE
;
const
vector
<
string
>&
getClassNames
()
const
;
size_t
getClassCount
()
const
;
const
vector
<
string
>&
getClassNames
()
const
CV_OVERRIDE
;
size_t
getClassCount
()
const
CV_OVERRIDE
;
string
extractModelName
(
const
string
&
filename
);
private
:
...
...
modules/dpm/src/dpm_feature.hpp
View file @
14341291
...
...
@@ -153,7 +153,7 @@ class ParalComputePyramid : public ParallelLoopBody
void
initialize
();
// parallel loop body
void
operator
()
(
const
Range
&
range
)
const
;
void
operator
()
(
const
Range
&
range
)
const
CV_OVERRIDE
;
private
:
// image to compute feature pyramid
...
...
modules/dpm/src/dpm_model.hpp
View file @
14341291
...
...
@@ -130,11 +130,11 @@ class CascadeModel : public Model
std
::
vector
<
Mat
>
partPCAFilters
;
public
:
CascadeModel
()
{}
~
CascadeModel
()
{}
~
CascadeModel
()
CV_OVERRIDE
{}
void
initModel
();
bool
serialize
(
const
std
::
string
&
filename
)
const
;
bool
deserialize
(
const
std
::
string
&
filename
);
void
initModel
()
CV_OVERRIDE
;
bool
serialize
(
const
std
::
string
&
filename
)
const
CV_OVERRIDE
;
bool
deserialize
(
const
std
::
string
&
filename
)
CV_OVERRIDE
;
};
}
// namespace lsvm
...
...
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