Questions tagged [motion-detection]

Related to detection of motion related to programming issues, like computer vision, sensor control, etc.

Motion detection is a process of confirming a change in position of an object relative to its surroundings or the change in the surroundings relative to an object. This detection can be achieved by both mechanical and electronic methods. In addition to discrete, on or off motion detection, it can also consist of magnitude detection that can measure and quantify the strength or speed of this motion or the object that created it.

Motion can be detected by: sound (acoustic sensors), opacity (optical and infrared sensors and video image processors), geomagnetism (magnetic sensors, magnetometers), reflection of transmitted energy (infrared laser radar, ultrasonic sensors, and microwave radar sensors), electromagnetic induction (inductive-loop detectors), and vibration (triboelectric, seismic, and inertia-switch sensors).

424 questions
2
votes
1 answer

How to extract foreground form a moving camera by using Opencv

I am performing motion detection using OpenCV. Challenge is that camera is moving so frame differencing is not a technique to be used directly. So I am trying to separate foreground and background and after that performing frame differencing on…
2
votes
2 answers

Quantify a change of direction given an array of 3d points

I am working on a piece of software written in Java that uses some processing.core library classes and simpleopenni to track a user's hand with the XBOX Kinect. What I am trying to figure out is how to determine when a user's hand movement changes…
Dream Lane
  • 1,282
  • 5
  • 16
  • 27
2
votes
1 answer

How do I save particular frames of video into folders using python?

I have got a code that does motion detection. It takes video as an input and then when an object comes to the scene, background changes and code publishes "object is seen" as text on that detected frame. My question is that how do I save frames…
nikki
  • 365
  • 4
  • 20
2
votes
0 answers

Why does this P5.js web-cam motion-detection code result in my browser crashing?

I can't see why this code doesn't work. There are no syntax errors displayed - and no 'errors' in the Chrome Development console. No black image is displayed if movement and the page seems to be loading non-stop (as if caught in a loop.) - the light…
stilts77
  • 191
  • 3
  • 14
2
votes
1 answer

Using CMDeviceMotion to track iPhone tilt over time

I'm trying to use CMDeviceMotion to track when the iPhone is tilted backwards, and then do something. I've successfully created the CMMotionManager, I'm getting motion data from the system, and I'm filtering for results above a certain…
W Dyson
  • 4,604
  • 4
  • 40
  • 68
2
votes
1 answer

Java Motion Detection using webcam

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…
Josh
  • 111
  • 8
  • 15
2
votes
1 answer

Trouble connecting to Orbbec Persee by USB from Windows 7

(This is a direct duplicate of the post I've made on Orbbec's 3DClub forums.) I've got an Orbbec Persee Development Kit here and it's happily connected to my TV, booted up and running ok — I played the game Ocean a little and it's working fine. I've…
Owen Blacker
  • 4,117
  • 2
  • 33
  • 70
2
votes
1 answer

Raspberry Pi Motion Camera Not Working

I installed motion sensing camera on my Raspberry Pi with this tutorial. I worked through everything. I'm using Raspbery Pi 3 Model B so there were a few differences but I think I've covered everything. When I restart the Pi Motion seems to start as…
pac
  • 491
  • 1
  • 7
  • 30
2
votes
0 answers

How to use Opencv and python to follow certain points of an objet in video?

I have the following problem: I need to follow the movement of certain points of a bird that runs in a video. I have the points marked on the Figure like this: or: I have a code written on python that allows me to follow a point inside a squared…
Cecilia
  • 165
  • 1
  • 4
  • 11
2
votes
0 answers

Find total number of objects and number of moving object from camera/video file in iOS through OpenCV library

Currently I am working on iOS project that needs total number of ellipse object from camera/video file and which ellipse objects are moving in that video. I am using OpenCV library to find out ellipse object but I am new to OpenCV so please help me…
Viral Mithani
  • 313
  • 4
  • 17
2
votes
0 answers

Detect jumping with accelerometer (use magnitude to count) in android

I would like to detect jump in android, after studied: https://developer.android.com/guide/topics/sensors/sensors_motion.html the magnitude seems to be a better factor of detect jump instead of X/Y/Z acceleration, the idea is whenever magnitude…
user782104
  • 13,233
  • 55
  • 172
  • 312
2
votes
1 answer

Getting belt velocity from computer tomography images

A computer-tomography device has a roentgen matrix of 20x500 dots with the resolution of 2mm in each direction. This matrix is rotating around a belt, shich transports items to be analysed. A special reconstruction algorithm produces 3D model of the…
Valentin H
  • 7,240
  • 12
  • 61
  • 111
2
votes
0 answers

What is the best way to detect motions on video when the camera moves?

What is the best way to detect motions of objects on video (exclude ego motion of camera) when the my camera moves? I have real-time 50 FPS fullHD 1920x1080 video-stream. Camera has ego motion. I.e. I must do: estimate motion of my camera between…
Alex
  • 12,578
  • 15
  • 99
  • 195
2
votes
1 answer

ActivityRecognition API doesn't send motions after a while

I have an broadcast receiver for DetectedActivities using the ActivityRecognition. I noticed that it did connect, but I was getting no data. This is on a Samsung Note 2. On other phones I tried it always works. This is the code to connect to google…
2
votes
1 answer

Optical Flow egomotion estimation

below you can see the result of the optical flow if a camera makes a translation movement. If the camera makes a roll rotation the result looks like the second picture. Is it possible to retrieve the yaw angle from a camera if its only rotation…
user3077796
  • 192
  • 1
  • 19