Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.ip.facedetect
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
bob
bob.ip.facedetect
Merge requests
!13
Port mtcnn to Tensorflow 2
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Port mtcnn to Tensorflow 2
tf2-mtcnn-graph
into
master
Overview
9
Commits
17
Pipelines
11
Changes
12
All threads resolved!
Hide all comments
Merged
Yannick DAYER
requested to merge
tf2-mtcnn-graph
into
master
4 years ago
Overview
9
Commits
17
Pipelines
11
Changes
10
All threads resolved!
Hide all comments
Expand
Using the TF1 model.pb
0
0
Merge request reports
Compare
version 2
version 10
c8c88696
4 years ago
version 9
18833067
4 years ago
version 8
6d9b728f
4 years ago
version 7
137921e1
4 years ago
version 6
8fd2c343
4 years ago
version 5
1dcfa89c
4 years ago
version 4
3f210578
4 years ago
version 3
a66d18cb
4 years ago
version 2
35c48369
4 years ago
version 1
7c292f2c
4 years ago
master (base)
and
version 7
latest version
4cd4481e
17 commits,
4 years ago
version 10
c8c88696
16 commits,
4 years ago
version 9
18833067
15 commits,
4 years ago
version 8
6d9b728f
14 commits,
4 years ago
version 7
137921e1
13 commits,
4 years ago
version 6
8fd2c343
12 commits,
4 years ago
version 5
1dcfa89c
12 commits,
4 years ago
version 4
3f210578
11 commits,
4 years ago
version 3
a66d18cb
9 commits,
4 years ago
version 2
35c48369
8 commits,
4 years ago
version 1
7c292f2c
6 commits,
4 years ago
Show latest version
10 files
+
172
−
147
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
10
Search (e.g. *.vue) (Ctrl+P)
bob/ip/facedetect/tests/test_annotators.py deleted
100644 → 0
+
0
−
23
Options
from
bob.ip.facedetect
import
MTCNNAnnotator
import
bob.io.base
import
bob.io.base.test_utils
import
bob.io.image
import
numpy
face_image
=
bob
.
io
.
base
.
load
(
bob
.
io
.
base
.
test_utils
.
datafile
(
'
testimage.jpg
'
,
'
bob.ip.facedetect
'
)
)
def
test_mtcnn_annnotator
():
mtcnn_annotator
=
MTCNNAnnotator
()
annot
=
mtcnn_annotator
([
face_image
],
expected_face_nb
=
1
)[
0
][
0
]
assert
[
int
(
x
)
for
x
in
annot
[
'
topleft
'
]]
==
[
68
,
76
],
annot
assert
[
int
(
x
)
for
x
in
annot
[
'
bottomright
'
]]
==
[
344
,
274
],
annot
assert
[
int
(
x
)
for
x
in
annot
[
'
reye
'
]]
==
[
180
,
129
],
annot
assert
[
int
(
x
)
for
x
in
annot
[
'
leye
'
]]
==
[
175
,
220
],
annot
assert
numpy
.
allclose
(
annot
[
'
quality
'
],
0.9998974
),
annot
\ No newline at end of file
Loading