answered 2016-07-27 05:16:26 -0600
I've finally found tutorial that works for me. I've decided to downgrade my OpenCV to version 2.4.11, and it works like a charm.
Youtube tutorial