ObjectHierarchy Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. computervision. models. ObjectHierarchy
- com.
public class ObjectHierarchy
An object detected inside an image.
Method Summary
Modifier and Type | Method and Description |
---|---|
double |
confidence()
Get the confidence value. |
String |
objectProperty()
Get the objectProperty value. |
Object |
parent()
Get the parent value. |
Object |
withConfidence(double confidence)
Set the confidence value. |
Object |
withObjectProperty(String objectProperty)
Set the objectProperty value. |
Object |
withParent(ObjectHierarchy parent)
Set the parent value. |
Method Details
confidence
public double confidence()
Get the confidence value.
Returns:
objectProperty
public String objectProperty()
Get the objectProperty value.
Returns:
parent
public ObjectHierarchy parent()
Get the parent value.
Returns:
withConfidence
public ObjectHierarchy withConfidence(double confidence)
Set the confidence value.
Parameters:
Returns:
withObjectProperty
public ObjectHierarchy withObjectProperty(String objectProperty)
Set the objectProperty value.
Parameters:
Returns:
withParent
public ObjectHierarchy withParent(ObjectHierarchy parent)
Set the parent value.
Parameters:
Returns:
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應