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] 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
bounding_box

(Box2D) – [Read-Only] The bounding box of the detected face

feature_regions

(Array(DetectedFaceFeatureRegion)) – [Read-Only] The set of region features that were detected

features

(Array(DetectedFaceFeature2D)) – [Read-Only] The set of 2D features that were detected