Webcam motion detection with GStreamer
location: ubuntuforums.com - date: January 5, 2009
Hi, has anybody heard of a motion detection plugin for gstreamer?
I know of "motion" but that's a bit inflexible and doesn't work so well with my camera, whereas gstreamer does.
I'm thinking of a kind of filter that would let frames through only if there was motion detected, e.g. like this:
gst-launch-0.10 v4l2src ! ffmpegcolorspace ! motiondetect ! ... ! filesink location=motion.mjpeg
Motion detection with webcam
location: ubuntuforums.com - date: June 12, 2010
I'm trying to setup motion detection software with a view to getting pictures emailed to me.
I've had a look at a package called motion, which seems great, except it takes tens of pictures every second during motion.
Any suggestions? Thanks.
Motion detection with OpenCV c++
location: linuxexchange.com - date: January 20, 2014
I'm trying to play with my webcam and OpenCV.
I follow this tuto : http://mateuszstankiewicz.eu/?p=189.
But the only result I have is one red border and I don't understand why. Could anyone help me to make it right and fix this ?
Here is my code :
cv::Mat Mvt_detection::start(cv::Mat frame)
cv::BackgroundSubtractorMOG2 bg(5,3,true) ;
std::vector<std::vector<cv::Point> > contours;
Here is a screenshot of what our cam returns :
I tried on two other video from there and there and there is the same
need a simple webcam software with motion detection
location: ubuntuforums.com - date: February 14, 2011
So my 1 of my roommates keep taking stuff out of my room while im away for the weekend. somebody is doing this and wont come clean. i want to set up a webcam in my room with motion detection so i can find out who it is.
i have looked up a few programs, but they were a bit to complicated for me. now my main computer is my laptop and goes everywhere with me. i have an old OOOLD (1999) computer that i can connect my webcam too. i need a good combo of OS and cam software for this machine. a light weight linux distro and a simple webcam program. so i can just point the cam, click record and go off for my weekend.
my computer is a 366 mhz with probably 32 mb of ram. and webcam is logitech.
Turn on/off monitor with motion detection via webcam
location: ubuntuforums.com - date: August 11, 2011
I'd like to setup my monitor to turn on when I enter a room, using a motion detecting program, and if possible, I'd like it to stay on until there's 30 minutes without any motion. (I'm using the monitor to display my calendar at all times. I'd like to conserve power by having it turn off when I'm not in the room.) I've done some work with command line before, but my competence is still pretty low. Oh, and if it's not possible to turn the monitor off, displaying a black screen saver would suffice. I'm running 11.04 x64.
Thanks in advance!
Things To Do With Motion Detection #9: check your sleep pattern
location: ubuntuforums.com - date: October 29, 2011
Looking for new applications for motion detection, I took my Santa Claus Detection System (http://ubuntuforums.org/showthread.p...ighlight=santa) and turned the camera on myself...and then fell asleep!
To be more precise, I trained the camera on my head and let it run over night. So in the morning I had a bunch of video clips.
I guess most people have seen those sleep pattern graphs which show how we alternate between deep and shallow sleep through the course of the night. Could my "research" validate this?
Armed with only Libre Calc and a grade 2 C.S.E. in Woodwork, I set about plotting the number of video clips by time (see plot 1).
Well, this looks promising. At least it goes up and down. But wait a moment, the number of video clips is going to be influenced by the threshold set in Motion. And a video clip generated by a quizzical raise of my left eyebrow should not have the same currency as a full barrel roll!
So my second attempt at number crunching (yes,
motion detection from webcam in C++/Java/*
location: ubuntuforums.com - date: May 22, 2010
i am working on a project where a robotic arm plays a game of tic tac toe. the arm is complete so is the AI. now i am thinking about re designing the input process.
I wanted to take input through parallel port(laser sensors) for ease but now electronics are becoming complicated. and it is becoming a terminal more than a Robot.
I just wonder if i can do some programming here
How can i take image from the webcam and detect different colors from it (C++ preferred as i know it well and the other parts are written with it but you can also show me Java advice )
I need it really soon plz help me out with this. thanks in advance
Recording from tv tuner/webcam with gstreamer and audio/video going out of sync
location: linuxexchange.com - date: January 14, 2013
I have a TV tuner card that shows up as /dev/video1. I am trying to digitize some old VHS tapes. The TV tuner doesn't do audio, I have a wire connected to my microphone in.
This is the gstreamer pipeline I'm using to capture video & audio and save it to a file. I'm using motion jpeg because I don't want it to drop frames and lose content. I'll re-encode it better later.
gst-launch-0.10 v4l2src device=/dev/video1 ! \
queue ! \
video/x-raw-yuv,width=640,height=480 ! \
ffmpegcolorspace ! \
jpegenc ! \
avimux name=mux ! \
filesink location=output.avi \
pulsesrc ! \
queue ! \
audioconvert ! \
audio/x-raw-int,rate=44100,channels=2 ! \
This all works well and good. I have files that play that have video and audio. However sometimes when playing the output files, the audio & video goes out of sync. It happens at the same place in the video, on numerous different media players (totem, mplayer). So I think this is a problem in how I'm s
Java Motion Detection using webcam
location: linuxexchange.com - date: January 1, 1970
I'm in a group that is trying to detect motion from people walking through a space and then for each separate person, to display a fish in an "aquarium". Right now we're using Processing and OpenCV to do facial detection and then for each face, we create a fish.
The problem is that the system runs at a really low frame rate. We need to get the frame rate up by a large factor, which is why we're trying to figure out how to use motion detection.
Our teacher suggested that we use threading in processing and check less often for people, but we're really confused by how to do the threading.
Any suggestions about how we should handle this would be really really appreciated. Thank you.
Here is the code:
import hypermedia.video.*; // Imports the OpenCV library
OpenCV opencv; // Creates a new OpenCV object
[SOLVED] how to stream a webcam to http with VLC ?
location: linuxquestions.com - date: February 14, 2012
I want to stream my web cam to http by VLC my command is:
Page: 1 2 3 4 5 6 7 8 9 10