Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
P
py-bigstream-cam
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kamron Aroonrua
py-bigstream-cam
Commits
96c53e80
Commit
96c53e80
authored
Oct 29, 2019
by
Kamron Aroonrua
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
face
parent
27f45178
Pipeline
#52
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
faceprocess.py
test/faceprocess.py
+1
-4
No files found.
test/faceprocess.py
View file @
96c53e80
...
...
@@ -18,11 +18,8 @@ def load_face_db(known_people_folder):
encodings
=
face_recognition
.
face_locations
(
img
,
model
=
"cnn"
)
print
(
'loading facedb >> '
+
basename
)
if
len
(
encodings
)
>
1
:
click
.
echo
(
"WARNING: More than one face found in {}. Only considering the first face."
.
format
(
file
))
if
len
(
encodings
)
==
0
:
click
.
echo
(
"WARNING: No faces found in {}. Ignoring file."
.
format
(
file
)
)
print
(
'FACE Not Found >>>>>>>> '
+
basename
)
else
:
#known_names.append(basename)
#known_face_encodings.append(encodings[0])
...
...
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