# Inspect Screws — Steps

Note: For more information on the specific steps of setting up the tools, see the Using the Blue Locate Tool and Using the Red Analyze Tool topics.

1. Add the images for the Screw tutorial.
2. Add a Blue Locate tool.
3. Adjust the ROI to segment an image, and then press the Scissors icon to process the images based on the new ROI.
4. Set the Feature Size parameter to 80.
5. Define at least two features (for example, the end and the tip of the screw) on at least three images.
6. Press the Brain icon to train the system. Then review the results and manually label the images where the features were not found correctly.
7. If you had to manually label new images, retrain the system and review the results.
8. Right click on an image which has the two features and create a model named "screw".
9. Reprocess the image and make sure the model is correctly found.
10. Add a Red Analyze tool, and leave it in Unsupervised Mode.
11. Segment the images for the Red Analyze tool by choosing the "screw" model.
12. Change the size of the ROI to 700 x 250.
13. Disable the Centered checkbox and use the mouse to move the ROI over the screw.
14. Press Apply to segment all the images, and then verify that the images in the database are correctly segmented.
15. Label all the images as good where the defect is not visible, and bad for the images where the defect is visible.
16. Train the tool and verify the results.
17. If the results are not satisfactory, increase the number of iterative trainings by increasing the Training Passes parameter and retrain.