Search for all occurrences of a known class in an image.
Namespace: Stemmer.Cvb.Manto
Assembly: Stemmer.Cvb.Manto (in Stemmer.Cvb.Manto.dll) Version: 14.0.0.0
Syntax
public SearchResult[] SearchAll( Image image, Rect aoi, bool useVote, double minConfidence, int locality )
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] - locality
- Type: SystemInt32
separation of the search results in pixels (no two results should be closer to each other than the distance specified here)
Return Value
Type: SearchResultlist of found results; might be empty if nothing was found, null if the search call failed
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | If this classifier or the image has already been disposed |
ArgumentOutOfRangeException | If the minConfidence parameter exceeds the range [0..1] |
See Also