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
81d2d597
Commit
81d2d597
authored
Mar 12, 2018
by
Olegs NIKISINS
Browse files
Changed the annotations to work with HLDI load method
parent
03121b15
Pipeline
#17594
failed with stage
in 21 minutes and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/pad/face/database/batl.py
View file @
81d2d597
...
...
@@ -248,14 +248,15 @@ class BatlPadDatabase(PadDatabase):
if
not
os
.
path
.
isfile
(
file_path
):
# no file with annotations
video
=
f
.
f
.
load
(
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"
,
warp_to_reference
=
False
,
convert_to_rgb
=
False
,
crop
=
None
,
max_frames
=
None
)[
'video'
]
f
.
stream_type
=
"color"
f
.
reference_stream_type
=
"color"
f
.
warp_to_reference
=
False
f
.
convert_to_rgb
=
False
f
.
crop
=
None
f
.
video_data_only
=
True
video
=
f
.
load
(
directory
=
self
.
original_directory
,
extension
=
self
.
original_extension
)
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