summaryrefslogtreecommitdiff
path: root/tests/examples/opencv/gstfacedetect_test.c
AgeCommit message (Collapse)AuthorFilesLines
2016-05-19examples: opencv: typo fixMartin Kelly1-1/+1
https://bugzilla.gnome.org/show_bug.cgi?id=766639
2015-10-02gstreamer: bad: Fix memory leaks when context parse failsVineeth TM1-0/+2
When g_option_context_parse fails, context and error variables are not getting free'd which results in memory leaks. Free'ing the same. And replacing g_error_free with g_clear_error, which checks if the error being passed is not NULL and sets the variable to NULL on free'ing. https://bugzilla.gnome.org/show_bug.cgi?id=753854
2015-08-17examples: facedetect: add silent optionLuis de Bethencourt1-11/+17
By default the example floods the screen with the detected face values. Add an option to avoid this for frail terminals.
2015-08-10examples: facedetect: only create variables when neededLuis de Bethencourt1-10/+11
The variables to store face values are only needed if they will be used to control the volume. Which isn't the default to avoid potentially being very loud accidentally. Only create variables when needed.
2015-08-10examples: facedetect: make volume control optionalLuis de Bethencourt1-24/+45
2015-08-08examples: facedetect: only set to playing when it's not alreadyLuis de Bethencourt1-2/+10
2015-08-08examples: opencv: remove unnecessary setting of a propertyLuis de Bethencourt1-3/+0
"/dev/video0" is the default device of v4l2src, setting it to this is redundant.
2015-07-31facedetect: Add unit testVanessa Chipirrás1-0/+205
I created four utilities of the detected features: 1- If you hide your mouth, the volume of video is low. 2- If you hide the nose, the volume of the video is up. 3- If you hide the full face, the video stops. You can see proof of this here: https://www.youtube.com/watch?v=pxzejNKV_WQ https://bugzilla.gnome.org/show_bug.cgi?id=748377