View Single Post
  #1   Spotlight this post!  
Unread 19-01-2012, 20:56
Metaphorical's Avatar
Metaphorical Metaphorical is offline
Registered User
FRC #0639 (Code Red)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Ithaca
Posts: 4
Metaphorical is an unknown quantity at this point
Kinect Video Mode and Resolutions

So, our team is using the Freenect library to interface with the Kinect, which will be mounted on the robot as a vision device. I spotted these lines in the library code in cameras.c:

Code:
freenect_frame_mode supported_video_modes[video_mode_count] = {

// reserved, resolution, format, bytes, width, height, data_bits_per_pixel, padding_bits_per_pixel, framerate, is_valid

[...]

{MAKE_RESERVED(FREENECT_RESOLUTION_HIGH,   FREENECT_VIDEO_IR_8BIT), FREENECT_RESOLUTION_HIGH, {FREENECT_VIDEO_IR_8BIT}, 1280*1024, 1280, 1024, 8, 0, 10, 1 },

[...]
What this appears to be is an IR video mode (there's corresponding RGB, Bayer, etc. modes) with resolution 1280x1024, which is higher than I've ever heard for the Kinect.

Is this video mode usable? Is it that the Kinect's camera is capable of this, but the low framerate constrains its use, and thus the Kinect's resolution is given as a lower number by most sources?