Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
face_recognition
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
se_329_cylicon_valley
face_recognition
Commits
0a7cafdd
Commit
0a7cafdd
authored
8 years ago
by
Noah Eigenfeld
Browse files
Options
Downloads
Patches
Plain Diff
Added predicted name overlay
parent
de40fe29
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
FacialRec.cpp
+2
-1
2 additions, 1 deletion
FacialRec.cpp
with
2 additions
and
1 deletion
FacialRec.cpp
+
2
−
1
View file @
0a7cafdd
...
@@ -213,7 +213,8 @@ int main() {
...
@@ -213,7 +213,8 @@ int main() {
//Add instructions to the screen
//Add instructions to the screen
Mat
picture_with_text
=
picture
.
clone
();
Mat
picture_with_text
=
picture
.
clone
();
putText
(
picture_with_text
,
"Press 's' to save"
,
Point2f
(
375
,
100
),
FONT_HERSHEY_SIMPLEX
,
2.0
,
Scalar
(
255
,
0
,
0
,
0
),
3
);
putText
(
picture_with_text
,
"Press 's' to save"
,
Point2f
(
375
,
100
),
FONT_HERSHEY_SIMPLEX
,
2.0
,
Scalar
(
255
,
0
,
0
,
0
),
3
);
putText
(
picture_with_text
,
"Press ESC/Spacebar to return"
,
Point2f
(
160
,
600
),
FONT_HERSHEY_SIMPLEX
,
2.0
,
Scalar
(
0
,
0
,
255
),
3
);
putText
(
picture_with_text
,
"Predicted User: "
+
users
[
eigen_predictedLabel
],
Point2f
(
275
,
600
),
FONT_HERSHEY_SIMPLEX
,
2.0
,
Scalar
(
255
,
0
,
0
,
0
),
3
);
putText
(
picture_with_text
,
"Press ESC/Spacebar to return"
,
Point2f
(
160
,
670
),
FONT_HERSHEY_SIMPLEX
,
2.0
,
Scalar
(
0
,
0
,
255
),
3
);
imshow
(
"Webcam"
,
picture_with_text
);
imshow
(
"Webcam"
,
picture_with_text
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment