From 3c7f94f56ac0410aa3c26f538fdae23f57e4b8cd Mon Sep 17 00:00:00 2001
From: Laurent El Shafey <Laurent.El-Shafey@idiap.ch>
Date: Wed, 20 Mar 2013 21:26:19 +0100
Subject: [PATCH] Fix bug (no method overload in python)

---
 setup.py                   | 2 +-
 xbob/flandmark/__init__.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/setup.py b/setup.py
index 1ff89aa..1d13d76 100644
--- a/setup.py
+++ b/setup.py
@@ -13,7 +13,7 @@ from xbob.extension import Extension, build_ext
 setup(
 
     name="xbob.flandmark",
-    version="1.0.8",
+    version="1.0.9",
     description="Python bindings to the flandmark keypoint localization library",
     license="GPLv3",
     author='Andre Anjos',
diff --git a/xbob/flandmark/__init__.py b/xbob/flandmark/__init__.py
index 8e637dc..355796a 100644
--- a/xbob/flandmark/__init__.py
+++ b/xbob/flandmark/__init__.py
@@ -89,7 +89,7 @@ class Localizer(_flandmark.Localizer):
     else:
       raise TypeError, "Localizer accepts images as numpy.ndarray objects with either 2 or 3 dimensions"
 
-  def __call__(self, image, b_y, b_x, b_height, b_width):
+  def localize(self, image, b_y, b_x, b_height, b_width):
     """Localizes facial keypoints on all faces detected at the input image.
 
     Keyword parameters:
-- 
GitLab