SampleListFromFile Method

CVB.Net Documentation
Load a Manto2 sample list from disc.

Namespace:  Stemmer.Cvb.SampleDatabase
Assembly:  Stemmer.Cvb.SampleDatabase (in Stemmer.Cvb.SampleDatabase.dll) Version: 14.0.0.0
Syntax

public static SampleList FromFile(
	string fileName
)

Parameters

fileName
Type: SystemString
File to load the sample list from.

Return Value

Type: SampleList
The loaded sample list object. Depending on the content of the file referred to by fileName the resulting SampleList can be cast to SampleRegressionImageList or SampleClassificationImageList after loading.
Exceptions

ExceptionCondition
FileNotFoundExceptionif the file referred to by fileName does not exist.
FileLoadExceptionif loading the file referred to by fileName failed - probably due to incompatible file content.
See Also

Reference