Questions tagged [motion]

Use this tag for physically moving systems. For example robots, or electronic or pneumatic actuators.

584 questions
0
votes
1 answer

android how to get last movement

For example, I move my finger down the screen and then back up. So, this should count as two drags, the last movement before I paused for a split second and after that when I moved back up. I basically count every time I make a new movement without…
Kaal
  • 111
  • 1
  • 10
0
votes
0 answers

AS3 + webcam. Dispatch event on presence

I would like to know if anyone has a snippet I can adapt to achieve the following: I've got a flash projector with some sounds embed, that needs to be lunched when the PS EYE camera I've got attached detects a motion in the room. Any ideas are more…
0
votes
1 answer

OpenCV cpp motion detection

I'm trying to figure out how motion detection work in opencv. I can see there the video analysis reference but I don't find enough information about how this is used. I've also seen some people using absdiff I tried it like this, but It gives me an…
maco1717
  • 823
  • 10
  • 26
0
votes
1 answer

Need Clarifications in iPhone Sensors

Is it possible to get the details like: The name and model number of the sensor The maximum range of the sensor in the sensor's unit. Power consumption of the sensor. The name of the vendor that provides the sensor. Will Apple provide this all…
siva
  • 1,402
  • 2
  • 14
  • 28
0
votes
1 answer

How to get Acceleration Time & Acceleration Magnitude in iPhone

Currently I'm trying to use CMAcceleration to get accelerometer values for x,y& z axis is it possible to get Acceleration Time & Acceleration Magnitude with this x,y & z values.When i checked the developer forum i can't find any delegates / methods…
siva
  • 1,402
  • 2
  • 14
  • 28
0
votes
0 answers

motion tracking phone camera javascript

So am am trying to develop an app/website which accesses the phone's camera and detects motion. But I have simply no idea how I would do this efficient and accurate. The timing is important so can not have huge above (1-20ms). The info I get will be…
Asd20752
  • 323
  • 4
  • 12
0
votes
1 answer

LEAP MOTION + OCULUS + THREE.JS: can't get "optimizeHMD = true" working (head mounted)

I attached the Leap Motion sensor to the Oculus Rift SDK2 device, in order to get my hands recognized from the 'head mounted' mode in a Three.js scene. controller.use('handHold').use('transform', { optimizeHMD: true …
0
votes
1 answer

PC Kinect disconnects after 5 seco using Brekel for animation.

I am trying to capture animation using a PC Kinect connected via USB 3.0 When I try to capture animation using Brekel, the PC Kinect keeps disconnecting and shutting down and only stays on for 5 seconds. I did not have the problem before the…
0
votes
1 answer

Opencv and jmf Together

I've programmed server side and client side to receive a video stream from a webcam in java . This is What I'm using in the client side : public void update (ReceiveStreamEvent event) { if (event instanceof NewReceiveStreamEvent) { …
0
votes
1 answer

why doesn't this code detect diagonal motion?

"player" is an object that moves up , down , left and right when I press on arrow keys. "player" doesn't move diagonally when I press up and left keys together or any other couple of keys. I'm using Adobe flash CS5 and action script 3 ( As3 ),…
user2824371
  • 127
  • 9
0
votes
0 answers

Formula for speed estimation using optical flow

In an university project, we are currently working on an iOS-App, that has to compute the velocity of an vehicle using the information provided by the camera of an iOS-device. The front camera of it should "look" on the street. We want to solve the…
Taurus
  • 9
  • 4
0
votes
0 answers

Why is my moving rectangle on a JPanel vibrating at fixed intervals?

I created a program that draws and moves a rectangle but it vibrates approx. every 15 seconds. Here is my code so far: public class Game extends JPanel implements Runnable { int x = 0; int y = 0; public static void main(String[] args) { Game…
user3370587
0
votes
1 answer

How to make CSS animation happen the moment the website loads

Alright, so what I have is an image I want to move and stay in its final position once its there. I currently have programming that makes the image do an animation when its hovered over. HTML:
0
votes
2 answers

Motion event error on ImageButton click

public class AddActivity extends Activity implements OnClickListener{ String[] info = new String[11]; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.add_layout); …
Bob Bob
  • 154
  • 1
  • 11
0
votes
0 answers

raspberry pi motion sensor input signal

I`m writing simple script for my home security system. it consist of button, led, buzzer, and sensor. It works like this: - button pressed, - alarm function on, - it detects me ( everything is fine), - button pressed again, - alarm off(still fine) -…