DetectionWithSegmentationResult class

Result combining face detection and segmentation from parallel processing.

Constructors

DetectionWithSegmentationResult({required List<Face> faces, SegmentationMask? segmentationMask, required int detectionTimeMs, required int segmentationTimeMs})
Creates a result combining detection and segmentation.
const
DetectionWithSegmentationResult.fromMap(Map<String, dynamic> map)
Creates a result from a serialized map.
factory

Properties

detectionTimeMs int
Detection time in milliseconds.
final
faces List<Face>
Detected faces.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segmentationMask SegmentationMask?
Segmentation mask (null if segmentation was disabled or failed).
final
segmentationTimeMs int
Segmentation time in milliseconds.
final
totalTimeMs int
Wall-clock time (the larger of the two when run in parallel).
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Serializes this result to a map.
toString() String
A string representation of this object.
override

Operators

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