Functions

VideoCamera:array() Get the internal array data
VideoCamera:close() Close a video camera stream
VideoCamera.format GETSET Set the pixel format
VideoCamera:open([dim]) Open a video camera stream

Functions

VideoCamera:array()

Get the internal array data

Return:

  • The array
VideoCamera:close()

Close a video camera stream

VideoCamera.format GETSET

Possible values are video.RGBA and video.RGB.

VideoCamera:open([dim])

Open a video camera stream

Parameters:

[dim] The dimensions (defaults to 720x480)