WBDetector class
WaldBoost detector.
Constructors
- WBDetector.create()
-
Create instance of WBDetector.
factory
-
WBDetector.fromPointer(Pointer<
PtrWBDetector> ptr, [bool attach = true])
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDisposed → bool
-
Whether this object has been disposed.
no setterinherited
-
props
→ List<
Object?> -
no setterinherited
-
ptr
↔ Pointer<
PtrWBDetector> -
getter/setter pairinherited
- ref → PtrWBDetector
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
detect(
Mat img) → (VecRect, VecF64) - Detect objects on image using WaldBoost detector.
-
dispose(
) → void -
Releases the underlying native resources. Idempotent: calling it more
than once is safe, but the object must not be used after dispose.
inherited
-
freeNative(
) → void -
Frees the native resources owned by this object. Subclasses implement the
concrete free logic here; callers must use dispose instead.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
String filename) → void - Read detector
-
toString(
) → String -
A string representation of this object.
inherited
-
train(
String posSamples, String negImgs) → void - Train WaldBoost detector.
-
write(
String filename) → void - Write detector
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- finalizer → NativeFinalizer
-
final