Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bob.bio.face
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
Package registry
Model registry
Operate
Environments
Terraform modules
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
Show more breadcrumbs
bob
bob.bio.face
Merge requests
!41
Add annotators
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add annotators
annotator
into
master
Overview
58
Commits
26
Pipelines
17
Changes
23
Merged
Amir MOHAMMADI
requested to merge
annotator
into
master
7 years ago
Overview
58
Commits
26
Pipelines
17
Changes
23
Expand
Depends on
bob.bio.base!131 (merged)
and
bob.extension!67 (merged)
Edited
7 years ago
by
Amir MOHAMMADI
1
0
Merge request reports
Compare
master
version 16
4e080d8a
7 years ago
version 15
98898409
7 years ago
version 14
981c5a06
7 years ago
version 13
009e21a8
7 years ago
version 12
1e8e19f2
7 years ago
version 11
0ffe75b1
7 years ago
version 10
28c769b2
7 years ago
version 9
6a1c470d
7 years ago
version 8
2cc95795
7 years ago
version 7
db201974
7 years ago
version 6
d35a1634
7 years ago
version 5
6ed3e5f4
7 years ago
version 4
7223ddd1
7 years ago
version 3
ea71dd5b
7 years ago
version 2
b2cd3362
7 years ago
version 1
aa89fd38
7 years ago
master (base)
and
latest version
latest version
b2c167ab
26 commits,
7 years ago
version 16
4e080d8a
24 commits,
7 years ago
version 15
98898409
23 commits,
7 years ago
version 14
981c5a06
22 commits,
7 years ago
version 13
009e21a8
21 commits,
7 years ago
version 12
1e8e19f2
20 commits,
7 years ago
version 11
0ffe75b1
20 commits,
7 years ago
version 10
28c769b2
20 commits,
7 years ago
version 9
6a1c470d
11 commits,
7 years ago
version 8
2cc95795
10 commits,
7 years ago
version 7
db201974
9 commits,
7 years ago
version 6
d35a1634
8 commits,
7 years ago
version 5
6ed3e5f4
7 commits,
7 years ago
version 4
7223ddd1
7 commits,
7 years ago
version 3
ea71dd5b
4 commits,
7 years ago
version 2
b2cd3362
2 commits,
7 years ago
version 1
aa89fd38
1 commit,
7 years ago
23 files
+
487
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
23
Search (e.g. *.vue) (Ctrl+P)
bob/bio/face/annotator/Base.py
0 → 100644
+
26
−
0
Options
import
bob.bio.base.annotator
import
bob.bio.face.preprocessor
# import for documentation
class
Base
(
bob
.
bio
.
base
.
annotator
.
Annotator
):
"""
Base class for all face annotators
"""
def
__init__
(
self
,
**
kwargs
):
super
(
Base
,
self
).
__init__
(
**
kwargs
)
def
annotate
(
self
,
sample
,
**
kwargs
):
"""
Annotates an image and returns annotations in a dictionary. All
annotator should return at least the ``topleft`` and ``bottomright``
coordinates. Some currently known annotation points such as ``reye``
and ``leye`` are formalized in
:any:`bob.bio.face.preprocessor.FaceCrop`.
Parameters
----------
sample : numpy.ndarray
The image should be a Bob format (#Channels, Height, Width) RGB
image.
**kwargs
The extra arguments that may be passed.
"""
raise
NotImplementedError
()
Loading