ifm3dpy.framegrabber.Frame

class ifm3dpy.framegrabber.Frame

Bases: None

Represent a frame of data received from the the device.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

frame_count(self)

Get the frame count according to algorithm output

get_buffer(self, id[, index])

Get the buffer with the given id

get_buffer_count(self, id)

Get the total number of image with the given id

get_buffers(self)

Get the list of available buffers

has_buffer(self, id)

Check if a buffer with the given id is available in this frame

timestamps(self)

Get the timestamps of the frame

frame_count(self: ifm3dpy.framegrabber.Frame) int

Get the frame count according to algorithm output

get_buffer(self: ifm3dpy.framegrabber.Frame, id: ifm3dpy.framegrabber.buffer_id, index: int = 0) object

Get the buffer with the given id

get_buffer_count(self: ifm3dpy.framegrabber.Frame, id: ifm3dpy.framegrabber.buffer_id) int

Get the total number of image with the given id

get_buffers(self: ifm3dpy.framegrabber.Frame) List[ifm3dpy.framegrabber.buffer_id]

Get the list of available buffers

has_buffer(self: ifm3dpy.framegrabber.Frame, id: ifm3dpy.framegrabber.buffer_id) bool

Check if a buffer with the given id is available in this frame

timestamps(self: ifm3dpy.framegrabber.Frame) List[datetime.datetime]

Get the timestamps of the frame