MpImageSegmenterResult class final

Inheritance
Implemented types
Available extensions

Constructors

MpImageSegmenterResult()

Properties

address → Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
category_mask ↔ MpImagePtr
A category mask of uint8 image in GRAY8 format where each pixel represents the class which the pixel in the original image was predicted to belong to.
getter/setter pair
confidence_masks ↔ Pointer<MpImagePtr>
Multiple masks of float image in VEC32F1 format where, for each mask, each pixel represents the prediction confidence, usually in the 0, 1 range.
getter/setter pair
confidence_masks_count ↔ int
Number of elements in the array
getter/setter pair
has_category_mask ↔ int
Flag to indicate presence of category mask (0 for no, 1 for yes).
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
quality_scores ↔ Pointer<Float>
The quality scores of the result masks, in the range of 0, 1. Defaults to 1 if the model doesn't output quality scores. Each element corresponds to the score of the category in the model outputs.
getter/setter pair
quality_scores_count ↔ int
Number of elements in the array quality_scores.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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 Methods

$allocate(Allocator $allocator, {required Pointer<MpImagePtr> confidence_masks, required int confidence_masks_count, required MpImagePtr category_mask, required int has_category_mask, required Pointer<Float> quality_scores, required int quality_scores_count}) → Pointer<MpImageSegmenterResult>