simple opencv based webcam application written in C++