[Bug 629244] [opencv] Add motion detection element

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jul 15 13:33:13 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=629244
  GStreamer | gst-plugins-bad | git

--- Comment #123 from Nicola <lists at svrinformatica.it> 2011-07-15 20:33:11 UTC ---
Hi,

I take a look at the latest big patch, my accurate timestamp patch get lost,the
timestamp posted on the bus are string rounded to second precision again and
not gint64 anymore and there are some "long int" again I think is better to use
gint64 or guint64 where appropriate, I'll try to fix these as soon as I have
some spare time.

Robert I think what Roman requested could be done easily as follow:

- add a new property "minimun_motion_frame" default to 1, actual behaviour
- add in the header file a new int "consecutive_motion"
- when motion is detected increment consecutive_motion by 1 and set
filter->previous_motion = true and send the bus message only when
consecutive_motion>=minimum_motion_frame

If you agree with the above approach I can do this patch too,

Nicola

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list