Use this tag for physically moving systems. For example robots, or electronic or pneumatic actuators.
Questions tagged [motion]
584 questions
2
votes
0 answers
Calling a method that is usually called with KeyPress
I am using shake.js and I am modifying a game. The avatar jumps fine with button press but with the shake it jumps once and refuses to jump more. I am sure that the shake event is still firing because I can get the alert to pop up. Anybody have any…

Stal G
- 128
- 1
- 7
2
votes
1 answer
Android, How to convert video into slow motion and play it in slow motion using FFmpeg
In Android, How to convert video into slow motion and play it in slow motion using FFmpeg.
I am using FFmpeg command :
ffmpeg -i input.mkv -filter:v "setpts=2.0*PTS" output.mkv
Link :…

Kishor Ramani
- 607
- 1
- 6
- 12
2
votes
4 answers
Movement to the closing parenthesis from inside block
I want a movement to get from point 1 to points 2 and 3:
FunctionCall(a, b, c, AnotherFunc(a, b))
^ <--- ^ ------------> ^
3 1 2
Ideally it would work with editing operations like d, y etc
Now I…

unkulunkulu
- 11,576
- 2
- 31
- 49
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
2
votes
1 answer
onTouchEvent to a Layout inside a layout
My 1st layout is showing nothing.
There is a 2nd layout above of it that is showing an image.
How can I add a onTouchEvent to the 2nd layout?
(I am asking this because OnTouchEvent just affects my 1st layout...)
Its a relative layout overlaying…

Anderson
- 111
- 2
- 8
2
votes
1 answer
Java - Motion / Object detection (Human detection) using OpenCV
I got the video stream from cctv camera using opencv. Now I want to detect a simple motion / object from this video stream. For example, if any person come in any selected zone then rectangular border should be generated around him. I search some…

Tushar Kulkarni
- 323
- 4
- 19
2
votes
1 answer
Getting latest modified file and passing as input to a subprocess
I have code which prints the latest file path of an image snapshot that is saved when motion is activated, I'm trying to use this file path as input to the next part of my code which converts the image to leave only the blue blobs. Any help is…

Owen Lyons
- 65
- 9
2
votes
1 answer
Extending the ffmpeg extract_mvs.c example
I'm using ffmpeg to extract motion vectors using the example doc extract_mvs.c. Issue is that this code only seems to give a few pieces of information: frame number, size of macroblock, source (future or past), source (x and y), and destination (x…

Loo Yung
- 43
- 7
2
votes
6 answers
maths: motion depending on time
i have a mathematical problem:
i have a function where the only parameter is the current time.
the return should be a position which is used to place an object on a certain place.
int position(int time)
{
int x = 0; //TODO implement x depending…

clamp
- 33,000
- 75
- 203
- 299
2
votes
1 answer
Real time Motion History Image (MHI) in Matlab
My project was to detect human activity through stored video clips. I have used following code in order to get the Motion History Image (MHI) of the video clip.
function MHI = MHI(fg)
% Initialize the output, MHI a.k.a. H(x,y,t,T)
MHI = fg;
%…

Amey Kelkar
- 155
- 2
- 12
2
votes
3 answers
Phase shifting image content after analyzing with riesz transform
I am working on a project involving video motion magnification algorithms. Currently I am trying to understand phase based motion magnification using a riesz pyramid. My main source of information is this document:
Riesz Pyramids for Fast…

BoltzmannBrain
- 219
- 2
- 13
2
votes
1 answer
Finding Animated Bar Chart Library Or Component
I am interested in making a bar chart that changes over time (ideally bars will move up and down smoothly to show data changes over time). I didn't expect it would be difficult but, maybe due to the way I am searching, I cannot find a pre-built…

David
- 194
- 1
- 13
2
votes
2 answers
How to detect a motion in a video by using openCV
I'm new to OpenCV and I want to detect the actions in a video by using openCV. Let say the video is a cricket match, then I want to detect who is the batmat and who is the bowler by using their motions. Can anyone guide me how can I do this with…

Anushka Ekanayake
- 977
- 2
- 13
- 33
2
votes
1 answer
What's the frequency for onSensorChanged in android?
Frequency is always highest as they were registered.
But question is : synchronous or not?
If the gyro sensor proivdes 200HZ at most, accel sensor provides 50HZ at most in my phone,
So the onSensorChanged function provides gyro data 4 times then…

icell
- 21
- 1
- 3
2
votes
2 answers
How to implement the background change viewpoint when the user is moving the iOS device?
As you may know that the iOS 7 home screen can do a visual things like, when the user moving the device, the background is moving as well. How can I do the similar thing in my application? Let say I got two images view. One is on top of another. How…

DNB5brims
- 29,344
- 50
- 131
- 195