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.video
Commits
187a651e
Commit
187a651e
authored
Mar 02, 2018
by
Olegs NIKISINS
Browse files
Addressing missing frame annotations
parent
7025d572
Pipeline
#17323
failed with stage
in 16 minutes and 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/video/preprocessor/Wrapper.py
View file @
187a651e
...
...
@@ -125,7 +125,7 @@ class Wrapper(bob.bio.base.preprocessor.Preprocessor):
for
index
,
frame
,
_
in
frames
:
# if annotations are given, we take them
if
annotations
is
not
None
:
annots
=
annotations
[
index
]
if
annotations
is
not
None
:
annots
=
annotations
[
index
]
if
annotations
.
has_key
(
index
)
else
None
# preprocess image (by default: detect a face)
preprocessed
=
self
.
preprocessor
(
frame
,
annots
)
...
...
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