Commit graph

8884 commits

Author SHA1 Message Date
Thiago Santos 0c61434945 facedetect: Post an useful message
Add a message to be post when faces are found on a frame that
contains all faces on a single message and also has
timestamp/running/segment times for that buffer so it
can be identified.

This message is called 'facedetect' and has a 'faces' list
of structures with all faces.

The old 'face' message is still posted for each face found, but
it is not really useful as it doesn't have any reference to the
buffer that generated it.
2010-09-08 17:15:51 -03:00
Thiago Santos 77fe3e6a07 facedetect: Use GstOpencvVideoFilter as the base class
Port facedetect to use GstOpencvVideoFilter as the base class
to inherit all the goodness that GstBaseTransform/GstVideoFilter
already handles.
2010-09-08 17:15:51 -03:00
Thiago Santos dcb97354bf opencvbasetrans: Use GstVideoFilter as the base class
Port from GstBaseTransform to GstVideoFilter as the base class.
2010-09-08 17:15:50 -03:00
Thiago Santos 4c03c980ce cvlaplace: adds new cvlaplace element
Adds new cvlaplace element.

Also adds a new opencvbasetransform function to be overriden
by children classes: the cv_set_caps, it allows children classes
to know what are they going to handle and prepare properly.
2010-09-08 17:15:50 -03:00
Thiago Santos e17b555efd Adds new element cvsobel 2010-09-08 17:15:50 -03:00
Thiago Santos 8f5b32f764 Adds new element cvequalizehist 2010-09-08 17:15:50 -03:00
Thiago Santos f38911209d Adds new elements cvdilate and cverode
Adds 2 similar elements (so similar they have their own baseclass),
cvdilate and cverode.
2010-09-08 17:15:50 -03:00
Thiago Santos 128091a1cc cvsmooth: Improve parameters docs 2010-09-08 17:15:50 -03:00
Thiago Santos f770de8a8b cvsmooth: Deactivating blur-no-scale
Deactivate blur-no-scale because basetransform doesn't provide a way
to override getcaps for pads, always using templatecaps independent
of properties.
2010-09-08 17:15:50 -03:00
Thiago Santos 971fe3ae0c cvsmooth: Add support for video/x-raw-gray 2010-09-08 17:15:50 -03:00
Thiago Santos 824d69d5ad Adding gstopencvutils
Adds a file to keep utilitary functions together
2010-09-08 17:15:50 -03:00
Thiago Santos f47c4d3905 cvsmooth: Adds new element cvsmooth
Adds new cvsmooth element
2010-09-08 17:15:50 -03:00
Thiago Santos 6fd5cb9b62 gstopencvbasetrans: Adds this new base class
Adds GstOpencvBaseTransform as base class for simple 1:1
opencv filters
2010-09-08 17:15:49 -03:00
Thiago Santos b8b0c39a63 pyramidsegment: Allocate a new buffer for output
Use a newly allocated buffer for output, and release the intermediary
image used.

Also add a TODO for performance improvement
2010-09-08 17:15:49 -03:00
Thiago Santos 5a9d9a8ae0 faceblur: facedetect: templatematch: textwrite: Set buffer to writable
These elements operates in place, set buffer to writable before
operating.
2010-09-08 17:15:49 -03:00
Thiago Santos 42984056db edgedetect: Fix chain buffer handling
Allocate a new output buffer instead of using the input buffer
pointing to the internal cvCEdge opencv's IplImage data, which
might change, consequently changing the buffer.
2010-09-08 17:15:49 -03:00
Thiago Santos 069c1369a2 configure: enable -Werror to improve code
-Werror on git version is useful to keep code clean.
2010-09-08 17:15:49 -03:00
Sreerenj Balachandran a33e117af7 Added the property for setting the RGB colours.
modified:   ext/opencv/textwrite/gsttextwrite.c
	modified:   ext/opencv/textwrite/gsttextwrite.h
2010-09-08 17:15:49 -03:00
Sreerenj Balachandran 6d4f9ceeb5 Added the property for setting the "thickness" of font
modified:   ext/opencv/textwrite/gsttextwrite.c
	modified:   ext/opencv/textwrite/gsttextwrite.h
2010-09-08 17:15:49 -03:00
Sreerenj Balachandran ce5eb639cd Added the property for setting x and y co-ordinates
modified:   ext/opencv/textwrite/gsttextwrite.c
	modified:   ext/opencv/textwrite/gsttextwrite.h
2010-09-08 17:15:49 -03:00
Sreerenj Balachandran d962551fb7 added the propery for setting x and y co-ordinates
modified:   ext/opencv/textwrite/gsttextwrite.c
	modified:   ext/opencv/textwrite/gsttextwrite.h
2010-09-08 17:15:49 -03:00
Mike Sheldon 96a769dc28 Apply Stefan's faceblur fixes to facedetect 2010-09-08 17:15:48 -03:00
Sreerenj Balachandran fa8210fe94 Add simple text overlay plugin 2010-09-08 17:15:48 -03:00
Stefan Kost af83f0afd7 faceblur: fix handling of profile property.
Dup and free the string. Fixes leaking new values and avoids crashing
gst-inspect.
2010-09-08 17:15:48 -03:00
Mike Sheldon f35f701996 Fix includes in template matching element 2010-09-08 17:15:48 -03:00
Mike Sheldon babe97ca50 Bring code in to line with general Gstreamer standards 2010-09-08 17:15:48 -03:00
Mike Sheldon 0961dbefd4 Fix segfault in template match element if no template has been set
Add template matching python example
Add autotool, libtool and pkgconfig dependencies to debian control file
2010-09-08 17:15:48 -03:00
Mike Sheldon f8a49aeabd Add a plugin for automatically blurring faces in videos and images 2010-09-08 17:15:48 -03:00
Noam 6bb2bbd9c3 Added control for changing method 2010-09-08 17:15:48 -03:00
Noam 2195e2b123 Added templatematch element 2010-09-08 17:15:48 -03:00
kapil cf9d13bb4c Registering all elements under opencv plugin 2010-09-08 17:15:48 -03:00
Mike Sheldon 2f77a06d23 Fix the profile parameter in the facedetect element to accept a string correctly 2010-09-08 17:15:47 -03:00
Mike Sheldon 4b9ae0088b Release OpenCV images when finalizing elements 2010-09-08 17:15:47 -03:00
kapil 046ca445b8 Fixed compile errors 2010-09-08 17:15:47 -03:00
Mike Sheldon aae2576679 Make face detect send a bus message when a face is detected
Write a simple python example for face detection
2010-09-08 17:15:47 -03:00
Mike Sheldon 7408e5393e Add face detection element
Clean up some generated files
Update a few old comments
2010-09-08 17:15:47 -03:00
Mike Sheldon b96c01f29a * Remove some autotools generated files 2010-09-08 17:15:47 -03:00
Mike Sheldon 1af8fa1066 * Make it possible to set threshold2 at runtime
* Implement pyramid segmentation element
* Make masking optional on edgedetect
* Clean up edgedetect, add element details
* Implemented edge detect element
2010-09-08 17:15:47 -03:00
Thiago Santos 768babf968 id3mux: Map GST_TAG_ALBUM_ARTIST
Map GST_TAG_ALBUM_ARTIST to TPE2 as it is done in
-base id3tag mappings.
2010-09-08 16:57:57 -03:00
Tim-Philipp Müller 728f5ba5fa Use AG_GST_CHECK_GST_PLUGINS_{GOOD,UGLY,BAD,FFMPEG} macros from common
to find plugin directories for the various modules our unit tests depend
on in an uninstalled environment. This makes sure these plugins are found
even when distchecking (which happens from a subdirectory, which means
that the currently used trick to find the uninstalled directories of
these modules doesn't work in that case).
2010-09-07 20:44:24 +01:00
Tim-Philipp Müller 9ac0b2e705 docs: update plugin docs sgml file a bit 2010-09-07 20:44:24 +01:00
Thiago Santos d915ca9691 docs: add 2 new files to gitignore
Adds gst-plugins-bad-plugins.args.new and
gst-plugins-bad-plugins.signals.new to .gitignore
2010-09-07 15:22:28 -03:00
Thiago Santos 69151f6850 jifmux: Make it more colorspace smart
This makes it able to recombine rgb images, making it possible
to add tags to rgb jpegs as well.

Uses a simple strategy to check what are the possible colorspaces
and avoid adding jfif to ones that aren't YUV/Gray.
2010-09-07 14:45:12 -03:00
Thiago Santos 4cdcba665c tests: jifmux: Adds tests for new ppi tags
Adds tests to check if libexif can read our
EXIF_TAG_X/Y_RESOLUTION tags.
2010-09-07 10:26:29 -03:00
Robert Swain 141f728169 interlace: Fix element details 2010-09-07 13:32:26 +02:00
Tim-Philipp Müller e870e9ad62 Automatic update of common submodule
From c2e10bf to aa0d1d0
2010-09-07 11:42:30 +01:00
Tim-Philipp Müller 35563896ef docs: update plugin introspection data for recent changes 2010-09-07 11:34:35 +01:00
Tim-Philipp Müller 59df51220f docs: remove introspection files for plugins that have been merged, moved or renamed
The aacparse, amrparse, flacparse plugins have been merged into the audioparsersbad
plugin. The aiffparse plugin has been renamed to aiff since it also contains an
aiff muxer now. The amrwb plugin has been renamed to amrwbenc. The dvbsrc plugin
has been renamed to dvb. The gstrtpmanager plugin has moved to -good. The x264
plugin has moved to -ugly. And the mpegtsparse plugin has been merged into the
mpegdemux2 plugin.
2010-09-07 11:28:44 +01:00
Tim-Philipp Müller cc705ed7dc tests: fix distcheck by disting new jack example directory
Also add test binary to ignores.
2010-09-07 00:20:56 +01:00
Tristan Matthews 62634b48ed examples: add test to demonstrate jack_client_t usage 2010-09-07 00:33:49 +03:00