Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
bob
bob.pad.face
Commits
4791a034
Commit
4791a034
authored
Mar 09, 2018
by
Olegs NIKISINS
Browse files
Some fixes to match the load method of bob.db.batl
parent
d718f12f
Pipeline
#17512
passed with stage
in 21 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/pad/face/database/batl.py
View file @
4791a034
...
...
@@ -62,7 +62,7 @@ class BatlPadFile(PadFile):
data
=
f
.
load
(
self
,
directory
=
directory
,
extension
=
extension
,
stream_type
=
self
.
stream_type
,
# TODO: this parameter is currently missing in bob.db.batl, add it there
modality
=
self
.
stream_type
,
# TODO: this parameter is currently missing in bob.db.batl, add it there
reference_stream_type
=
self
.
reference_stream_type
,
data_format_config
=
self
.
data_format_config
,
warp_to_reference
=
self
.
warp_to_reference
,
...
...
@@ -238,15 +238,15 @@ class BatlPadDatabase(PadDatabase):
if
not
os
.
path
.
isfile
(
file_path
):
# no file with annotations
video
=
f
.
load
(
self
,
directory
=
self
.
original_directory
,
extension
=
self
.
original_extension
,
stream_type
=
"color"
,
# TODO: this parameter is currently missing in bob.db.batl, add it there
reference_stream_type
=
"color"
,
data_format_config
=
load_data_config
(
pkg_resources
.
resource_filename
(
'batl.utils'
,
'config/idiap_hdf5_data_config.json'
)),
warp_to_reference
=
False
,
convert_to_rgb
=
False
,
crop
=
None
,
max_frames
=
None
)
video
=
f
.
f
.
load
(
self
,
directory
=
self
.
original_directory
,
extension
=
self
.
original_extension
,
modality
=
"color"
,
# TODO: this parameter is currently missing in bob.db.batl, add it there
reference_stream_type
=
"color"
,
data_format_config
=
load_data_config
(
pkg_resources
.
resource_filename
(
'batl.utils'
,
'config/idiap_hdf5_data_config.json'
)),
warp_to_reference
=
False
,
convert_to_rgb
=
False
,
crop
=
None
,
max_frames
=
None
)
annotations
=
{}
...
...
Write
Preview
Supports
Markdown
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