Partager via


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