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
26c2d022
Commit
26c2d022
authored
Jul 10, 2017
by
LaurentBerger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update doc and method String getDefaultName()
parent
07fb53c3
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
1 deletion
+13
-1
facerec.hpp
modules/face/include/opencv2/face/facerec.hpp
+1
-1
eigen_faces.cpp
modules/face/src/eigen_faces.cpp
+4
-0
fisher_faces.cpp
modules/face/src/fisher_faces.cpp
+4
-0
lbph_faces.cpp
modules/face/src/lbph_faces.cpp
+4
-0
No files found.
modules/face/include/opencv2/face/facerec.hpp
View file @
26c2d022
...
@@ -151,7 +151,7 @@ public:
...
@@ -151,7 +151,7 @@ public:
/**
/**
@param radius The radius used for building the Circular Local Binary Pattern. The greater the
@param radius The radius used for building the Circular Local Binary Pattern. The greater the
radius, the
radius, the
smoother the image but more spatial information you can get.
@param neighbors The number of sample points to build a Circular Local Binary Pattern from. An
@param neighbors The number of sample points to build a Circular Local Binary Pattern from. An
appropriate value is to use `8` sample points. Keep in mind: the more sample points you include,
appropriate value is to use `8` sample points. Keep in mind: the more sample points you include,
the higher the computational cost.
the higher the computational cost.
...
...
modules/face/src/eigen_faces.cpp
View file @
26c2d022
...
@@ -47,6 +47,10 @@ public:
...
@@ -47,6 +47,10 @@ public:
// Send all predict results to caller side for custom result handling
// Send all predict results to caller side for custom result handling
void
predict
(
InputArray
src
,
Ptr
<
PredictCollector
>
collector
)
const
;
void
predict
(
InputArray
src
,
Ptr
<
PredictCollector
>
collector
)
const
;
String
getDefaultName
()
const
{
return
"opencv_eigenfaces"
;
}
};
};
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
...
...
modules/face/src/fisher_faces.cpp
View file @
26c2d022
...
@@ -42,6 +42,10 @@ public:
...
@@ -42,6 +42,10 @@ public:
// Send all predict results to caller side for custom result handling
// Send all predict results to caller side for custom result handling
void
predict
(
InputArray
src
,
Ptr
<
PredictCollector
>
collector
)
const
;
void
predict
(
InputArray
src
,
Ptr
<
PredictCollector
>
collector
)
const
;
String
getDefaultName
()
const
{
return
"opencv_fisherfaces"
;
}
};
};
// Removes duplicate elements in a given vector.
// Removes duplicate elements in a given vector.
...
...
modules/face/src/lbph_faces.cpp
View file @
26c2d022
...
@@ -103,6 +103,10 @@ public:
...
@@ -103,6 +103,10 @@ public:
bool
empty
()
const
{
bool
empty
()
const
{
return
(
_labels
.
empty
());
return
(
_labels
.
empty
());
}
}
String
getDefaultName
()
const
{
return
"opencv_lbphfaces"
;
}
CV_IMPL_PROPERTY
(
int
,
GridX
,
_grid_x
)
CV_IMPL_PROPERTY
(
int
,
GridX
,
_grid_x
)
CV_IMPL_PROPERTY
(
int
,
GridY
,
_grid_y
)
CV_IMPL_PROPERTY
(
int
,
GridY
,
_grid_y
)
...
...
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