Gstreamer Motion Detection Plugin Code
Brought to you by:
rohitshetye
WHAT IT IS ---------- gst-motiondetect is a simple (still incomplete) gstreamer based motion detector using a sigma delta background estimation technique.I decidec to make this for use in my gstreamer based security DVR application. HOW TO USE IT ------------- gst-launch v4l2src ! videorate ! video/x-raw-rgb , width=320 , height=240 , framerate=5/1 ! motiondetect threshold=25 multiplier=16 gap=30 minchange=3000 ! ffmpegcolorspace ! ximagesink TODO ____ Not considering color space logic atm and treating everything as grayscale , still works but will work and look better once it is done Morphological operators , countouring , blob detection and other advanced techniques need to be applied for reliable human motion detection