unreal.DetectedFaceFeature2D

class unreal.DetectedFaceFeature2D(confidence: float = 0.0, bounding_box: Box2D = Ellipsis, feature_type: DetectedFaceFeatureType = Ellipsis)

Bases: DetectedFeature2D

Area of the image that the computer vision task detected as being part of a face

C++ Source:

  • Plugin: AppleVision

  • Module: AppleVision

  • File: AppleVisionTypes.h

Editor Properties: (see get_editor_property/set_editor_property)

  • bounding_box (Box2D): [Read-Write] The bounding box of the detected feature in the image

  • confidence (float): [Read-Write] How confident the ML was in determining this feature and its type

  • feature_type (DetectedFaceFeatureType): [Read-Write] The type of region that was detected

property feature_type: DetectedFaceFeatureType

[Read-Only] The type of region that was detected

Type:

(DetectedFaceFeatureType)