Dear Dmytro,
first of all, I am not sure, which algorithm you were using to achieve your result. Could you please provide the exact command line that you used?
I should tell you that the facereclib is outdated and has been superseded by bob.bio.face:
http://pypi.python.org/pypi/bob.bio.face. Please switch to the new package, as things have been implemented more clean there.
One of the points is that -- in facereclib -- the preprocessor silently ignores the image resolution and eye locations, when no annotations are specified during preprocessing (i.e., being None as the default in
https://github.com/idiap/facereclib/blob/master/facereclib/preprocessing/TanTriggs.py#L86).
The annotations themselves are provided by the database. As you have implemented your own database interface, I assume that you did not implement the annotations (since your images are already aligned), so no further alignment is needed in the preprocessors.
In bob.bio.face, you can specify the face cropping parameters (via the face_cropper parameter) in the preprocessor constructors, such as:
https://github.com/bioidiap/bob.bio.face/blob/master/bob/bio/face/preprocessor/TanTriggs.py#L48There, when a preprocessor is specified and the required annotations are not provided, an error is raised.
If you use pre-cropped images, you can simply set the face_cropper parameter to None.
So, in summary: I assume that you used images in resolution 128x128. You can check the images using HDF5 tools (such as hdfview) to open the preprocessed images (usually located under temp/<sub-dir>/preprocessed, depending on your command line).
I hope that answered your question. If not, feel free to be more inquiring :-)
Manuel