Functions
frame_convert Namespace Reference

Functions

def pretty_depth (depth)
 
def pretty_depth_cv (depth)
 
def video_cv (video)
 

Function Documentation

def frame_convert.pretty_depth (   depth)
Converts depth into a 'nicer' format for display

This is abstracted to allow for experimentation with normalization

Args:
    depth: A numpy array with 2 bytes per pixel

Returns:
    A numpy array that has been processed whos datatype is unspecified

Definition at line 4 of file frame_convert.py.

def frame_convert.pretty_depth_cv (   depth)
Converts depth into a 'nicer' format for display

This is abstracted to allow for experimentation with normalization

Args:
    depth: A numpy array with 2 bytes per pixel

Returns:
    An opencv image who's datatype is unspecified

Definition at line 21 of file frame_convert.py.

def frame_convert.video_cv (   video)
Converts video into a BGR format for opencv

This is abstracted out to allow for experimentation

Args:
    video: A numpy array with 1 byte per pixel, 3 channels RGB

Returns:
    An opencv image who's datatype is 1 byte, 3 channel BGR

Definition at line 42 of file frame_convert.py.



libfreenect
Author(s): Hector Martin, Josh Blake, Kyle Machulis, OpenKinect community
autogenerated on Mon Jun 10 2019 13:46:43