ARKit图像检测冻结相机 [英] ARKit Image detection Freezing camera

查看:93
本文介绍了ARKit图像检测冻结相机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在ARKit 1.5中使图像检测正常工作,但是在ARKit 2.0中,每当我启动应用程序时,它就会在看起来像一帧相机之后冻结.我仍然可以与自动在屏幕上生成的对象进行交互,但是相机停止更新.我正在使用Unity插件,每次更改Unity AR Camera Manager脚本中图像跟踪"下的字段时,我似乎都遇到了此问题.其他人有没有经历过?

I had image detection working properly in ARKit 1.5, but in ARKit 2.0 whenever I launch my application it freezes after what looks like 1 frame of the camera. I can still interact with an object that automatically spawns on the screen, but the camera stops updating. I am using the Unity plugin and every time I change the fields under Image Tracking in the Unity AR Camera Manager script I seem to have this problem. Has anyone else experienced this?

推荐答案

我发现此错误发生在以下环境中.

This bug is occurred on below environment, I found out.

  • 在Xcode 10.0上
  • 部署目标:iOS11.0〜11.4
  • 在iOS12设备上构建

我调试了很多环境模式.

I've debugged a lot of pattern of environments.

最后,我尝试使用 Xcode 10.1 ,然后发现此错误已修复,我想... 但是这种解决方案并不完美.我无法解决iPhone XS Max上的问题.

Finally, I tried on Xcode 10.1 and then found out this bug has been fixed, I thought... But this solution is not perfect. I couldn't solve the problem on iPhone XS Max.

最后,最后,此解决方案是最好的.

Finally and Finally, this solution is the best.

谢谢.

这篇关于ARKit图像检测冻结相机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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