你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

AIVisionImageAnalysisModelFactory.DetectedTag(Single, String) Method

Definition

Initializes a new instance of DetectedTag.

public static Azure.AI.Vision.ImageAnalysis.DetectedTag DetectedTag(float confidence = 0, string name = default);
static member DetectedTag : single * string -> Azure.AI.Vision.ImageAnalysis.DetectedTag
Public Shared Function DetectedTag (Optional confidence As Single = 0, Optional name As String = Nothing) As DetectedTag

Parameters

confidence
Single

A score, in the range of 0 to 1 (inclusive), representing the confidence that this entity was observed. Higher values indicating higher confidence.

name
String

Name of the entity.

Returns

A new DetectedTag instance for mocking.

Exceptions

name is null.

Applies to