Classification Example for Microsoft Visual Basic

NI Classification Training Interface

Classification Example for Microsoft Visual Basic

You can use the classification example for Microsoft Visual Basic to classify samples using the file you created with the NI Classification Training Interface Tutorial.

Complete the following steps to use the classification example for Microsoft Visual Basic:

  1. Open the example.
    • For Microsoft Visual Basic 6.0, navigate to <Vision>\Examples\MSVB\2.Functions\Classification, where <Vision> is the location to which you installed the NI Vision Development Module, and open the Classification.vbp file.
    • For Microsoft Visual Basic .NET, navigate to <Vision>\Examples\MSVB.NET\2.Functions\Classification, where <Vision> is the location to which you installed the NI Vision Development Module, and open the Classification.vbproj file.
  2. Run the example.
  3. Click the Browse button and open the Tutorial.clf file you created upon completing the NI Classification Training Interface Tutorial.
  4. Click Load File, select one of the image files, and click Open.
  5. Draw an ROI around the sample to classify, then click Classify.
  6. Click Return to exit the example.