Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
Project-Face_KeyPoint
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
20200318093
Project-Face_KeyPoint
Commits
da967838
Commit
da967838
authored
Jun 26, 2020
by
20200318093
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new
parent
0c41cf46
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
face.keypoints.py
+2
-2
my_model.h5
+0
-0
No files found.
face.keypoints.py
View file @
da967838
...
@@ -9,9 +9,9 @@ from utils import transparentOverlay
...
@@ -9,9 +9,9 @@ from utils import transparentOverlay
os
.
environ
[
'KMP_DUPLICATE_LIB_OK'
]
=
'True'
os
.
environ
[
'KMP_DUPLICATE_LIB_OK'
]
=
'True'
# 加载预先训练好的模型
# 加载预先训练好的模型
my_model
=
kmodel
.
load_trained_model
(
'yuan_model_mac'
)
#
my_model = kmodel.load_trained_model('yuan_model_mac')
# 加载自己训练好的模型(测试时取消下面行的注释)
# 加载自己训练好的模型(测试时取消下面行的注释)
#
my_model = kmodel.load_trained_model('my_model')
my_model
=
kmodel
.
load_trained_model
(
'my_model'
)
# 创建人脸检测器
# 创建人脸检测器
face_cascade
=
cv2
.
CascadeClassifier
(
'cascades/haarcascade_frontalface_default.xml'
)
face_cascade
=
cv2
.
CascadeClassifier
(
'cascades/haarcascade_frontalface_default.xml'
)
...
...
my_model.h5
View file @
da967838
No preview for this file type
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