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
0 answers

Motion Detection in Python without OpenCV due to Sunlight

Okay I know what might come to people's mind is initially that I use OpenCV to solve my problem - except that unfortunately I can't implement it in this case (I'm using a Raspberry PI + the camera module). I have a motion detection script, but the…
eWizardII
  • 1,916
  • 4
  • 32
  • 55
2
votes
2 answers

Accessing Motorola MC9500 motion sensor programmatically?

I am currently working on a windows mobile application for Motorola MC9500 which has Windows Mobile 6.5. I have tried Symbol's EMDK library to access inbuilt motion sensor of the device without any luck. The EMDK for .NET v2.7 has Symbol.Sensor…
2
votes
1 answer

Motion function not working after changing tab in Tabbed Application

i'm pretty new. I'm working on a Tabbed Application. I wanted to have one of the tab with Shake feature, incorporated - (void)motionBegan:(UIEventSubtype)motion withEvent:(UIEvent *)event { if (event.subtype == UIEventSubtypeMotionShake) …
Hyojiiggy
  • 59
  • 5
2
votes
2 answers

Matlab - background subtraction for motion detection

I am currently using vision.ForegroundDetector for motion detection. It returns the foreground image. Is there any way to also get the background image that it has learnt?
2
votes
0 answers

Which motion sensor would consume less battery

As long as my app is active, I need to detect movement, meaning, when the device has started to move. I'm requesting updates in a fixed frequency, and the tracking of sensors is working when the device screen is off and unplugged (it was a huge pain…
Mugen
  • 8,301
  • 10
  • 62
  • 140
2
votes
2 answers

OpenCV Motion Tracking Using Feature Detector

I was wondering If I can detect motion more reliably by using Feature Detectors (like SURF, ORB, etc...)... Will it work for human beings in a video stream?
Danilo Carvalho
  • 385
  • 4
  • 17
2
votes
1 answer

Opencv and Image Processing: Extracting contour of the body frame

I am a beginner in image processing and just started fiddling with OpenCV for a project. I have a video signal of pedestrian walking.I am running the pedestrain.cpp program whic does th bckgound subtrction uing HOG and want to do something like the…
2
votes
1 answer

Determine Direction of Circular Motion

I'm doing a motion detection program and want to determine if a person is moving their hand in a clockwise or counterclockwise motion. Would someone know the best way to do this? (I'm coding in AS3, but any ECMA-like code would help). I believe…
Cerulean
  • 5,543
  • 9
  • 59
  • 111
2
votes
1 answer

OpenCV : How to find the center of mass/centroid for motion information

The thing is I am unable to implement the center of mass with the existing code, which image object to use etc after the detected object is bounded by the rectangle so that I may get the trajectory of the path. I am using Opencv2.3 .I found out…
Shreya M
  • 107
  • 1
  • 2
  • 11
2
votes
1 answer

Calculate white areas pixels in contours using opencv and Javacv

I have develop a program to detect motions using JavaCV. up to now i have completed cvFindContours of the processed image. source code is given below, public class MotionDetect { public static void main(String args[]) throws Exception,…
thusi
  • 47
  • 1
  • 5
2
votes
3 answers

Detect significantly distinct image from a set, such as with OpenCV or SimpleCV

I have still images captured over the course of one night by a webcam. The majority are identical, since the lighting in the images is uniform. However, some are significantly different from the rest - they have visible human movement through the…
Maxim Zaslavsky
  • 17,787
  • 30
  • 107
  • 173
2
votes
2 answers

OpenCV: how to detect if video has fast moving object in it?

What would be the best way to detect a fast moving object using OpenCV? Say, I have 5 random video files: 1) Video of a crowd, people walking, static camera. 2) Video of a cat playing with a ball, shaky iPhone camera. 3) Video of a person being…
Stpn
  • 6,202
  • 7
  • 47
  • 94
2
votes
2 answers

Idea needed about vehicle counting by analysing the white pixels of the binary foreground image

I am a bit new to image processing so I'd like to ask you about finding the optimal solution for my problem, not help for code. I couldn't think of a good idea yet so wanted to ask for your advices. Hope you can help. I'm working on a project under…
Horizon1710
  • 792
  • 10
  • 28
1
vote
0 answers

Is it possible to query the MacBook Pro sudden motion sensor via JavaScript?

Is it possible to query the sudden motion sensor via JavaScript in the browser?
Aron Rotteveel
  • 81,193
  • 17
  • 104
  • 128
1
vote
1 answer

MotionEvent Action_Up issues on passing event

I have a top(transparant) view over my appliction. this is supposed to catch a Long press of 5 seconds and open a menu . So i implemented an OnTouchListener . like this : public boolean onTouch(View v, MotionEvent event) { …
ron
  • 159
  • 2
  • 11