I\'ve written a program that takes two images, then runs an algorithm on them to isolate a hand in the \"foreground\" and match the gesture to a known one.
You may be using an assembly that couldn't be loaded correctly. For checking which one may fail I would recommend you this utility: http://www.dependencywalker.com/
It scans your app for dependencies and highlight the ones that were not found. In my case was a C++ assembly that was missing.