PST SDK  5.2.0.0-0eac0f6
pstech.pstsdk.image.Image Class Reference

Images retrieved from the tracker. More...

Public Member Functions

def __init__ (self, c_images)
 
def __eq__ (self, other)
 

Public Attributes

 width
 
 height
 
 images
 

Detailed Description

Images retrieved from the tracker.

This class contains grayscale images retrieved from the cameras inside the PST Tracker.

Note
If numpy is installed, the greyscale image is represented as a numpy array with values of type numpy.ubyte and without memory alignment. If numpy is not installed, the greyscale image is represented as a ctypes array with values of type ctypes.c_ubyte and without memory alignment. This is done for optimization reasons.
See also
tracker.Tracker.enable_image_transfer
tracker.Tracker.disable_image_transfer
tracker.Tracker.get_image

Constructor & Destructor Documentation

◆ __init__()

def pstech.pstsdk.image.Image.__init__ (   self,
  c_images 
)

Member Function Documentation

◆ __eq__()

def pstech.pstsdk.image.Image.__eq__ (   self,
  other 
)

Member Data Documentation

◆ height

pstech.pstsdk.image.Image.height

Integer describing height of the images

◆ images

pstech.pstsdk.image.Image.images

List containing greyscale images. An image is an array without memory alignment and consists of values of either numpy.ubyte or ctypes.c_ubyte.

◆ width

pstech.pstsdk.image.Image.width

Integer describing width of the images


The documentation for this class was generated from the following file: