Openni sets the frame rate of the Kinect to read the IR diagram.

Source: Internet
Author: User
1. Set Frame Rate

The idea is 30 frames, but it's strange to set the frame rate here. However, it is not an interface for setting the frame rate.

Xnmapoutputmode mode;

Pgenerator-> getmapoutputmode (mode); mode. NFPs = FPS; xnstatus nretval = pgenerator-> setmapoutputmode (mode );

 

2. Read IR images

Previously, because irgenerator cannot be created successfully, it was determined that the Kinect did not implement the irgenerator interface.

Well. Obviously wrong. There is a big problem with the way of thinking.

However, after irgenerator is created successfully, start generating will have

Device Protocol: Bad parameter sent!

Solution:

This is also the outputmode that needs to be set for generator,

Although you can use getoutputmode to view the mode before setting, it is also VGA and fps30, but startgenerating is not allowed if you do not set it.

No.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.