Log in or register to post comments

Keeping the object on the screen even when the target is lost

April 20, 2016 - 2:09pm #1

Greetings everyone!,

I'm working on a very "simple" augmented reality example, in which the target is a drawing, a symbol on the ground, and an statue of an animal appears when we look at the target.

The issue is that we've decided that this animal is going to be giant, and therefore we would like to look up to see it completely, because as it will appear in front of us, at first we will only see its legs. But by doin doing this (lloking up), the marker is no longer visible and the object disappears ...

I've been tinkering in the DefaultTrackableEventHandler script, which comes in the default package with Vuforia, and actually see the event in which the object disappears when we lose focus of the marker is OnTrackingLost (), and have tried to comment parts of this method. But, many problems arise because then the object moves with the camera (following the camera) as if it were stuck to it, and therefore we can not look up (as if we had a virtual reality glasses put, it is an example that comes to mind, which achieves the same effect).

And in summary that's the problem, I've tried a few options that I could think of but in the end always the same.

I appreciate any help in this regard, and in turn I find an interesting topic so that it is reflected here, as always RA often used to see small objects in front of us, or on a table ... but this is a interesting use I'm sure it has to be achievable :)

Regards !, and thank you very much again, Good Day !! ;)

Keeping the object on the screen even when the target is lost

February 13, 2018 - 1:23pm #6

Hi. I'm having same issue when tracking is lost the image sticks to the camera. Have you got a solution?

Keeping the object on the screen even when the target is lost

March 12, 2017 - 9:00am #5

how u do this ?  i'm not able to do ..?

Keeping the object on the screen even when the target is lost

June 6, 2016 - 2:18am #4

Hi Medabit,

Thank you for useful guide. I have a question, Is it possible to not use CloudReco.

Well actually I want to use Vuforia to detect / scan an image but later instead showing augmented reality show an animation

which I captured before, Is it possible? Do you have any idea how can I do that?

Thanks a lot in advance.

Ciao,

Kaveh

Keeping the object on the screen even when the target is lost

May 31, 2016 - 4:57am #3

Hi again, and thanks for the response :)

I have solved the problem, Vuforia itself has the functionality I needed, it's called Extended Tracking, but I was looking in the wrong place.

Solution:

1 - Select the ImageTarget you have placed in the scene.

2 - In the Inspector, go to the Script component Image Target Behaviour and activate the property: Enable Extended Tracking

And you're done! : D

The result is something like what is shown in the following video (which can look up and see the entire skyscraper):

Keeping the object on the screen even when the target is lost

April 21, 2016 - 8:23am #2

I would suggest reviewing the behavior of our CloudReco sample app. In that sample, when the target is in the FOV of the camera, the augmentation (a simple plane) will be registered to the target. However, when the target is not in the FOV of the camera, the augmentation will snap to the center of the video display.

If this behavior is similar to what you desire, or helps bootstrap what you're trying to achieve, the sample source is available for your review.

https://developer.vuforia.com/downloads/samples

Good luck!

Log in or register to post comments