Signature#

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.

The Signature constructor creates a Signature object.

This constructor uses nine parameters:

Parameter

Description

index

The Signature object’s index, from 1 - 7. Note: Creating two Signature objects with the same index number will cause the second created object to override the first.

uMin

The value from uMin in the Vision Utility.

uMax

The value from uMax in the Vision Utility.

uMean

The value from uMean in the Vision Utility.

vMin

The value from vMin in the Vision Utility.

vMax

The value from vMax in the Vision Utility.

vMean

The value from vMean in the Vision Utility.

rgb

The value from rgb in the Vision Utility.

type

The value from type in the Vision Utility.

In order to create a Signature, go to the Vision Utility and configure a Signature. Once a Signature is configured, copy the parameter values from the Configuration window.

# Create a new Signature "dark_blue" with the Colordesc class.
dark_blue = Signature(1, -3911, -3435, -3673,10879, 11421, 11150,2.5, 0)