VNFaceObservation.FromBoundingBox Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
FromBoundingBox(CGRect) |
Méthode de fabrique statique qui crée un VNFaceObservation avec le cadre englobant spécifié. |
FromBoundingBox(VNFaceObservationRequestRevision, CGRect) | |
FromBoundingBox(VNFaceObservationRequestRevision, CGRect, Nullable<nfloat>, Nullable<nfloat>) |
FromBoundingBox(CGRect)
Méthode de fabrique statique qui crée un VNFaceObservation avec le cadre englobant spécifié.
[Foundation.Export("observationWithBoundingBox:")]
public static Vision.VNFaceObservation FromBoundingBox (CoreGraphics.CGRect boundingBox);
static member FromBoundingBox : CoreGraphics.CGRect -> Vision.VNFaceObservation
Paramètres
- boundingBox
- CGRect
Retours
- Attributs
S’applique à
FromBoundingBox(VNFaceObservationRequestRevision, CGRect)
[Foundation.Export("observationWithRequestRevision:boundingBox:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static Vision.VNFaceObservation FromBoundingBox (Vision.VNFaceObservationRequestRevision requestRevision, CoreGraphics.CGRect boundingBox);
static member FromBoundingBox : Vision.VNFaceObservationRequestRevision * CoreGraphics.CGRect -> Vision.VNFaceObservation
Paramètres
- requestRevision
- VNFaceObservationRequestRevision
- boundingBox
- CGRect
Retours
- Attributs
S’applique à
FromBoundingBox(VNFaceObservationRequestRevision, CGRect, Nullable<nfloat>, Nullable<nfloat>)
[Foundation.Export("faceObservationWithRequestRevision:boundingBox:roll:yaw:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static Vision.VNFaceObservation FromBoundingBox (Vision.VNFaceObservationRequestRevision requestRevision, CoreGraphics.CGRect boundingBox, Nullable<nfloat> roll, Nullable<nfloat> yaw);
static member FromBoundingBox : Vision.VNFaceObservationRequestRevision * CoreGraphics.CGRect * Nullable<nfloat> * Nullable<nfloat> -> Vision.VNFaceObservation
Paramètres
- requestRevision
- VNFaceObservationRequestRevision
- boundingBox
- CGRect
Retours
- Attributs