DartNcnnYolov8Bindings class

Bindings for src/dart_ncnn_yolov8.h.

Regenerate bindings with flutter pub run ffigen --config ffigen.yaml.

Constructors

DartNcnnYolov8Bindings.new(DynamicLibrary dynamicLibrary)
The symbols are looked up in dynamicLibrary.
DartNcnnYolov8Bindings.fromLookup(Pointer<T> lookup<T extends NativeType>(String symbolName))
The symbols are looked up with lookup.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

detectWithImagePath(Pointer<Char> image_path, double prob_threshold, double nms_threshold, int target_size) Pointer<Char>
detectWithPixels(Pointer<UnsignedChar> pixels, int pixelType, int width, int height, double prob_threshold, double nms_threshold, int target_size) Pointer<Char>
kannaRotate(Pointer<UnsignedChar> src, int channel, int srcw, int srch, Pointer<UnsignedChar> dst, int dsw, int dsh, int type) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rgb2rgba(Pointer<UnsignedChar> rgb, int width, int height, Pointer<UnsignedChar> rgba) → void
toString() String
A string representation of this object.
inherited
yoloLoad(Pointer<Char> model_path, Pointer<Char> param_path, int target_size, int num_class, int use_gpu) → void
YOLO
yoloUnload() → void
yuv420sp2rgb(Pointer<UnsignedChar> yuv420sp, int width, int height, Pointer<UnsignedChar> rgb) → void

Operators

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