你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AIVisionFaceModelFactory.FaceIdentificationResult 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.
Initializes a new instance of FaceIdentificationResult.
public static Azure.AI.Vision.Face.FaceIdentificationResult FaceIdentificationResult(Guid faceId = default, System.Collections.Generic.IEnumerable<Azure.AI.Vision.Face.FaceIdentificationCandidate> candidates = default);
static member FaceIdentificationResult : Guid * seq<Azure.AI.Vision.Face.FaceIdentificationCandidate> -> Azure.AI.Vision.Face.FaceIdentificationResult
Public Shared Function FaceIdentificationResult (Optional faceId As Guid = Nothing, Optional candidates As IEnumerable(Of FaceIdentificationCandidate) = Nothing) As FaceIdentificationResult
Parameters
- faceId
- Guid
faceId of the query face.
- candidates
- IEnumerable<FaceIdentificationCandidate>
Identified person candidates for that face (ranked by confidence). Array size should be no larger than input maxNumOfCandidatesReturned. If no person is identified, will return an empty array.
Returns
A new FaceIdentificationResult instance for mocking.