<div dir="ltr">Thanks, Martin, you pointed me in the right direction.  What happens is that the Ubuntu package opencv-data puts it in /usr/share/opencv, while the plugin looks in /usr/share/OpenCV.  Adding a syslink makes it work.<div><br></div><div>Next question is if this should be fixed in the plugin, or the Ubuntu package?</div><div><br></div><div>Thanks,</div><div>Timm</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 11, 2018 at 8:06 AM, Martin Vachovski <span dir="ltr"><<a href="mailto:Martin.Vachovski@skytek.com" target="_blank">Martin.Vachovski@skytek.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi Timm,<br>
</p>
<p><br>
</p>
<p>I think you should make sure you have the "profiles" for face/nose/mouth etc.<br>
</p>
<p>These are the Haar features that OpenCV uses for the face detection.<br>
</p>
<p><br>
</p>
<p>You can specify them with<br>
</p>
<p>... ! facedetect profile=[path] ! ...<br>
</p>
<p><br>
</p>
<p>According to</p>
<p>gst-inspect-1.0 facedetect<br>
</p>
<p><br>
</p>
<p>The default path is:<br>
</p>
<p>/usr/share/OpenCV/<wbr>haarcascades/haarcascade_<wbr>frontalface_default.xml<br>
</p>
<p><br>
</p>
<p>As a first check. See if you have that file<br>
</p>
<p><br>
</p>
<p>Cheers<br>
</p>
<p>Martin<br>
</p>
<div id="m_1817425899773677631Signature">
<div name="divtagdefaultwrapper">
<div name="divtagdefaultwrapper">
<span style="font-size:16px"><br>
</span></div>
<div name="divtagdefaultwrapper">
<hr style="color:rgb(33,33,33);font-size:12pt;display:inline-block;width:98%">
<br>
</div>
</div>
</div>
<div style="color:rgb(33,33,33)">
<div id="m_1817425899773677631divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> gstreamer-devel <<a href="mailto:gstreamer-devel-bounces@lists.freedesktop.org" target="_blank">gstreamer-devel-bounces@<wbr>lists.freedesktop.org</a>> on behalf of Timm Murray <<a href="mailto:tmurray@wumpus-cave.net" target="_blank">tmurray@wumpus-cave.net</a>><br>
<b>Sent:</b> Tuesday, September 11, 2018 12:06 AM<br>
<b>To:</b> Discussion of the development of and with GStreamer<br>
<b>Subject:</b> No Facial Detection Ubuntu 18.04</font>
<div> </div>
</div><div><div class="h5">
<div>
<div dir="ltr">I'm using the following pipeline for facial detection:
<div><br>
</div>
<div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">gst-launch-1.0 v4l2src device=/dev/video0 \
</span><br>
   ! 'video/x-raw,width=640,height=<wbr>480' \ <br>
   ! videoconvert \ <br>
   ! facedetect \ <br>
   ! videoconvert \ <br>
   ! xvimagesink<br>
</span><br>
</div>
<div>This should display the video stream from my web cam to a window, with faces highlighted.  It does show the stream, but it's not drawing boxes around the faces.</div>
<div><br>
</div>
<div>I think something with my environment might be messed up, as the same pipeline had worked for me in the past.  Just not sure where to start looking.  This is on Ubuntu 18.04, GStreamer 1.14.1, and OpenCV 3.2.0.<span style="font-family:monospace"><br>
</span></div>
<div><br>
</div>
<div>Thanks,</div>
<div>Timm</div>
</div>
</div>
</div></div></div>
</div>

<br>______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
<br></blockquote></div><br></div>