unreal.DetectedFace

class unreal.DetectedFace(confidence=0.0, points=[], bounding_box=[[0.0, 0.0], [0.0, 0.0]], features=[], feature_regions=[])

Bases: unreal.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] Bounding Box: The bounding box of the detected face

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

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

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

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

property bounding_box

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

Type

(Box2D)

property feature_regions

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

Type

(Array(DetectedFaceFeatureRegion))

property features

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

Type

(Array(DetectedFaceFeature2D))