tdicola/pi-facerec-box — pull request #1 by csk157 (2014-02-19 13:31:46+00:00)
Title: Fix call to undefined function and order of params in cv2.resize call

Hello,
I found this nice project on Adafruit and noticed a few issues:

In the face.py file function is called ```crop``` instead of ```crop_face```
as referenced in a hardware.py.

Also, I couldn't figure out why I am not recognised (predicted as 2). So after poking around it turned out that image that is checked was resized to a wrong dimensions (```crop```
would end up being 112x92, while eigenface images were 92x112), so I changed the order of params. This change solved my problems.

I hope that these changes can save someone a few minutes :)

P.S. I did not try the project on raspberry yet, played with pieces of code though.