ClassifierSearch Method (Image, Rect, Boolean, Double, Image)

CVB.Net Documentation
Search for the result with the highest confidence.

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

public SearchResult Search(
	Image image,
	Rect aoi,
	bool useVote,
	double minConfidence,
	out Image accumulator
)

Parameters

image
Type: Stemmer.CvbImage
image in which to search
aoi
Type: Stemmer.CvbRect
region of the image in which to search
useVote
Type: SystemBoolean
switch voting on or off (voting is a parameter that can allow for more precise class assignment when set to true, but setting voting to true will significantly increase the processing time)
minConfidence
Type: SystemDouble
minimum confidence for the results to be reported; must not exceed the range [0...1]
accumulator
Type: Stemmer.CvbImage
returns the accumulator built during the search operation; the accumulator may be useful for further result investigation

Return Value

Type: SearchResult
search result (SearchResult.Empty if nothing was found)
Exceptions

ExceptionCondition
ObjectDisposedExceptionIf this classifier or the image has already been disposed
ArgumentOutOfRangeExceptionIf the minConfidence parameter exceeds the range [0..1]
ArgumentExceptionIf the image is incompatible with the classifier or the aoi cannot hold one of the classifier's classes.
See Also

Reference