降低kinect帧率 [英] Reduce kinect frame rate

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

问题描述

我正在研究c#中的一个项目,我正在从Kinect捕捉颜色和深度框架,然后我正在对它们进行实时处理,分辨率为640 * 480的kinect捕获为30FPS,但我不知道不需要所有帧,我想将帧速率降低到大约15FPS。你能帮我解决任何指令或示例代码。



提前谢谢:)

I'm working on a project in c# which I'm capturing color and depth frame from Kinect, then I'm doing some real-time process on them, kinect capturing with resolution 640*480 is 30FPS, but I don't need all the frames and I want to reduce the frame rate to be about 15FPS. Would you please help me with any instruction or sample code.

Thanks in advance :)

推荐答案

您可以通过更改 ColorCameraSettings.FrameInterval 属性的值来更改帧间隔。



在使用FrameInterval时,您必须确保将AutoExposure属性设置为false;否则对帧没有影响。

使用它如:

You can change the frame interval by changing the value of ColorCameraSettings.FrameInterval property.

You have to make sure the AutoExposure property is set to false while working with FrameInterval; otherwise there will have no effects on the frames.
Use this like :
this.sensor.ColorStream.CameraSettings.FrameInterval = 12



几个月前我在这里做了一个帖子,如何控制Kinect颜色数据流的帧间隔? [ ^ ]

希望这对您有帮助!


I did a post over here couple of months back, How to control the frame interval of Kinect color data stream? [^]
Hope this will help you !


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

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