MpRegionOfInterest class final

The Region-Of-Interest (ROI) to interact with.

Inheritance
Implemented types
Available extensions

Constructors

MpRegionOfInterest()

Properties

address → Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
format ↔ MpRegionOfInterestFormat
getter/setter pair
formatAsInt ↔ int
Specifies the format used to specify the region-of-interest. Note that using MP_REGION_OF_INTEREST_FORMAT_UNSPECIFIED is invalid.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
keypoint ↔ Pointer<MpNormalizedKeypoint>
Represents the ROI in keypoint format, this should have a valid keypoint with coordinates x and y if format is MP_REGION_OF_INTEREST_FORMAT_KEYPOINT; nullptr if not present
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scribble ↔ Pointer<MpNormalizedKeypoint>
Represents the ROI in scribble format, this should be not a nullptr if format is MP_REGION_OF_INTEREST_FORMAT_SCRIBBLE; nullptr if not present
getter/setter pair
scribble_count ↔ int
Number of keypoints in scribble; 0 if not present
getter/setter pair

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 MpRegionOfInterestFormat format, required Pointer<MpNormalizedKeypoint> keypoint, required Pointer<MpNormalizedKeypoint> scribble, required int scribble_count}) → Pointer<MpRegionOfInterest>