[Bug 629244] [opencv] Add motion detection element

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jul 21 12:53:39 PDT 2011


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

--- Comment #159 from Nicola <lists at svrinformatica.it> 2011-07-21 19:53:34 UTC ---
Roman, I'll explain what minimummotionframes do with an example:

- suppose you set the proerty to 10, this mean that to have a motion_begin
event motion need to be detected in 10 consecutive frame, so if motion is
detected in 9 frames then there is a frame without motion and then other 9
frames with motion, no motion_begin event is triggered.

If you set postallmotion=true each motion event is posted on the bus anyway, I
think it is easy for an app discard unwanted motion (all you need is discard
motion until a motion_begin event), however it is safe to dinamycally change
motioncells property, so you can for example set postallmotion=true when you
receive a motion_begin message and postallmotion=false when you receive a
motion_finished event. The same apply for display motion cells on the video.

I can do what you ask after the inclusion,

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