Commit 09b20836 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI
Browse files

remove __call__ aliasing since this is already in the Annotator class

parent 6a1c470d
......@@ -12,8 +12,7 @@ class Base(Annotator):
"""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
and ``leye`` are formalized in :any:`FaceCrop`.
......@@ -24,7 +23,3 @@ class Base(Annotator):
The extra arguments that may be passed.
raise NotImplementedError()
# Alisa call to annotate
def __call__(self, sample, **kwargs):
return self.annotate(sample, **kwargs)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment