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
8
votes
3 answers

Android: Tracking mouse pointer movement

Assuming that I am using a generic mouse, is it possible to track the X and Y coordinates of the mouse pointer in android?
John Erick
  • 83
  • 1
  • 5
8
votes
2 answers

Python OpenCV: Detecting a general direction of movement?

I'm still hacking together a book scanning script, and for now, all I need is to be able to automagically detect a page turn. The book fills up 90% of the screen (I'm using a cruddy webcam for the motion detection), so when I turn a page, the…
Blender
  • 289,723
  • 53
  • 439
  • 496
8
votes
3 answers

OpenCV detect movement in python

My goal is to detect movement in specific region on IP camera stream. I managed to write working code, but it's based on my personal understanding. import cv2 import numpy as np import os import time import datetime import urllib import…
Aleksandar
  • 644
  • 1
  • 11
  • 29
8
votes
1 answer

how to detect when MotionEvent.ACTION_MOVE is finished

I need to detect in my application when user stop moving across a specific view. I'm creating something similar to marque text in my application which can interact while user is touching the view and moving across it. And I need to start scrolling…
Android-Droid
  • 14,365
  • 41
  • 114
  • 185
7
votes
3 answers

Matlab video processing of heart beating. code supplemented

I'm trying to write a code The helps me in my biology work. Concept of code is to analyze a video file of contracting cells in a tissue Example 1 Example 2: youtube.com/watch?v=uG_WOdGw6Rk And plot out the following: Count of beats per…
Zalaboza
  • 8,899
  • 16
  • 77
  • 142
7
votes
2 answers

Motion Tracking vs Blob Tracking

Hi all I have a simple question that I have been struggling with....what is the difference, if any, between motion component (blob?) tracking and blob tracking? As defined by OpenCV. Does one cover the other? or are they entirely different…
Mikos
  • 8,455
  • 10
  • 41
  • 72
7
votes
3 answers

Opencv Motion detection with tracking

I need a robust motion detection and tracking in web cam's video frames. The background is always the same. The aim is to identify the position of the object, if possible without the shadows, but not so urgent to remove shadows. I've tried the…
maximus
  • 4,201
  • 15
  • 64
  • 117
7
votes
3 answers

Message queue architecture when messages need to access shared data

I have to build a motion detection service. The motion detection doesn't operate on videos, but instead on just still images. This microservice will need to be able to receive images out of order (with a timestamp) and figure out if the image…
Dominic Bou-Samra
  • 14,799
  • 26
  • 100
  • 156
7
votes
2 answers

Editing android VideoView frames

Environment: Nexus 7 Jelly Bean 4.1.2 Problem: I'm trying to make a Motion Detection application that works with RTSP using VideoView. I wish that there was something like an onNewFrameListener videoView.onNewFrame(Frame frame) I've tried to get…
6
votes
1 answer

Remove background and noise from image

Im trying to remove the background from a video and get a binary images( or 8-bit) where value of the object that moves is 1 and static background is 0. something like this: at first I tried it with getting the difference absDiff() from running…
user4312643
6
votes
1 answer

Motion-detector for moving camera on OpenCV

When the camera is stationary, then it is easy to detect the movement simply by subtracting the previous frame of the current frame, using optical flow: OpenCV v2.4.9.0: Motion Analysis and Object Tracking OpenCV v3.0: Motion Analysis and Object…
Alex
  • 12,578
  • 15
  • 99
  • 195
6
votes
1 answer

Detecting Significant Device Motion on Android

I've been trying to figure out how to make an application that detects whether the device has been moved a significant amount, something more than just shakes. I am trying to detect a distance of, say, at least a foot. Reading the Training section…
Argent
  • 795
  • 2
  • 7
  • 25
6
votes
1 answer

xcode ios 6 shake motion calls IBaction from previous view

I'm a bit new to app development. In a viewController ( VPviewController ) i have the following code: - (void) motionBegan:(UIEventSubtype)motion withEvent:(UIEvent *)event{ if (motion == UIEventSubtypeMotionShake){ [self…
6
votes
1 answer

View only registering MotionEvent.ACTION_DOWN

I'm having an interesting problem...that I can't seem to find the solution for. I'm using an ObjectAnimator to rotate an ImageView; but the onTouchListener only seems to be registering MotionEvent.ACTION_DOWN. (I deduced this from the Log Cats,…
5
votes
2 answers

Motion detection and simple analysis with JavaScript?

Lets assume that I have a video playing in canvas and I want to do some basic analysis on that video like edge detection, motion detection and general motion direction. How should I approach this problem? Can you point me in the right direction to…
Nikolay Dyankov
  • 6,491
  • 11
  • 58
  • 79
1
2
3
28 29