CascadeClassifier class

Inheritance
Available extensions

Constructors

CascadeClassifier.empty()
factory
CascadeClassifier.fromFile(String filename)
factory
CascadeClassifier.fromPointer(CascadeClassifierPtr ptr, [bool attach = true])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
props List<Object?>
no setterinherited
ptr Pointer<CascadeClassifier>
getter/setter pairinherited
ref → CascadeClassifier
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

detectMultiScale(InputArray image, {double scaleFactor = 1.1, int minNeighbors = 3, int flags = 0, (int, int) minSize = (0, 0), (int, int) maxSize = (0, 0)}) VecRect
DetectMultiScale detects objects of different sizes in the input Mat image. The detected objects are returned as a slice of image.Rectangle structs.
detectMultiScale2(InputArray image, {double scaleFactor = 1.1, int minNeighbors = 3, int flags = 0, (int, int) minSize = (0, 0), (int, int) maxSize = (0, 0)}) → (VecRect, VecI32)
detectMultiScale3(InputArray image, {double scaleFactor = 1.1, int minNeighbors = 3, int flags = 0, (int, int) minSize = (0, 0), (int, int) maxSize = (0, 0), bool outputRejectLevels = false}) → (VecRect, VecI32, VecF64)
dispose() → void
empty() bool
Checks whether the classifier has been loaded.
getFeatureType() int
https://docs.opencv.org/4.x/d1/de5/classcv_1_1CascadeClassifier.html#a0bab6de516c685ba879a4b1f1debdef1
getOriginalWindowSize() → (int, int)
https://docs.opencv.org/4.x/d1/de5/classcv_1_1CascadeClassifier.html#a7a131d319ab42a444ff2bcbb433b7b41
isOldFormatCascade() bool
https://docs.opencv.org/4.x/d1/de5/classcv_1_1CascadeClassifier.html#a556bdd8738ba96aac07628ec38ff46da
load(String name) bool
Load cascade classifier from a file.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

finalizer NativeFinalizer
final