Setting Up the Color Identification Tool

Once the tool has been added, you will need to select the type of region and then configure it in the image: 

  1. From the Model drop-down menu, select the type of regionRectangle (default), Circle, Annulus or Polygon. Position and configure the region within the image where you expect the color(s) to appear; make sure that the boundaries of the region cover the color(s) and their possible locations. To help the performance of the tool, create smaller regions; larger regions require longer to inspect. If you’re not using a fixture, ensure that the color(s) are present in roughly the same location in every image, or the region is large enough to account for the expected movement of the color(s).

    Note: After adding the tool, you can change the type of region by right-clicking the region in the image and selecting the desired shape from the Change Region to option.
  2. Press the OK button to confirm the region (press the Cancel button to not add the tool to the job).
  3. Once the search region has been configured, you will need to configure the tool's Color Library and activate the appropriate Color(s):
    • If this is the first time that a Color Identification Tool has been added, you will need to first define the Color Library(s) and its Color(s).
    • If another Color Identification Tool has previously been added and you want to utilize an existing Color Library and its trained Color(s), go to the Settings tab and select your desired Color Library, and then activate your desired Color by checking them in the Library tab.
    • By default, the tool will automatically result in a Fail until a Color Library has been defined. If a Color Library has been defined, the tool will automatically use that library and activate all Color(s) contained within.
  4. With the tool initially configured, load several images and adjust the tool's parameters, as needed, to compensate for your expected ranges of variations.
  5. Finally, if desired, use the tool's Input/Output properties to share tool data between other tools and/or other external devices.