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.bio.video
Commits
dacf30d8
Commit
dacf30d8
authored
Sep 15, 2016
by
Tiago de Freitas Pereira
Browse files
[refactoring2016] Fixed small issues
parent
5f357c8b
Pipeline
#3734
passed with stages
in 51 minutes and 46 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/video/preprocessor/Wrapper.py
View file @
dacf30d8
...
...
@@ -41,6 +41,11 @@ class Wrapper(bob.bio.base.preprocessor.Preprocessor):
Use compression to write the resulting preprocessed HDF5 files.
This is experimental and might cause trouble.
Use this flag with care.
read_original_data:
Function that loads the raw data.
If not explicitly defined the raw data will be loaded by :py:method:`bob.bio.base.database.VideoBioFile.load`
"""
def
__init__
(
self
,
...
...
bob/bio/video/test/dummy/database.py
View file @
dacf30d8
...
...
@@ -8,7 +8,7 @@ import os
class
DummyBioFile
(
VideoBioFile
):
def
load
(
self
,
directory
=
None
,
extension
=
'.
avi
'
):
def
load
(
self
,
directory
=
None
,
extension
=
'.
pgm
'
):
file_name
=
self
.
make_path
(
directory
,
extension
)
fc
=
FrameContainer
()
fc
.
add
(
os
.
path
.
basename
(
file_name
),
bob
.
io
.
base
.
load
(
file_name
))
...
...
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