Project base in this article: http://www.codeproject.com/Articles/265354/Playing-Card-Recognition-Using-AForge-Net-Framewor
But has a lot of improvements of algorithms and uses IA networks to get better results. Sorry, but the IA part is not provide in here, was done by another co-autor of this project. Just providing my part.
Further, I'll provide more documentation about the project soon.