Log in or register to post comments

Making the augmented object follow a specific path

March 7, 2014 - 3:24am #1

Hi guys,

I am currently developing an augmented reality game,in which the car should follow a specific path automatically.But the path is not predefined.Only the starting position would be the marker and the car has to be moved from the start to the end on a specifc path.

For the path detection, I tried to detect the color for each coordinates and compared it with the color of the path,if it matched then we moved the car to that position,But it did not work.

So please can anyone tell me what mechanism should be used so that the car goes by the specific path and reaches the end point.

Please help me as soon as possible.

Making the augmented object follow a specific path

March 15, 2014 - 12:43pm #5

I searched a lot on the internet and got to know about EMGU CV,which is an open CV wrapper.I am trying to use EMGU CV in Unity 3d in order to track the road and then do the remaining part.

Hope this works!!!!

 

Making the augmented object follow a specific path

March 12, 2014 - 5:45am #4

Probably you can use user defined targets to build the marker at runtime.

 

Making the augmented object follow a specific path

March 7, 2014 - 10:57am #3

So you are saying that I should use another target for the whole path,and when the path is detected the car should be moved on it??And I forgot to mention that I am doing this in Unity 3D.

 

But I have not understood the comment you have given as below.

" What you could do is to take a Chips target as a starting point and "paste" over a path in this in white e.g. on the assumption that the car is in the middle. "

Is it not possible to take only the starting point as the image target and then detect the path at the runtime.

Please help me as soon as possible. And you can also provide some links or documents for doing the same.

Making the augmented object follow a specific path

March 7, 2014 - 7:55am #2

I tried to detect the color for each coordinates and compared it with the color of the path,if it matched then we moved the car to that position,But it did not work.

This is no real surprise as you would probably have to do a lot of Compute Vision processing to make this happen.

 

One option you do have is to "pre-can" or fake this functionality by using a different Image Target for each path.  What you could do is to take a Chips target as a starting point and "paste" over a path in this in white e.g. on the assumption that the car is in the middle.  Then internally you would have to model the path probably using a Bezier spline curve.

When the IT is detected you could place the car in the middle and move it around the path manually.

 

HTH

N

 

Log in or register to post comments