Hello all,<br>I&#39;d like to write a detection pipeline, i.e. a pipeline which does automated video-surveillance (motion detection, object classification, tracking, and so on).<br> <br>I think GStreamer could help me a lot: I need only to write some plugins that encapsulate the algorithms for automated video-surveillance. <br>
<br>I&#39;ve already read several documents:<br>    * GStreamer Application Development Manual<br>    * GStreamer Plugins Writer&#39;s Guide<br>    * Gstreamer Core Design Documentation<br>    * GObject Reference Manual<br>
and I&#39;ve made some test.<br><br>Now my problem: I would like to use the video-surveillance algorithms provided by OpenCV, which is a library for Computer Vision. The library is mostly written in C, except for the part I need for, which is in C++.<br>
<br>OpenCV defines several C++ classes which do the job I need, but I don&#39;t know how to use them in my plugin: for my understanding, the plugin has to be written in the C programming language. Can I write a C++ plugin? How?<br>
<br>I read I can use some sort of wrapping techniques to use C++ classes in C code (newer tried), but the C++ classes I need for use hierarchy and virtual methods (I think it is a problem, isn&#39;t it? Maybe I can do the magic whit GObject).<br>
<br>Can anybody help me? Do you have some hint / useful link?<br><br>Thanks a lot.<br>Best regards,<br>Giorgio Buffa<br>