Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.ip.facelandmarks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
bob
bob.ip.facelandmarks
Commits
7788e7bb
There was a problem fetching the pipeline summary.
Commit
7788e7bb
authored
7 years ago
by
André Anjos
Browse files
Options
Downloads
Patches
Plain Diff
Fix doc building on Python 2.7
parent
d90a9dd2
No related branches found
No related tags found
1 merge request
!6
Fix doc building on Python 2.7
Pipeline
#
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bob/ip/facelandmarks/utils.py
+16
-16
16 additions, 16 deletions
bob/ip/facelandmarks/utils.py
doc/nitpick-exceptions.txt
+2
-0
2 additions, 0 deletions
doc/nitpick-exceptions.txt
with
18 additions
and
16 deletions
bob/ip/facelandmarks/utils.py
+
16
−
16
View file @
7788e7bb
...
...
@@ -186,10 +186,10 @@ def _detect_multiple_landmarks_on_gray_image(data, top=0, min_quality=0.):
Returns:
list: A list of named tuples of type :py:class:`.utils.Result`,
each containing
the result of face detection and landmarks extracted from
the input
image.
The list MAY BE EMPTY if no face is detected in the
input image (data).
:py:class:`
list
`
: A list of named tuples of type :py:class:`.utils.Result`,
each containing
the result of face detection and landmarks extracted from
the input image. The list MAY BE EMPTY if no face is detected in the
input image (data).
'''
...
...
@@ -278,9 +278,9 @@ def _detect_multiple_landmarks_on_color_image(data, top=0, min_quality=0.):
Returns:
list: A list of named tuples of type :py:class:`.utils.Result`,
each containing
the result of face detection and landmarks extracted from
the input
image.
:py:class:`
list
`
: A list of named tuples of type :py:class:`.utils.Result`,
each containing
the result of face detection and landmarks extracted from
the input
image.
'''
...
...
@@ -313,9 +313,9 @@ def detect_landmarks(data, top=0, min_quality=0.):
Returns:
list: A list of named tuples of type :py:class:`.utils.Result`,
each containing
the result of face detection and landmarks extracted from
the input
image.
:py:class:`
list
`
: A list of named tuples of type :py:class:`.utils.Result`,
each containing
the result of face detection and landmarks extracted from
the input
image.
'''
...
...
@@ -335,9 +335,9 @@ def draw_landmarks(data, results):
dimensions, corresponding to a either a gray-scale or color image loaded
with Bob.
results (list): A list of named tuples of type
:py:class:`.utils.Result`, each
containing the result of face detection
and landmarks extracted from the
input image.
results (
:py:class:`
list
`
): A list of named tuples of type
:py:class:`.utils.Result`, each
containing the result of face detection
and landmarks extracted from the
input image.
'''
...
...
@@ -395,9 +395,9 @@ def save_landmarks(results, fname):
Parameters:
results (list): A list of named tuples of type
:py:class:`.utils.Result`, each
containing the result of face detection
and landmarks extracted from the
input image.
results (
:py:class:`
list
`
): A list of named tuples of type
:py:class:`.utils.Result`, each
containing the result of face detection
and landmarks extracted from the
input image.
fname (str): A path with the output filename
...
...
This diff is collapsed.
Click to expand it.
doc/nitpick-exceptions.txt
+
2
−
0
View file @
7788e7bb
# Solve some Python 2.7 misses on its documentation
py:class list
py:class collections.namedtuple
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment