# How to Use the ViDiCheck Tool

This topic will utilize a sample application to illustrate how to use the ViDiCheck function. The example will incorporate a trained FindPatMaxRedLine, which will be used to generate fixture data for the ViDiDetect function.

The example is constructed around a sample application that is verifying the presence of assorted chocolates, and classifying the type of chocolate. This is a very difficult application for traditional rules-based machine vision, since no two chocolates are exactly the same. In addition, the chocolates are never inserted into the box in the exact same position.

ViDiCheck is able to discern the subtle differences, and correctly identify the type of chocolates in the boxes.