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

Playing a video with timeout while a motion is detected

A friend of mine asked me to wrote a simple code to play a video each time a motion is detected. The hardwares used are a Raspberry Pi B+ and a Logitech C170 webcam. This is full code: http://pastebin.com/Z6nS9MXf. Overall, it works almost as…
anta40
  • 6,511
  • 7
  • 46
  • 73
2
votes
1 answer

how to measure distance and centroid of moving object with Matlab stereo computer vision?

Which Matlab functions or examples should be used to (1) track distance from moving object to stereo (binocular) cameras, and (2) track centroid (X,Y,Z) of moving objects, ideally in the range of 0.6m to 6m. from cameras? I've used the Matlab…
Doug Null
  • 7,989
  • 15
  • 69
  • 148
2
votes
0 answers

Android - Moving Cursor position from Motion Sensor Input

I'm working in Eclipse, using the Libgdx game framework to develop an Android application, where I'm attempting to move a 2D cursor based on the general movements of the Android device. As I've read from countless sources already, this is a much…
9bjames
  • 31
  • 8
2
votes
1 answer

Kinect range capability

I'm thinking of trying something with the kinect but before I buy the equipment I had a simple feasibility question. Would the kinect v2 be able to track hand movements in a very large room with lots of people? The people would be sitting. The…
William
  • 1,375
  • 12
  • 27
2
votes
1 answer

Mixing C and C++ on an embedded system

So I'm having the following problem: I have an MEMS board that runs on FreeRTOS and includes gyro, accelerometer and magnetometer. I cannot change any existing code (All in C). Now I have a basic motion detection library written in C++ and I…
Unfixable
  • 440
  • 1
  • 7
  • 20
2
votes
1 answer

OS X Cocoa access appleSMC from sandboxed app

I want to access AppleSMC device from a sandboxed app , does anyone know what entitlement should I use to access Temperature sensors and FANs RPM? here is the code I am using to access it : kern_return_t result; mach_port_t …
Coldsteel48
  • 3,482
  • 4
  • 26
  • 43
2
votes
0 answers

Isolating and tracking multiple objects in real time using OpenCV?

I'm currently making a program to track 4 paddles, with 3 different colors. I'm having trouble understanding how best to proceed, with the knowledge I have now, and how to reduce the computational costs of running the project. There are code…
NT93
  • 316
  • 2
  • 15
2
votes
4 answers

How to detect the rotation angle of coordinates in an image

I am trying to evaluate a simple experiment with a spinning wheel. I have some videos of a spinning wheel (about 60 - too many to process them manually). I want to detect the rotation angle of the wheel in each frame. So my idea was this: After…
iblue
  • 29,609
  • 19
  • 89
  • 128
2
votes
1 answer

Calculate the speed of hand gesture

anybody who know how to calculate the speed of hand gesture from hand tracking ? (i'm using processing 1.5.1 with simpleopenNI 0.27) Thanks for your attention
2
votes
1 answer

API or method to convert gesture to text in android

I am developing an application which will take gestures and convert those gestures to according text and store them in database. I want to know if there is any Android API or method for this task.
2
votes
2 answers

Motion recognition with Artificial Neural Networks

I am developing (for my senior project) a dumbbell that is able to classify and record different exercises. The device has to be able to classify a range of these exercises based on the data given from an IMU (Inertial Measurement Unit). I have…
2
votes
2 answers

how to code simple motion tracking?

I am making a sentry turret with servos and a paintball gun and need to implement real time motion tracing to make the gun shoot anything that moves. how can I code this(any good algorithms, books, tutorials)? I want to make it myself and not use…
n0ob
  • 1,275
  • 8
  • 20
  • 23
2
votes
1 answer

How to combine the nearest small blob to make a bigger one in C# afroge.net

I want to calculate the difference between two images and want to highlight them by showing a rectangle. These images can be webpages of same site twice time. i would like to refer this link…
sm.abdullah
  • 1,777
  • 1
  • 17
  • 34
2
votes
4 answers

Draw image on a form from a separate thread

I am currently working on a Windows.Forms application. It's basically a simple motion detection problem. I have a button on a form, that when pressed launches a background worker that does the following : Fetch an image from disk Create a new…
Jean Azzopardi
  • 2,289
  • 23
  • 36
2
votes
2 answers

iPhone Shake event not properly working

I have this inside my viewController: - (void)motionEnded:(UIEventSubtype)motion withEvent:(UIEvent *)event { if (event.type == UIEventSubtypeMotionShake) { NSLog(@"I have shaked"); } } Why is this not working? Edit: I do infact…
Jab
  • 26,853
  • 21
  • 75
  • 114