ClassifierFactoryLearn Method (ImagePlane, Point2D, Rect)

CVB.Net Documentation
Create a ShapeFinder2 classifier from the input image plane. If the input plane has overlay information, then this overlay information will be extracted and used as don't care points.

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

public Classifier Learn(
	ImagePlane plane,
	Point2D position,
	Rect teachWindow
)

Parameters

plane
Type: Stemmer.CvbImagePlane
image plane to create the classifier from
position
Type: Stemmer.CvbPoint2D
position in the input image at which to extract the classifier
teachWindow
Type: Stemmer.CvbRect
teach window for the classifier learning process relative to position

Return Value

Type: Classifier
the newly created classifier
Exceptions

ExceptionCondition
ArgumentNullExceptionIf the Parent of the plane parameter is null
ObjectDisposedExceptionIf the Parent of plane has already been disposed
CvbExceptionwhen trying to learn a classifier from an image plane that does not have the data type 8 bits per pixel unsigned, or if an unspecific error occurs
See Also

Reference