基于位置的增强现实android应用程序 [英] location based augmented reality android application

查看:105
本文介绍了基于位置的增强现实android应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在基于实时位置开发增强现实android应用程序. 这是一个简单的概念:我的应用程序应显示我周围的一些位置.我有 对此进行了深入研究,但我仍然遇到问题.我有我的GPS坐标 以及目标地点的GPS坐标.

I am developing augmented reality android application based on real time location. It is a simple concept: my application should show some places around me. I have researched this intensively and yet I am still running into issues. I have my GPS coordinates and the target place's GPS coordinates.

我的问题是:如何获取手机摄像头正在看的东西(例如建筑物)? 解决此类问题的逻辑方法是什么?

My question is: How can I retrieve what my phone's camera is looking at (for example a building)? What is the logical way to solve something like this?

推荐答案

增强现实会将真实坐标系转移到相机坐标系.在基于AR位置的系统中,实际坐标是地理坐标系.我们将把GPS坐标(纬度,经度,海拔)转换为导航坐标(东,北,上),然后将导航坐标转换为相机坐标并将其显示在相机视图上.

Augmented Reality will transfer real coordinates system to camera coordinates system. In AR Location-based, the real coordinate is Geographic coordinate system. We will convert the GPS coordinate (Latitude, Longitude, Altitude) to Navigation coordinate (East, North, Up), then transfer Navigation coordinate to Camera coordinate and display it on camera view.

我只是为您创建演示: https://github.com/dat-ng/ar-location-based-android

I just create the demo for you: https://github.com/dat-ng/ar-location-based-android

这篇关于基于位置的增强现实android应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆