FaceOperationsExtensions.DetectWithUrlAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.Face.Models.DetectedFace>> DetectWithUrlAsync (this Microsoft.Azure.CognitiveServices.Vision.Face.IFaceOperations operations, string url, bool? returnFaceId = default, bool? returnFaceLandmarks = False, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.Face.Models.FaceAttributeType> returnFaceAttributes = default, string recognitionModel = default, bool? returnRecognitionModel = False, string detectionModel = default, int? faceIdTimeToLive = 86400, System.Threading.CancellationToken cancellationToken = default);
static member DetectWithUrlAsync : Microsoft.Azure.CognitiveServices.Vision.Face.IFaceOperations * string * Nullable<bool> * Nullable<bool> * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.Face.Models.FaceAttributeType> * string * Nullable<bool> * string * Nullable<int> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.Vision.Face.Models.DetectedFace>>
<Extension()>
Public Function DetectWithUrlAsync (operations As IFaceOperations, url As String, Optional returnFaceId As Nullable(Of Boolean) = Nothing, Optional returnFaceLandmarks As Nullable(Of Boolean) = False, Optional returnFaceAttributes As IList(Of FaceAttributeType) = Nothing, Optional recognitionModel As String = Nothing, Optional returnRecognitionModel As Nullable(Of Boolean) = False, Optional detectionModel As String = Nothing, Optional faceIdTimeToLive As Nullable(Of Integer) = 86400, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IList(Of DetectedFace))
Parameters
- operations
- IFaceOperations
- url
- String
- returnFaceAttributes
- IList<FaceAttributeType>
- recognitionModel
- String
- detectionModel
- String
- cancellationToken
- CancellationToken
Returns
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應