签名#
The Signature
class holds the Vision Sensor Signatures. Signature
objects are used to make Code Class objects and used directly with the Vision
class. Up to seven Signatures can be stored at once.
使用以下构造函数创建签名:
Signature(index, uMin, uMax, uMean, vMin, vMax, vMean, rgb, type)
此构造函数使用九个参数:
范围 |
描述 |
---|---|
|
The |
|
The value from |
|
The value from |
|
The value from |
|
The value from |
|
The value from |
|
The value from |
|
The value from |
|
The value from |
要创建签名,请转到 Vision Utility 并 配置签名。配置签名后,从配置窗口复制参数值。
# Create a new Signature "dark_blue" with the Colordesc class.
dark_blue = Signature(1, -3911, -3435, -3673,10879, 11421, 11150,2.5, 0)