kinext v0.2.0 Kinext.Video

Interface for, and struct representing, a video "context" for a kinext device.

To access the video with kinext, you must first create a new video context via the new/2 function. To retrieve each frame of the video, you then request a frame via the get_frame/1 function.

The underlying OpenKinect video paradigm is complex (raw RGB, pointers, and callbacks), and this abstraction eliminates that complexity.

Link to this section Summary

Link to this section Types

Link to this type

t()

t() :: %Kinext.Video{
  context: Kinext.Context.t(),
  device: Kinext.Device.t(),
  listener_pid: pid()
}

Link to this section Functions

Link to this function

get_frame(video)

Link to this function

new(context, device)