No Facial Detection Ubuntu 18.04
Martin Vachovski
Martin.Vachovski at skytek.com
Tue Sep 11 13:06:00 UTC 2018
Hi Timm,
I think you should make sure you have the "profiles" for face/nose/mouth etc.
These are the Haar features that OpenCV uses for the face detection.
You can specify them with
... ! facedetect profile=[path] ! ...
According to
gst-inspect-1.0 facedetect
The default path is:
/usr/share/OpenCV/haarcascades/haarcascade_frontalface_default.xml
As a first check. See if you have that file
Cheers
Martin
________________________________
From: gstreamer-devel <gstreamer-devel-bounces at lists.freedesktop.org> on behalf of Timm Murray <tmurray at wumpus-cave.net>
Sent: Tuesday, September 11, 2018 12:06 AM
To: Discussion of the development of and with GStreamer
Subject: No Facial Detection Ubuntu 18.04
I'm using the following pipeline for facial detection:
gst-launch-1.0 v4l2src device=/dev/video0 \
! 'video/x-raw,width=640,height=480' \
! videoconvert \
! facedetect \
! videoconvert \
! xvimagesink
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.
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.
Thanks,
Timm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180911/502b556b/attachment.html>
More information about the gstreamer-devel
mailing list