unreal.DetectedFaceFeature2D

class unreal.DetectedFaceFeature2D(confidence=0.0, bounding_box=[[0.0, 0.0], [0.0, 0.0]], feature_type=DetectedFaceFeatureType.UNKOWN)

Bases: unreal.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
feature_type

(DetectedFaceFeatureType) – [Read-Only] The type of region that was detected