Mapping示例中的帧速率较低 [英] Low frame rate in the Mapping example

查看:104
本文介绍了Mapping示例中的帧速率较低的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我在体面的nvidia非常体面的计算机上遇到10fps的低帧速率,深度和颜色的同步似乎会大大减慢fps的速度snychronisation需要一些锁定或东西。


是否有计划对此进行处理?


最好,


<罗伯特



解决方案

您是通过内置示例还是在自己的代码中看到这个?最近对MultiSourcFrameReader进行了改进以改进,但帧率锁定在30fps。如果您在代码中没有看到这一点,请确保遵循示例中概述的
模式。


每次在回调函数中添加额外开销时,都会导致应用程序不遵循必须在33ms内释放帧的规则。如果您没有足够快地释放/丢弃帧,则会丢帧。你需要
创建一个单独的线程来对帧进行额外的处理。


Hi,

I am experiencing low framerate of 10fps on a very decent computer with decent nvidia, the sync of Depth and Color seems to slow down the fps dramatically due to some locking or stuff needed for the snychronisation.

Is there plans to work on this?

best,

Robert

解决方案

Are you seeing this with the built in sample or in your own code? There have been changes recently to the MultiSourcFrameReader to improve things, but the framerate is locked at 30fps. If you are not seeing this in your code, be sure you are following the pattern outlined in the samples.

Any time you add additional overhead into the callback function will cause your application to not follow the rule where you must release the frames within 33ms. If you are not releasing/disposing the frames fast enough, you will loose frames. You need to create a separate thread to do additional processing on the frames.


这篇关于Mapping示例中的帧速率较低的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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