# Create the Layout Model for the ViDiCheck Tool

With the ViDiCheck tool now comprised of a trained neural network model, it is time to construct a Layout Model to be used to ensure that the correct features are present.

Note: For more information about the Layout Model, refer to the Blue Locate Tool – Layout Models topics.

1. From the Tool menu, select Edit Models.

2. This will launch the Model Editor, which displays the Layout Model option by default.

3. For this example, we will begin by renaming the default model name, since the name will be displayed in the spreadsheet and the Web HMI. Press the pencil icon to rename the model.

4. Press the Add button to generate a layout region. In this example, we will use a single region because the images will contain a variety of chocolates.

5. After adding the region, we will rename it, since it will also be visible in the spreadsheet and potentially the Web HMI.

6. Since we will only be using a single region, drag the handle of the region so that the region covers the entire View.

7. Configure the Feature Matching options by enabling each of the feature types (1) and set the Feature Count (2) option to 4, because it is a sum of the instances of the expected feature types.

8. With the layout model now configured, close the dialog.

9. Back in the ViDi Editor, the model has been applied to the View in which the Model Editor dialog was launched. Within the Image Display Area, (1) indicates the updated label graphic to indicate that the feature is included in a model, and (2) the label and marking for the model itself. In the Tool Control, press the Process icon (3) to apply the model to all of the views.

10. With the layout model now applied to all of the views, open the Database Overview panel and review the results to ensure that the model is functioning properly.