我最近使用React Native启动了一个AR应用程序。在该应用程序中,我必须用手机摄像头捕捉物品。问题是我看不到如何知道GPS点(项目的经度,纬度)是否在相机的视野中。是否有任何框架或数学公式可以得出此结果。
对于来自图片的 GPS 数据,可以使用 lib Exif 从元数据中获取相机记录 https://github.com/headmax/exif-js https://www.scantips.com/lights/exif.html