当我尝试倾斜相机时,Kinect SDK会抛出异常 [英] The Kinect SDK throws the exception sometime when I try to tilt the camera
本文介绍了当我尝试倾斜相机时,Kinect SDK会抛出异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我尝试倾斜相机时,Kinect SDK会抛出异常:
解决方案
您多久尝试倾斜相机?相机不能每秒倾斜超过一次,或在20秒间隔内倾斜15次。请参阅
的自述文件
http://research.microsoft.com/en-us/um/redmond/projects/kinectsdk/docs/readme.htm ,"控制传感器和相机阵列"部分。
如果您尝试根据UI移动不断调整倾斜角度,则应在UI请求和更改摄像机角度的调用之间添加超时。
Eddy
The Kinect SDK throws the exception sometime when I try to tilt the camera:
解决方案
How often do you try to tilt camera? Camera can't be tilted more than once per second, or 15 times in a 20 second interval. See readme at http://research.microsoft.com/en-us/um/redmond/projects/kinectsdk/docs/readme.htm, section "controlling the sensors and camera array".
If you're trying to constantly adjust tilt angle based on UI movements, you should add a timeout in between UI requests and calls to change camera angle.
Eddy
这篇关于当我尝试倾斜相机时,Kinect SDK会抛出异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文