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
b014e4a5
Commit
b014e4a5
authored
Feb 07, 2020
by
Amir MOHAMMADI
Browse files
fix sphinx warnings
parent
997d95c2
Pipeline
#36745
passed with stage
in 11 minutes and 50 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/video/annotator/Base.py
View file @
b014e4a5
...
...
@@ -9,7 +9,7 @@ class Base(bob.bio.base.annotator.Annotator):
----------
frame_selector : :any:`bob.bio.video.FrameSelector`
A frame selector class to define, which frames of the video to use.
read_original_data : callable
read_original_data :
``
callable
``
A function with the signature of
``data = read_original_data(biofile, directory, extension)``
that will be used to load the data from biofiles. By default the
...
...
bob/bio/video/annotator/FailSafeVideo.py
View file @
b014e4a5
...
...
@@ -28,7 +28,7 @@ class FailSafeVideo(Base):
The maximum number of frames that an annotation is valid for next frames.
This value should be positive. If you want to set max_age to infinite,
then you can use the :any:`bob.bio.video.annotator.Wrapper` instead.
validator : callable
validator :
``
callable
``
A function that takes the annotations of a frame and validates it.
...
...
bob/bio/video/annotator/__init__.py
View file @
b014e4a5
...
...
@@ -10,7 +10,7 @@ def normalize_annotations(annotations, validator, max_age=-1):
strings (starting from 0). The inside dicts contain annotations for that
frame. The dictionary needs to be an ordered dict in order for this to
work.
validator : callable
validator :
``
callable
``
Takes a dict (annotations) and returns True if the annotations are valid.
This can be a check based on minimal face size for example: see
:any:`bob.bio.face.annotator.min_face_size_validator`.
...
...
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