Commit a0bbe9e8 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

Account for failed extractor

parent 2ff27466
......@@ -83,6 +83,7 @@ class Wrapper (
for index, frame, quality in self.frame_selector(frames):
# extract features
extracted = self.extractor(frame)
if extracted is not None:
# add features to new frame container
fc.add(index, extracted, quality)
return fc
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment