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: SearchResultsearch result (SearchResult.Empty if nothing was found)
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | If this classifier or the image has already been disposed |
ArgumentOutOfRangeException | If the minConfidence parameter exceeds the range [0..1] |
ArgumentException | If the image is incompatible with the classifier or the aoi cannot hold one of the classifier's classes. |
See Also