Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.bio.face
Commits
0412ad80
Commit
0412ad80
authored
Jun 11, 2021
by
Tiago de Freitas Pereira
Browse files
Patch dbs
parent
0785fcd7
Pipeline
#52233
passed with stage
in 42 minutes and 27 seconds
Changes
8
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
bob/bio/face/database/casia_africa.py
View file @
0412ad80
...
...
@@ -97,7 +97,7 @@ class CasiaAfricaDatabase(CSVDataset):
One of the database protocols. Options are "ID-V-All-Ep1", "ID-V-All-Ep2" and "ID-V-All-Ep3"
"""
def
__init__
(
self
,
protocol
):
def
__init__
(
self
,
protocol
,
annotation_type
=
"eyes-center"
,
fixed_positions
=
None
):
# Downloading model if not exists
urls
=
CasiaAfricaDatabase
.
urls
()
...
...
@@ -128,8 +128,8 @@ class CasiaAfricaDatabase(CSVDataset):
),
)
self
.
annotation_type
=
"eyes-center"
self
.
fixed_positions
=
N
on
e
self
.
annotation_type
=
annotation_type
self
.
fixed_positions
=
fixed_positi
on
s
@
staticmethod
def
protocols
():
...
...
bob/bio/face/database/cbsr_nir_vis_2.py
View file @
0412ad80
...
...
@@ -54,7 +54,7 @@ class CBSRNirVis2Database(CSVDataset):
One of the database protocols.
"""
def
__init__
(
self
,
protocol
):
def
__init__
(
self
,
protocol
,
annotation_type
=
"eyes-center"
,
fixed_positions
=
None
):
# Downloading model if not exists
urls
=
CBSRNirVis2Database
.
urls
()
...
...
@@ -91,8 +91,8 @@ class CBSRNirVis2Database(CSVDataset):
EyesAnnotations
(),
),
)
self
.
annotation_type
=
"eyes-center"
self
.
fixed_positions
=
N
on
e
self
.
annotation_type
=
annotation_type
self
.
fixed_positions
=
fixed_positi
on
s
@
staticmethod
def
protocols
():
...
...
bob/bio/face/database/frgc.py
View file @
0412ad80
...
...
@@ -20,7 +20,7 @@ class FRGCDatabase(CSVDataset):
Face Recognition Grand Test dataset
"""
def
__init__
(
self
,
protocol
):
def
__init__
(
self
,
protocol
,
annotation_type
=
"eyes-center"
,
fixed_positions
=
None
):
# Downloading model if not exists
urls
=
FRGCDatabase
.
urls
()
...
...
@@ -44,8 +44,8 @@ class FRGCDatabase(CSVDataset):
),
)
self
.
annotation_type
=
"eyes-center"
self
.
fixed_positions
=
N
on
e
self
.
annotation_type
=
annotation_type
self
.
fixed_positions
=
fixed_positi
on
s
@
staticmethod
def
protocols
():
...
...
bob/bio/face/database/meds.py
View file @
0412ad80
...
...
@@ -93,7 +93,7 @@ class MEDSDatabase(CSVDatasetZTNorm):
"""
def
__init__
(
self
,
protocol
):
def
__init__
(
self
,
protocol
,
annotation_type
=
"eyes-center"
,
fixed_positions
=
None
):
# Downloading model if not exists
urls
=
MEDSDatabase
.
urls
()
...
...
@@ -117,8 +117,8 @@ class MEDSDatabase(CSVDatasetZTNorm):
),
)
self
.
annotation_type
=
"eyes-center"
self
.
fixed_positions
=
N
on
e
self
.
annotation_type
=
annotation_type
self
.
fixed_positions
=
fixed_positi
on
s
@
staticmethod
def
urls
():
...
...
bob/bio/face/database/mobio.py
View file @
0412ad80
...
...
@@ -48,7 +48,7 @@ class MobioDatabase(CSVDatasetZTNorm):
"""
def
__init__
(
self
,
protocol
):
def
__init__
(
self
,
protocol
,
annotation_type
=
"eyes-center"
,
fixed_positions
=
None
):
# Downloading model if not exists
urls
=
MobioDatabase
.
urls
()
...
...
@@ -71,8 +71,8 @@ class MobioDatabase(CSVDatasetZTNorm):
EyesAnnotations
(),
),
)
self
.
annotation_type
=
"eyes-center"
self
.
fixed_positions
=
N
on
e
self
.
annotation_type
=
annotation_type
self
.
fixed_positions
=
fixed_positi
on
s
@
staticmethod
def
protocols
():
...
...
bob/bio/face/database/morph.py
View file @
0412ad80
...
...
@@ -57,7 +57,7 @@ class MorphDatabase(CSVDatasetZTNorm):
"""
def
__init__
(
self
,
protocol
):
def
__init__
(
self
,
protocol
,
annotation_type
=
"eyes-center"
,
fixed_positions
=
None
):
# Downloading model if not exists
urls
=
MorphDatabase
.
urls
()
...
...
@@ -81,8 +81,8 @@ class MorphDatabase(CSVDatasetZTNorm):
),
)
self
.
annotation_type
=
"eyes-center"
self
.
fixed_positions
=
N
on
e
self
.
annotation_type
=
annotation_type
self
.
fixed_positions
=
fixed_positi
on
s
@
staticmethod
def
urls
():
...
...
bob/bio/face/database/multipie.py
View file @
0412ad80
...
...
@@ -86,7 +86,7 @@ class MultipieDatabase(CSVDataset):
"""
def
__init__
(
self
,
protocol
):
def
__init__
(
self
,
protocol
,
annotation_type
=
"eyes-center"
,
fixed_positions
=
None
):
# Downloading model if not exists
urls
=
MultipieDatabase
.
urls
()
...
...
bob/bio/face/database/pola_thermal.py
View file @
0412ad80
...
...
@@ -79,7 +79,7 @@ class PolaThermalDatabase(CSVDataset):
One of the database protocols.
"""
def
__init__
(
self
,
protocol
):
def
__init__
(
self
,
protocol
,
annotation_type
=
"eyes-center"
,
fixed_positions
=
None
):
# Downloading model if not exists
urls
=
PolaThermalDatabase
.
urls
()
...
...
@@ -113,8 +113,8 @@ class PolaThermalDatabase(CSVDataset):
),
)
self
.
annotation_type
=
"eyes-center"
self
.
fixed_positions
=
N
on
e
self
.
annotation_type
=
annotation_type
self
.
fixed_positions
=
fixed_positi
on
s
@
staticmethod
def
protocols
():
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment