OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:eyes
(Results
1 - 3
of
3
) sorted by null
/external/opencv3/samples/cpp/tutorial_code/objectDetection/
objectDetection.cpp
30
if( !eyes_cascade.load( eyes_cascade_name ) ){ printf("--(!)Error loading
eyes
cascade\n"); return -1; };
71
std::vector<Rect>
eyes
;
local
73
//-- In each face, detect
eyes
74
eyes_cascade.detectMultiScale( faceROI,
eyes
, 1.1, 2, 0 |CASCADE_SCALE_IMAGE, Size(30, 30) );
76
for ( size_t j = 0; j <
eyes
.size(); j++ )
78
Point eye_center( faces[i].x +
eyes
[j].x +
eyes
[j].width/2, faces[i].y +
eyes
[j].y +
eyes
[j].height/2 );
79
int radius = cvRound( (
eyes
[j].width + eyes[j].height)*0.25 )
[
all
...]
objectDetection2.cpp
4
* @brief A simplified version of facedetect.cpp, show how to load a cascade classifier and how to find objects (Face +
eyes
) in a video stream - Using LBP here
36
if( !eyes_cascade.load( eyes_cascade_name ) ){ printf("--(!)Error loading
eyes
cascade\n"); return -1; };
77
std::vector<Rect>
eyes
;
local
79
//-- In each face, detect
eyes
80
eyes_cascade.detectMultiScale( faceROI,
eyes
, 1.1, 2, 0 |CASCADE_SCALE_IMAGE, Size(30, 30) );
81
if(
eyes
.size() == 2)
87
for( size_t j = 0; j <
eyes
.size(); j++ )
88
{ //-- Draw the
eyes
89
Point eye_center( faces[i].x +
eyes
[j].x +
eyes
[j].width/2, faces[i].y + eyes[j].y + eyes[j].height/2 )
[
all
...]
/external/opencv3/samples/cpp/
facial_features.cpp
5
* Haarcascade classifiers for face,
eyes
, nose and mouth
51
eye_cascade_path = (doesCmdOptionExist(args, "-
eyes
")) ? getCommandOption(args, "-
eyes
") : "";
97
"The program detects a face and
eyes
, nose and mouth inside the face."
106
"\t-
eyes
: Specify the haarcascade classifier for eye detection.\n"
112
"(1) ./cpp-example-facial_features image.jpg face.xml -
eyes
eyes
.xml -mouth mouth.xml\n"
113
"\tThis will detect the face,
eyes
and mouth in image.jpg.\n"
119
cout << " \n\nThe classifiers for face and
eyes
can be downloaded from : "
145
//
Eyes
, nose and mouth will be detected inside the face (region of interest
156
vector<Rect_<int> >
eyes
;
local
[
all
...]
Completed in 179 milliseconds