Face recogntion Using Hierarchical Temporal Memory algorithm

We have decided to make our major project on Face recognition that uses Hierarchical Temporal Memory algorithm. Since the algorithm is new, we want to try it on GPU. It would be great help if we could get some guidance on how to proceed with the project. And we are unable to decide what would be the best method to extract facial features.
We would be grateful if someone showed us the way…
Thanks! :)