diff --git a/bob/bio/face/annotator/bobipmtcnn.py b/bob/bio/face/annotator/bobipmtcnn.py
index 9e61a06e823587d776b942d9971ce12355fa7ed6..6c37941b77ce0b1c838cf1bd55d0e29b27dddf37 100644
--- a/bob/bio/face/annotator/bobipmtcnn.py
+++ b/bob/bio/face/annotator/bobipmtcnn.py
@@ -25,5 +25,13 @@ class BobIpMTCNN(Base):
             Annotations contain: (topleft, bottomright, leye, reye, nose,
             mouthleft, mouthright, quality).
         """
-        # return the annotations for the first/largest face.
-        return self.detector.annotations(image)[0]
+        # return the annotations for the first/largest face
+
+
+
+        annotations = self.detector.annotations(image)
+
+        if annotations:
+            return annotations[0]
+        else:
+            return None