Alignment Testing

CSIRO Face Analysis SDK

Official website : http://face.ci2cv.net/

All the landmarks detected by the framework :


In [6]:
%pylab inline


Welcome to pylab, a matplotlib-based Python environment [backend: module://IPython.zmq.pylab.backend_inline].
For more information, type 'help(pylab)'.

In [7]:
from tools import *
from alignment import *

In [5]:
imgs_name, imgs = readImagesInDir(sample_directory)
markLandmarks(imgs)
pylab.rcParams['figure.figsize'] = (25.0, 18.0)
showMosaic(imgs, imgs_name, ncols=3)



In [4]:
landmark_detector = CSIROLandmarkDetector()
%timeit landmark_detector.detectLandmarks(imgs[0])


10 loops, best of 3: 87 ms per loop

In [ ]:

Conclusions

Not really precise :

  • image #2 : mouth misaligned
  • image #3 : left part misaligned
  • image #6 : right part misaligned
  • globally : eyes not quite aligned

Quite slow : ~90ms per image


In [4]: