<div>Hi Hannes,<br></div><div><br></div><div><br></div><div>Seems like offtopic, but why do you not use C++ interface of opencv?</div><div><br></div><div>like:</div><div>#include <cv.hpp> </div><div>instead </div><div>
#include <cv.h></div><div><br></div><div>more info: <a href="http://docs.opencv.org/modules/refman.html">http://docs.opencv.org/modules/refman.html</a> and <a href="http://docs.opencv.org/modules/core/doc/intro.html#api-concepts">http://docs.opencv.org/modules/core/doc/intro.html#api-concepts</a></div>