简体   繁体   English

Objective-c/iOS 使用相机跟踪位置

[英]objective-c/iOS Track location with camera

I want to display real time video on the iPhone Screen.我想在 iPhone 屏幕上显示实时视频。 I know the GPS coordinate of my house.我知道我家的 GPS 坐标。

I want to display a vertical line on the screen that shows me my house direction.我想在屏幕上显示一条垂直线,显示我家的方向。 If i move my phone, turn left, right, i want the vertical line to move left and right to show where is my house.如果我移动手机,向左、向右转,我希望垂直线向左和向右移动以显示我的房子在哪里。

If my house is behind me, i do not want to see the vertical line.如果我的房子在我身后,我不想看到垂直线。

Do you think this kind of application is easy to make ?你认为这种应用容易制作吗?

For this you have to use "Augmented Reality".为此,您必须使用“增强现实”。 You can find many more source code for this.你可以找到更多的源代码。 Please check the below links:请检查以下链接:

Location Based AR 基于位置的增强现实

Augmented Reality Toolkit增强现实工具包

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM