TrainingSetImageInstanceInfoCollectionTryAdd Method

CVB.Net Documentation
Extract a new instance from the parent image and added it to the model with the specified name.

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

public TrainingSetInstanceInfo TryAdd(
	string name,
	bool askForce,
	ref Point2Dd location
)

Parameters

name
Type: SystemString
name of the model to which to add the instance
askForce
Type: SystemBoolean
flag controlling the response to a failed correlation test; if AskForce is true, a messagebox appears asking if the user wants to force creation of a model, even though the sample has failed the correlation test
location
Type: Stemmer.CvbPoint2Dd
location from which to extract the new instance; upon return from this function, location will contain the corrected location as corrected by the correlation test

Return Value

Type: TrainingSetInstanceInfo
Newly trained instance or null.
See Also

Reference