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
a0bbe9e8
Commit
a0bbe9e8
authored
Feb 09, 2018
by
Amir MOHAMMADI
Browse files
Account for failed extractor
parent
2ff27466
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/video/extractor/Wrapper.py
View file @
a0bbe9e8
...
...
@@ -83,8 +83,9 @@ class Wrapper (bob.bio.base.extractor.Extractor):
for
index
,
frame
,
quality
in
self
.
frame_selector
(
frames
):
# extract features
extracted
=
self
.
extractor
(
frame
)
# add features to new frame container
fc
.
add
(
index
,
extracted
,
quality
)
if
extracted
is
not
None
:
# add features to new frame container
fc
.
add
(
index
,
extracted
,
quality
)
return
fc
...
...
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