Hi Robert,<div>Currently gst-opencv supports only<span class="Apple-style-span" style="font-family: monospace; border-collapse: collapse; white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "><b> &quot;opencv &gt;= 2.0.0 opencv &lt;= 2.1.0&quot;.</b></span><br>
<meta http-equiv="content-type" content="text/html; charset=utf-8"><br><div class="gmail_quote">On Fri, Jan 28, 2011 at 2:02 PM, Robert Jobbagy <span dir="ltr">&lt;<a href="mailto:jobbagy.robert@gmail.com">jobbagy.robert@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Guys,<br>
<br>
I used my gst-opencv filter with OpenCV 2.0 and worked fine.<br>
I tried update to OpenCV 2.1 because I found a bug.<br>
But OpenCV 2.1 has the bug too and tried update to OpenCV 2.2.<br>
<br>
And I gave this compile error:<br>
<br>
In file included from /usr//include/opencv/cvaux.h:61,<br>
                 from gstfacedetect.h:52,<br>
                 from gstfacedetect.c:66:<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:82: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CvVSModule’<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:133: error: expected<br>
‘;’, ‘,’ or ‘)’ before ‘=’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:137: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CvFGDetector’<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:148: error: expected<br>
‘)’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:149: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:160: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cvBlob’<br>
In file included from /usr//include/opencv/cvaux.h:61,<br>
                 from gstfacedetect.h:52,<br>
                 from gstfacedetect.c:66:<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:180: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CvBlobSeq’<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:270: error: expected<br>
specifier-qualifier-list before ‘CvBlobSeq’<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:273: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CvBlobTrackSeq’<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:294: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CvBlobDetector’<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:308: error: expected<br>
‘)’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:311: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:312: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:314: error: expected<br>
identifier or ‘(’ before ‘:’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:319: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘cvDetectedBlob’<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:327: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CvObjectDetector’<br>
In file included from /usr//include/opencv/cvaux.h:61,<br>
                 from gstfacedetect.h:52,<br>
                 from gstfacedetect.c:66:<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:391: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CvImageDrawer’<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:410: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CvBlobTrackGen’<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:420: error: expected<br>
‘)’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:427: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:428: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:433: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CvBlobTracker’<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:503: error: expected<br>
‘)’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:507: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CvBlobTrackerOne’<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:524: error: expected<br>
‘)’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:529: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:545: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:546: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:547: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:557: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:560: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:563: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:566: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:569: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:570: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:573: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:580: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
In file included from /usr//include/opencv/cvaux.h:61,<br>
                 from gstfacedetect.h:52,<br>
                 from gstfacedetect.c:66:<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:597: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CvBlobTrackPostProc’<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:620: error: expected<br>
‘)’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:628: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before<br>
‘CvBlobTrackPostProcOne’<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:637: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:641: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:642: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:643: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:648: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CvBlobTrackPredictor’<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:656: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:661: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CvBlobTrackAnalysis’<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:676: error: expected<br>
‘)’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:684: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CvBlobTrackFVGen’<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:701: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before<br>
‘CvBlobTrackAnalysisOne’<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:712: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:717: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:720: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:723: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:726: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
In file included from /usr//include/opencv/cvaux.h:61,<br>
                 from gstfacedetect.h:52,<br>
                 from gstfacedetect.c:66:<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:743: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:749: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:752: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before<br>
‘CvBlobTrackAnalysisHeight’<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:762: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CvBlobTrackerAuto’<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:777: error: expected<br>
‘)’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:792: error: expected<br>
specifier-qualifier-list before ‘CvFGDetector’<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:813: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:816: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
In file included from /usr//include/opencv/cvaux.h:61,<br>
                 from gstfacedetect.h:52,<br>
                 from gstfacedetect.c:66:<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:840: error: expected<br>
‘)’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:841: error: expected<br>
‘)’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:842: error: expected<br>
‘)’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:846: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘CvProb’<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:861: error: expected<br>
‘)’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:865: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:866: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:867: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:868: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:874: error: expected<br>
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token<br>
In file included from /usr//include/opencv/cvaux.h:61,<br>
                 from gstfacedetect.h:52,<br>
                 from gstfacedetect.c:66:<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:910: error: expected<br>
‘;’, ‘,’ or ‘)’ before ‘=’ token<br>
In file included from /usr//include/opencv/cvaux.h:61,<br>
                 from gstfacedetect.h:52,<br>
                 from gstfacedetect.c:66:<br>
/usr/local/include/opencv2/legacy/blobtrack.hpp:940: error: expected<br>
‘;’, ‘,’ or ‘)’ before ‘=’ token<br>
make[3]: *** [libgstfacedetect_la-gstfacedetect.lo] Error 1<br>
<br>
<br>
the bug why I updated:<br>
<br>
 I would like to use alpha blending.<br>
I followed Shervin Emam instructions but it isnt help :(<br>
The alpha blending method:<br>
<br>
I split the input frame into 3 image from the 3 channel.<br>
and I use cvAddWeighted function on 3 image and add 3 other image with<br>
alpha and beta equal 0.5.<br>
and after I merge this images<br>
<br>
after this method the video is flicking and I see some sub image in<br>
the frame etc ...<br>
<br>
So I think this is a bug. And doesnt solved the update to newer OpenCV version.<br>
<br>
Any idea ?<br>
<br>
--<br>
Best Regards,<br>
<br>
Robert<br>
<br>
------------------------------------------------------------------------------<br>
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!<br>
Finally, a world-class log management solution at an even better price-free!<br>
Download using promo code Free_Logger_4_Dev2Dev. Offer expires<br>
February 28th, so secure your free ArcSight Logger TODAY!<br>
<a href="http://p.sf.net/sfu/arcsight-sfd2d" target="_blank">http://p.sf.net/sfu/arcsight-sfd2d</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Sreerenj Balachandran (Nokia-D R&amp;D/Helsinki)<br>Senior Engineer, Multimedia<br><a href="http://github.com/sreerenjb/gst-opencv" target="_blank">http://github.com/sreerenjb</a><br>

</div>