Reference

Freenect.RawTiltStateType
struct RawTiltState
  • accelerometer_x::Int16

  • accelerometer_y::Int16

  • accelerometer_z::Int16

  • tilt_angle::Int8

  • tilt_status::Int8

This data is currently uninterpreted and only provided raw.

source
Freenect.ResolutionType

Enumeration of available resolutions. Not all available resolutions are actually supported for all video formats. Frame modes may not perfectly match resolutions. For instance, resolution_medium is 640x488 for the IR camera.

source
Freenect.sync_get_depthMethod
sync_get_depth(index::Integer, fmt::DepthFormat) -> Tuple{Array{UInt16,2},Int64}

Synchronous depth function with resolution resolution_medium, starts the runloop if it isn't running.

The returned array is copied before returning and is safe to store.

source
Freenect.sync_get_depth_with_resMethod
sync_get_depth_with_res(depth::Any, timestamp::Any, index::Any, res::Any, fmt::Any) -> Int32

Synchronous depth function, starts the runloop if it isn't running

In the raw pointer version, the returned buffer is valid until this function is called again, after which the buffer must not be used again. Make a copy if the data is required. The version returning an array does not have this limitation.

source
Freenect.sync_get_depth_with_resMethod
sync_get_depth_with_res(index::Integer, res::Resolution, fmt::DepthFormat) -> Tuple{Array{UInt16,2},Int64}

Synchronous depth function, starts the runloop if it isn't running.

The returned array is copied before returning and is safe to store.

source
Freenect.sync_get_pointcloudMethod
sync_get_pointcloud(index::Integer) -> Tuple{Array{Float64,3},Int64}

Helper for getting a pointcloud from the camera at index.

The resulting point cloud is relative to the camera, with X forward, Y left, and Z up.

This function uses a fixed homography matrix - you may have better results for your own hardware by calibrating your Kinect.

source
Freenect.sync_get_tilt_stateMethod
sync_get_tilt_state(state::Any, index::Any) -> Int32

Tilt state function, starts the runloop if it isn't running.

The returned pointer is only safe until the next call to this function.

source
Freenect.sync_get_tilt_stateMethod
sync_get_tilt_state(index::Integer) -> RawTiltState

Tilt state function, starts the runloop if it isn't running.

The returned RawTiltState struct is safe to store.

source
Freenect.sync_get_videoMethod
sync_get_video(index::Integer, fmt::VideoFormat) -> Tuple{Any,Int64}

Synchronous video function with resolution resolution_medium, starts the runloop if it isn't running.

The returned array is copied before returning and is safe to store.

source
Freenect.sync_get_video_with_resMethod
sync_get_video_with_res(video::Any, timestamp::Any, index::Any, res::Any, fmt::Any) -> Int32

Synchronous video function, starts the runloop if it isn't running

The returned buffer is valid until this function is called again, after which the buffer must not be used again. Make a copy if the data is required.

source
Freenect.sync_get_video_with_resMethod
sync_get_video_with_res(index::Integer, res::Resolution, fmt::VideoFormat) -> Tuple{Any,Int64}

Synchronous video function, starts the runloop if it isn't running.

The returned array is copied before returning and is safe to store.

source
Freenect.sync_set_ledMethod
sync_set_led(led::Any, index::Any) -> Int32

Set the LED to the given mode, starts the runloop if it isn't running.

source