# Inspect Textiles — Steps

Note: For more information on the specific steps of setting up the tool, see the Using the Red Analyze Tool topic.

1. Add the images for the Textiles tutorial.
2. Segment the images by clicking the Scissors icon.

3. Label the images as Good or Bad depending on whether or not they show an anomaly.

   Note: You can simplify the process by using the Label Views option in the View Browser.
4. Click the Train icon.
5. After training, review the results.
6. Expand the Database Overview, and in the interactive Scores graph, lower the green Threshold slider, and you can see that the system tends to respond to the good images that are close to the border.
7. Right click on an image and from the menu, select Edit Mask and using the Edit Mask toolbar, use the Add Border option to add a mask to the border of the image.
8. In the Edit Mask toolbar, press the Apply button and apply the border mask to all the images in the database.
9. Reprocess the images and review the results.
10. There may still be a response in the strongly skewed region of the second bad image.
11. Go to the and change the Shear and Aspect-Ratio to 5% and retrain.
12. After training, these responses should be reduced.