ImageList

属性:

方法:

class Leap.ImageList

ImageList 类继承自 Python 数组用来表示一系列 Image 对象。用于分析当前帧的图像都包含在了列表当中。一个设备中有两副图像。左边相机的图像 id 为0,而右边的为 1。

通过调用 Frame.images()来获取一个 ImageList 对象。

New in version 2.1.0.


构造函数

classmethod ImageList() 构造一个图像的空列表。

New in version 2.1.0.


属性

is_empty

类型:boolean

返回一个列表是否为空。

New in version 2.1.0.


方法

append(other)

添加一个指定的 ImageList 成员到 ImageList 中。

参数:other(ImageList) - 一个 ImageList 对象包含 Image 对象会添加到 ImageList 的末尾。

New in version 1.0.