D
D
dendead2020-08-26 15:20:12
Java
dendead, 2020-08-26 15:20:12

How to bind AR to points on a map (Android, Java, Google Maps)?

Hello.

Now I'm testing augmented reality on Android. I want to make it so that when you point the phone at a certain point, a 3D model, picture or something like that is shown through AR. This point must be found by latitude and longitude on the map (LatLng). Got it with google maps. I determine the location of the phone, set the marker on which the augmented reality should work, and what's next?

I know how to display a point based on the azimuth (comparing the position of the phone in space and the actual position of the point). As I understand it, in this case, the accuracy of point detection suffers. For example, you cannot change the height of the point that the phone must find. The AR tutorials use AR markers, but there is very little information and it's hard to figure out how to use them for my task.

Tell me, how, in theory, to implement coordinate binding and a marker for displaying augmented reality? What material can you read to work with AR in Android?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2020-08-26
@freeExec

If I understand you correctly, then the idea is rotten, if the binding is only by GPS, because its accuracy on the smartphone is +/-10m, and in a city where high-rise buildings are generally 50 meters, there is an error. Those. you will actually never find your label by coordinates. No, well, that is, you will find it, but if the mark was at a conditional stop, then to see more now you need to go to the store, and to see it tomorrow, go to the parking lot.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question