我正在研究iOS中的增强现实应用程序,我有一个场景,我需要在相机覆盖的区域中显示对象。为此,我必须将摄像机坐标(边界)转换为纬度和经度,以便我可以显示相同摄像机范围内的位置。
我们可以将OPenCV用于相机范围可以转换为纬度和经度的相同场景
答案 0 :(得分:0)
请尝试这可能会对您有所帮助。
GMSCameraPosition *camera = [GMSCameraPosition cameraWithLatitude:<#(CLLocationDegrees)#>
longitude:<#(CLLocationDegrees)#> zoom:<#(float)#>];
mapview = [GMSMapView mapWithFrame:self.view.bounds camera:camera];
[self.view addSubview:mapview];
请根据您的要求提供lat,long,zoom值。