简体   繁体   English

使用PyOpenNI录制RGB视频

[英]Recording RGB video with PyOpenNI

I have installed PyOpenNI on my computer, and I want to record RGB videos with my camera. 我已经在计算机上安装了PyOpenNI,并且想用相机记录RGB视频。

On this link, https://github.com/jmendeth/PyOpenNI/blob/master/examples/record.py , it shows how to record depth video. 在此链接https://github.com/jmendeth/PyOpenNI/blob/master/examples/record.py上 ,它显示了如何录制深度视频。

But I don't need depth video. 但是我不需要深度视频。 I need image video. 我需要影像视频。 And I couldn't find any API tutorial for that. 而且我找不到任何API教程。

How can I record an image video with this damn OpenNI? 如何使用该死的OpenNI录制图像视频?

Thanks, 谢谢,

If you need only RGB video, why are you going for pyopenni or openni? 如果只需要RGB视频,为什么要选择pyopenni或openni? Even if you haven't installed openni drivers, the computer treats a kinect as a standard usb camera. 即使您尚未安装openni驱动程序,计算机也会将kinect视为标准USB相机。 I tried that after a fresh install of opencv and it worked. 我在全新安装了opencv之后尝试了此方法,并且该方法有效。 The code contained a image display program for standard usb camera. 该代码包含用于标准USB摄像机的图像显示程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM