Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
F
face-recognition
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
se101-team-flex
face-recognition
Commits
385774bc
Commit
385774bc
authored
Nov 07, 2019
by
Kyle Anderson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Autoformat
parent
b84e731a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
authenticate_user.py
authenticate_user.py
+3
-2
No files found.
authenticate_user.py
View file @
385774bc
...
...
@@ -125,8 +125,9 @@ def recognize_user(known_faces: dict, encoding_model: str = "hog", image_flip: i
def
recognize_user_from_database
(
database_loc
:
str
=
common
.
EMBEDDINGS_LOC
,
encoding_model
:
str
=
"hog"
,
image_flip
:
int
=
None
,
draw_rectangles
:
bool
=
False
):
return
recognize_user
(
data_handler
.
load_database
(
database_loc
),
encoding_model
=
encoding_model
,
image_flip
=
image_flip
,
draw_rectangles
=
draw_rectangles
)
return
recognize_user
(
data_handler
.
load_database
(
database_loc
),
encoding_model
=
encoding_model
,
image_flip
=
image_flip
,
draw_rectangles
=
draw_rectangles
)
# If this program is the main program, authenticate the user.
...
...
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