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
33d75dc8
Commit
33d75dc8
authored
Jun 14, 2021
by
Tiago de Freitas Pereira
Browse files
Updated DB interface
parent
288c6a8f
Pipeline
#51451
passed with stage
in 64 minutes and 26 seconds
Changes
8
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/face/database/casia_africa.py
View file @
33d75dc8
...
...
@@ -126,11 +126,10 @@ class CasiaAfricaDatabase(CSVDataset):
),
EyesAnnotations
(),
),
annotation_type
=
annotation_type
,
fixed_positions
=
fixed_positions
,
)
self
.
annotation_type
=
annotation_type
self
.
fixed_positions
=
fixed_positions
@
staticmethod
def
protocols
():
# TODO: Until we have (if we have) a function that dumps the protocols, let's use this one.
...
...
bob/bio/face/database/cbsr_nir_vis_2.py
View file @
33d75dc8
...
...
@@ -90,9 +90,9 @@ class CBSRNirVis2Database(CSVDataset):
),
EyesAnnotations
(),
),
annotation_type
=
annotation_type
,
fixed_positions
=
fixed_positions
,
)
self
.
annotation_type
=
annotation_type
self
.
fixed_positions
=
fixed_positions
@
staticmethod
def
protocols
():
...
...
bob/bio/face/database/frgc.py
View file @
33d75dc8
...
...
@@ -42,11 +42,10 @@ class FRGCDatabase(CSVDataset):
),
EyesAnnotations
(),
),
annotation_type
=
annotation_type
,
fixed_positions
=
fixed_positions
,
)
self
.
annotation_type
=
annotation_type
self
.
fixed_positions
=
fixed_positions
@
staticmethod
def
protocols
():
# TODO: Until we have (if we have) a function that dumps the protocols, let's use this one.
...
...
bob/bio/face/database/meds.py
View file @
33d75dc8
...
...
@@ -115,11 +115,10 @@ class MEDSDatabase(CSVDatasetZTNorm):
),
EyesAnnotations
(),
),
annotation_type
=
annotation_type
,
fixed_positions
=
fixed_positions
,
)
self
.
annotation_type
=
annotation_type
self
.
fixed_positions
=
fixed_positions
@
staticmethod
def
urls
():
return
[
...
...
bob/bio/face/database/mobio.py
View file @
33d75dc8
...
...
@@ -70,9 +70,9 @@ class MobioDatabase(CSVDatasetZTNorm):
),
EyesAnnotations
(),
),
annotation_type
=
annotation_type
,
fixed_positions
=
fixed_positions
,
)
self
.
annotation_type
=
annotation_type
self
.
fixed_positions
=
fixed_positions
@
staticmethod
def
protocols
():
...
...
bob/bio/face/database/morph.py
View file @
33d75dc8
...
...
@@ -79,11 +79,10 @@ class MorphDatabase(CSVDatasetZTNorm):
),
EyesAnnotations
(),
),
annotation_type
=
annotation_type
,
fixed_positions
=
fixed_positions
,
)
self
.
annotation_type
=
annotation_type
self
.
fixed_positions
=
fixed_positions
@
staticmethod
def
urls
():
return
[
...
...
bob/bio/face/database/multipie.py
View file @
33d75dc8
...
...
@@ -108,11 +108,10 @@ class MultipieDatabase(CSVDataset):
),
MultiposeAnnotations
(),
),
annotation_type
=
[
"eyes-center"
,
"left-profile"
,
"right-profile"
],
fixed_positions
=
None
,
)
self
.
annotation_type
=
[
"eyes-center"
,
"left-profile"
,
"right-profile"
]
self
.
fixed_positions
=
None
@
staticmethod
def
protocols
():
# TODO: Until we have (if we have) a function that dumps the protocols, let's use this one.
...
...
bob/bio/face/database/pola_thermal.py
View file @
33d75dc8
...
...
@@ -111,11 +111,10 @@ class PolaThermalDatabase(CSVDataset):
),
EyesAnnotations
(),
),
annotation_type
=
annotation_type
,
fixed_positions
=
fixed_positions
,
)
self
.
annotation_type
=
annotation_type
self
.
fixed_positions
=
fixed_positions
@
staticmethod
def
protocols
():
# TODO: Until we have (if we have) a function that dumps the protocols, let's use this one.
...
...
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