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
5
votes
2 answers

Polling the accelerometer/motion sensor in a MacBook Pro

There is a compiled command line application here that does this. Is there a Cocoa API to query this data?
rennat
  • 2,529
  • 3
  • 26
  • 30
5
votes
1 answer

How can I get all joint XYZ coordinates in ARKit 3 motion capture

I am trying to write to get all joint XYZ coordinates in ARKit 3 motion capture to getting the XYZ to find the all angles of body. but I can't find the XYZ coordinates so cant do the next step. I am trying to use character!.jointTransforms to get…
RoyLi
  • 51
  • 2
5
votes
4 answers

How to calculate where a bullet impacts on a wall (a REAL wall and bullet)

I am building a very exciting project, and I am creating this post to get new, fresh and crazier ideas. I have a big wall, and I am shooting at it. I need to calculate the exact X and Y coordinates where the projectile impacts. There are several…
Salvi Pascual
  • 1,788
  • 17
  • 22
5
votes
2 answers

Gyroscope and accelerometer data from Windows?

The Microsoft Surface Pro has a gyroscope and accelerometer, Windows 8, and the full .NET framework. Most articles I find that talk about the motion API point to the Windows Phone 8 API. What .NET Framework namespaces and classes should I be using…
Jim
  • 11,229
  • 20
  • 79
  • 114
5
votes
1 answer

Motion detection using OpenCV

I see queries related to opencv motion detection, but my requirement is much simpler , so i am asking the question again . I would like to analyse video frames and see if something has changed in the frame. Any kind of motion occurring in the frame…
user1919600
  • 65
  • 1
  • 9
4
votes
2 answers

Detecting the user's spinning motion

I have been experimenting with the Core Motion framework to detect a user spinning around, say on a merry-go-round, holding an iphone in his hand. There are ways to detect the device motion around its own axes, but what is a good way to detect the…
Shyam Bhat
  • 1,600
  • 13
  • 22
4
votes
1 answer

ARBodyTracking in iOS13: how to get real world coordinates of body joints?

I have an app that uses iOS 13 body tracking to place some markers in a human body in real time using ARKit. . The following code allows me to draw the markers in real time and to get their coordinates in the screen. func session(_ session:…
CarlosBF
  • 384
  • 1
  • 17
4
votes
1 answer

Real-time Markerless Motion capturing using normal webcam

Is it possible to do "Markerless motion capturing" using a normal webcam, in real time? Are there any Open source frameworks available? I need to construct a 3d model which will be animated using the captured data.
coder9
  • 1,571
  • 1
  • 27
  • 52
4
votes
2 answers

how to get time if some condition met like gyroscope reading

I want to store time as "dateString" when gyroscope reading x=0.0,y=0.0,z=0.0 & when x>0.0 && y>0.0 && z>0.0 store time as "dateString1". I am not able to time if condition is met because it is taking current time of my phone. It is continuously…
4
votes
1 answer

Compute global motion opencv 2.4.x C++

Here are two images, one captured before an action has been made by the surgeon and the other afterwards. Before: After: Difference: (After - Before) + 128. (The addition of 128 is just to have a better image) As pointed to by the white arrows,…
Maystro
  • 2,907
  • 8
  • 36
  • 71
4
votes
1 answer

how to detect motion of iPhone 6 device? (determine whether iPhone device moved or not -smallest possible motion on x,y,z- )

I'm working on a task to determine when the iPhone 6 is moving (smallest possible move not even a shake!) at any direction (x,y or Z) . what is the best way to achieve that?
Alaa
  • 798
  • 1
  • 12
  • 24
4
votes
0 answers

Invensense mpu 9250: dmp

I'm trying to use the dmp to calculate quaternions. I can't understand how to get the dmp data output. I think that they are stored in some registers reachable using i2c but i don't know their address or in general how to get them. Help please
Enrico Gizzi
  • 51
  • 1
  • 2
4
votes
4 answers

Detect if video file contains movement

I have a bunch of video clips from a webcam (duration is 5, 10, 60 seconds), and I'm looking for a way to detect "does this video clip have movement", to decide whether the file should be saved or discarded in a future processing phase. I've looked…
Joel L
  • 3,031
  • 1
  • 20
  • 33
4
votes
2 answers

In my program i want to detect Activities (walking,running) or location of user When Application is closed(not in Background).is it possible in ios?

In my program i want to detect Activities (walking,running) or location of user When Application is closed.is it possible ? Description:- i am using SOMOtionDetector Class for detecting users activity.When my app is closed(not in background) is…
Rushi trivedi
  • 737
  • 1
  • 15
  • 37
4
votes
1 answer

Motion Vector extraction from encoded video file

I am trying to extract motion vector data from an encoded mp4 file. In a previous post I found an answer http://www.princeton.edu/~jiasic/cos435/motion_vector.c . But I am not able to run the code without errors . What are the other files that have…
Bhushanam Bhargav
  • 301
  • 1
  • 4
  • 10
1 2
3
28 29