Created by: 183amir
https://github.com/bioidiap/bob.bio.base/commit/49da5d1a52bdb0ec53fdf11dbdda9be9688a04ac#commitcomment-16595463