unreal.DetectedFace

class unreal.DetectedFace(confidence: float = 0.0, points: None = [], bounding_box: Box2D = Ellipsis, features: None = [], feature_regions: None = [])

Bases: DetectedFeatureRegion

Area of the image that the computer vision task detected as being 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 face

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

  • feature_regions (Array[DetectedFaceFeatureRegion]): [Read-Write] The set of region features that were detected

  • features (Array[DetectedFaceFeature2D]): [Read-Write] The set of 2D features that were detected

  • points (Array[Vector2D]): [Read-Write] The set of points that encompass the detected feature area

property bounding_box: Box2D

[Read-Only] The bounding box of the detected face

Type:

(Box2D)

property feature_regions: None

[Read-Only] The set of region features that were detected

Type:

(Array[DetectedFaceFeatureRegion])

property features: None

[Read-Only] The set of 2D features that were detected

Type:

(Array[DetectedFaceFeature2D])