Log in or register to post comments

Is the camera moving or the object?

October 11, 2015 - 4:50pm #1

Hi,

I would like to know if there's any way to detect if the ARCamera is moving or the object (let's say imageTarget) is moving. Because if the camera is moving, even if it's recognizing my image target, I don't want to do anything. But if the imageTarget is moving, I want to do something with it.

At this moment, either I move the object or the camera (using a Moverio glasses), the position changes. I've tried playing with the World Center Mode, but it's not useful.

Thank you!

 

Is the camera moving or the object?

October 12, 2015 - 3:15am #2

The camera is placed in the scene based on the info from the marker. 

 

I doubt Vuforia is aware of the room so it cannot define whether the marker was moved or the device was moved, both would result in a similar result.

 

What you can do is consider the acceleration of the device. So if the camera is moving and the accelerometer is barely changing, then you are moving the marker else you are moving the device.

 

Keep in mind I am famous for being wrong so consider this lightly, there might be a proper solution to your problem.

Log in or register to post comments