你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ImageRegion 类
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. customvision. training. models. ImageRegion
- com.
public class ImageRegion
ImageRegion 模型。
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
DateTime |
created()
获取创建的值。 |
double |
height()
获取高度值。 |
double |
left()
获取左侧值。 |
UUID |
regionId()
获取 regionId 值。 |
UUID |
tagId()
获取 tagId 值。 |
String |
tagName()
获取 tagName 值。 |
double |
top()
获取顶部值。 |
double |
width()
获取宽度值。 |
Image |
withHeight(double height)
设置高度值。 |
Image |
withLeft(double left)
设置左侧值。 |
Image |
withTagId(UUID tagId)
设置 tagId 值。 |
Image |
withTop(double top)
设置顶部值。 |
Image |
withWidth(double width)
设置宽度值。 |
方法详细信息
created
public DateTime created()
获取创建的值。
Returns:
height
public double height()
获取高度值。
Returns:
left
public double left()
获取左侧值。
Returns:
regionId
public UUID regionId()
获取 regionId 值。
Returns:
tagId
public UUID tagId()
获取 tagId 值。
Returns:
tagName
public String tagName()
获取 tagName 值。
Returns:
top
public double top()
获取顶部值。
Returns:
width
public double width()
获取宽度值。
Returns:
withHeight
public ImageRegion withHeight(double height)
设置高度值。
Parameters:
Returns:
withLeft
public ImageRegion withLeft(double left)
设置左侧值。
Parameters:
Returns:
withTagId
public ImageRegion withTagId(UUID tagId)
设置 tagId 值。
Parameters:
Returns:
withTop
public ImageRegion withTop(double top)
设置顶部值。
Parameters:
Returns:
withWidth
public ImageRegion withWidth(double width)
设置宽度值。
Parameters:
Returns:
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈