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
!172
Move bob.ip.facedetect code to here
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Move bob.ip.facedetect code to here
deprecate-bob-ip-facedetect
into
master
Overview
2
Commits
10
Pipelines
6
Changes
49
1 unresolved thread
Hide all comments
Merged
Amir MOHAMMADI
requested to merge
deprecate-bob-ip-facedetect
into
master
3 years ago
Overview
2
Commits
10
Pipelines
6
Changes
49
1 unresolved thread
Hide all comments
Expand
Drop FaceDetect and Flandmark
Move MTCNN and TinyFace to here
Implement BoundingBox and prune_detections in Python
Move other helper functions from bob.ip.facedetect to here
Rename TinyFace.detect to TinyFace.annotations
black files
Edited
3 years ago
by
Amir MOHAMMADI
0
0
Merge request reports
Compare
master
version 5
2068045a
3 years ago
version 4
fabc9eb0
3 years ago
version 3
d9c97719
3 years ago
version 2
32b4e5c9
3 years ago
version 1
6158bb2c
3 years ago
master (base)
and
latest version
latest version
1016f14a
10 commits,
3 years ago
version 5
2068045a
9 commits,
3 years ago
version 4
fabc9eb0
7 commits,
3 years ago
version 3
d9c97719
5 commits,
3 years ago
version 2
32b4e5c9
4 commits,
3 years ago
version 1
6158bb2c
2 commits,
3 years ago
49 files
+
1202
−
2836
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
49
Search (e.g. *.vue) (Ctrl+P)
bob/bio/face/annotator/Base.py
+
16
−
0
Options
@@ -5,6 +5,22 @@ from bob.bio.base.annotator.FailSafe import translate_kwargs
class
Base
(
bob
.
bio
.
base
.
annotator
.
Annotator
):
"""
Base class for all face annotators
"""
def
annotations
(
self
,
image
):
"""
Returns annotations for all faces in the image.
Parameters
----------
image : numpy.ndarray
An RGB image in Bob format.
Returns
-------
list
A list of annotations. Annotations are dictionaries that contain the
following possible keys: ``topleft``, ``bottomright``, ``reye``, ``leye``
"""
raise
NotImplementedError
()
def
annotate
(
self
,
sample
,
**
kwargs
):
"""
Annotates an image and returns annotations in a dictionary. All
annotator should return at least the ``topleft`` and ``bottomright``
Loading