Stefan Sauer
a857c90590
facedetect: Gstfacedetect -> GstFacedetect
2011-11-16 21:03:36 +01:00
Stefan Sauer
94534a0b83
facedetect: code maintenance
...
Update example to be useful. Draw colored ellipses instead of unicolor circles.
Reflow code for more local variables. Improve parameter descriptions.
2011-11-16 21:03:36 +01:00
Mart Raudsepp
61cc352902
mimic, opencv, vp8, acmmp3dec, linsys: Don't build static plugins
...
Pass --tag=disable-static to libtool everywhere where it's been forgotten
https://bugzilla.gnome.org/show_bug.cgi?id=663768
2011-11-11 11:54:15 +00:00
Nicola Murino
436620fff9
fix valgrind warning about Conditional jump or move depends on uninitialised value(s)
2011-08-26 15:54:19 +02:00
Nicola Murino
71a2a1be8e
Move m_pprevFrame free just before the clone of the latest frame for readability
2011-08-26 15:54:19 +02:00
Stefan Sauer
f241dafe5c
motioncells: turn two global vars into static variables
...
Move 2 variable to motioncells_warpper and make them static.
2011-08-04 13:36:05 +02:00
Tim-Philipp Müller
7e49dad23b
Fix some more variable-set-but-not-used compiler warnings
2011-08-02 22:57:15 +01:00
Robert Jobbagy
4723a5d90c
motioncells: new element to detect areas of motion
2011-07-28 10:28:50 +02:00
Sreerenj Balachandran
c0f9c74ca6
facedetect: Remove dead code and some minor doc changes.
2011-05-14 12:08:39 +02:00
Sreerenj Balachandran
3320a03e20
edgedetect: Remove dead code and some minor doc changes
2011-05-14 12:08:39 +02:00
Fabrizio Milo
7e5c7048d6
opencv: make work with openCV 2.2
...
https://bugzilla.gnome.org/show_bug.cgi?id=641796
2011-04-22 09:38:15 +01:00
Sreerenj Balachandran
d6a1eebf37
opencv text overlay: rename and docuemnt
...
Rename the element textwrite to opencvtextoverlay. Add proper structuring to
opencv textoverlay element.
Fixes : #640561
2011-03-28 20:31:35 +03:00
Edward Hervey
4067ef886d
opencv: Remove dead assignments
...
... and fix indentation
2010-11-25 18:43:05 +01:00
Josh Doe
6e43f75df3
opencv: fix caps issues and extend supported caps for some elements
...
Some elements had vague caps, such as "video/x-raw-rgb", which caused problems
at least with textwrite. For other elements, the underlying OpenCV functions
support more than just one image type, so I increased the number of supported
caps.
I created a utility function "gst_opencv_caps_from_cv_image_type", so each
element creates caps directly from OpenCV image types, such as CV_8UC1 for
8-bit grayscale. This function uses gstvideo to create uniform caps.
https://bugzilla.gnome.org/show_bug.cgi?id=635304
2010-11-22 22:25:18 -03:00
Stefan Kost
0387a89cad
various (ext): add missing G_PARAM_STATIC_STRINGS flags
...
Canonicalize property names as needed.
2010-10-19 17:13:26 +03:00
Tim-Philipp Müller
960ccc118f
opencv: define CV_NO_BACKWARD_COMPATIBILITY to suppress warnings caused by compat header
...
Compile with -DCV_NO_BACKWARD_COMPATIBILITY for now, so that the compat header
doesn't get included, which causes compiler warnings that (it seems) can't be
switched off easily. As a result, we also specify a max. version in configure,
so the build doesn't break if our code doesn't compile against newer opencv
versions any more with that flag.
2010-09-09 15:29:31 +01:00
Tim-Philipp Müller
41b9b76fa5
opencv: avoid 'unused' compiler warnings with inline functions in opencv headers
...
Override CV_INLINE to avoid 'unused' gcc warnings. GLib will take care of defining
'inline' sufficiently and OpenCV's define isn't good enough to avoid 'unused'
compiler warnings (at least in version 2.1.0).
2010-09-09 15:29:31 +01:00
Tim-Philipp Müller
e2b45f5155
opencv: update plugin source package name and origin
2010-09-09 15:29:31 +01:00
Thiago Santos
19ba4c8d19
facedetect: Add more parameters
...
Expose the parameters of cvHaarDetectObjects in facedetect
element.
2010-09-08 23:59:38 -03:00
Thiago Santos
27fedbb352
opencv: Refactor files structure
...
Remove internal folders and put all code inside the main plugin
folder. Also fixes some building warnings.
2010-09-08 17:15:51 -03:00
Thiago Santos
cf86df2d00
opencv: Adds new plugin opencv
...
Moves opencv plugin from http://github.com/Elleo/gst-opencv
into -bad module.
2010-09-08 17:15:51 -03:00
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