# Using the Green Classify Tool

When using the Green Classify Tool, follow these steps:

1. If a pose from a Blue Locate tool or a VisionPro® Tool Block is being used to transform the orientation of the View being used as an input to the Red Analyze tool, go to the Database Editor and process the images (press the Scissors icon) before opening the Red Analyze tool.

2. If necessary, adjust the Region of Interest (ROI). Within the Display Area, right-click and select Edit ROI from the menu.

   1. After adjusting the ROI, press the Apply button and the adjusted ROI will be applied to all of the images.
   2. Press the Close button on the toolbar to continue.
3. If there is extraneous information in the image, add appropriate masks to exclude those areas of the image. Within the Display Area, right-click and select Edit Mask from the menu.

   1. From the Mask toolbar, select and edit the appropriate masks.

   2. After adding the necessary mask(s), press the Apply button and the mask(s) will be applied to all of the images when you click Yes to the Apply Mask dialog.

   3. Press the Close button on the toolbar to continue.

4. Go through all of the images and label the images with classification tags.

   Tip: It is recommended to annotate your image files with descriptive names or numbering schemes to help when labeling the images.

5. You can use the Label Views option in the View Browser.

6. When labeling, you can either apply a tag or use regular expressions to apply the classification tag label.

7. Make sure that all of the images have been labeled with a classification tag.
8. Train the tool by pressing the Brain icon.
9. After training, review the results.
   1. Go through all of the images and determine whether or not the tool correctly marked the images with the appropriate tag.
      1. If the tool has correctly marked the images with the appropriate tag, right-click the image and select Accept View.
      2. If the tool has incorrectly marked the images with incorrect tags:
         1. Right-click the image and select Accept View.
         2. Right-click the image again and select Clear Markings and Labels.

         3. Manually tag the image.

   2. If you encountered the scenario in (a.), you are ready to use the tool. If you encountered the scenario in (b.), you will need to retrain the tool and repeat steps 8 and 9.