3DiVi Face SDK  3.21.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Groups
face_sdk.modules.ir_frame_raw.IRFrameRaw Class Reference

An IR frame aligned with the original color image. More...

Public Member Functions

def __init__
 Height of an IR frame. More...
 
def __repr__
 

Static Public Member Functions

def read_ir_frame
 A function that loads a IR frame from a file and converts it to a uint16 array.
 

Public Attributes

 ir_frame_rows
 
 ir_frame_cols
 
 ir_frame_2_image_offset_x
 
 ir_frame_2_image_offset_y
 
 ir_frame_2_image_scale_x
 
 ir_frame_2_image_scale_y
 
 ir_horizontal_fov
 
 ir_vertical_fov
 
 ir_frame_data
 
 ir_data_stride_in_bytes
 

Detailed Description

An IR frame aligned with the original color image.

Correspondence between the coordinates of the original image and the IR frame is as follows: let (x; y) be a point on the IR frame, then a corresponding point on the original image is (ir_frame_2_image_offset_x + ir_frame_image_2_scale_x * x; ir_frame_2_image_offset_y + ir_frame_2_image_scale_y * y).